X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FConnectors.ts;h=d2c262409a3b9d4260daa209ad83084edd7c209f;hb=331e20bbca5a7f404551666c4a3609ae92fc5e86;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..d2c26240 100644 --- a/src/types/Connectors.ts +++ b/src/types/Connectors.ts @@ -8,21 +8,19 @@ export interface SampledValueTemplate extends SampledValue { fluctuationPercent?: number; } -export interface Connector { +export interface ConnectorStatus { availability: AvailabilityType; 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; -}