X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FConnectors.ts;h=ad669c8715000d0d1253cad04111dd7ad236ca21;hb=48132636528412b0d48b22baf35414ab2e917bd1;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..ad669c87 100644 --- a/src/types/Connectors.ts +++ b/src/types/Connectors.ts @@ -13,16 +13,16 @@ export interface Connector { bootStatus?: ChargePointStatus; status?: ChargePointStatus; MeterValues: SampledValueTemplate[]; + authorizeIdTag?: string; + authorized?: 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; -} +export type Connectors = Record;