X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FConnectors.ts;h=027ac645d7f22336e399b79d0793f7ef85b51ac4;hb=72495c24c4e750fce20245faca4609dd4eacd7ba;hp=44bdb9175d68148be8bbc78e2434829888d90dce;hpb=9ccca265277990663dad8ad0573b7c283e221c6f;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/Connectors.ts b/src/types/Connectors.ts index 44bdb917..027ac645 100644 --- a/src/types/Connectors.ts +++ b/src/types/Connectors.ts @@ -8,21 +8,22 @@ export interface SampledValueTemplate extends SampledValue { fluctuationPercent?: number; } -export interface Connector { +export interface ConnectorStatus { availability: AvailabilityType; bootStatus?: ChargePointStatus; status?: ChargePointStatus; MeterValues: SampledValueTemplate[]; + authorizeIdTag?: string; + idTagAuthorized?: boolean; + localAuthorizeIdTag?: string; + idTagLocalAuthorized?: boolean; + transactionRemoteStarted?: boolean; transactionStarted?: boolean; transactionId?: number; transactionSetInterval?: NodeJS.Timeout; - idTag?: string; + transactionIdTag?: string; energyActiveImportRegisterValue?: number; // In Wh transactionEnergyActiveImportRegisterValue?: number; // In Wh transactionBeginMeterValue?: MeterValue; chargingProfiles?: ChargingProfile[]; } - -export default interface Connectors { - [id: string]: Connector; -}