X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftypes%2FConnectors.ts;h=027ac645d7f22336e399b79d0793f7ef85b51ac4;hb=6b693c8e54517152b3e9cbd519569101fdae531c;hp=36ba52313d5b18dbb6d0d09b079375cd89bc1336;hpb=163547b1c0d9b1062891962feedb127fc0c1cc94;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/Connectors.ts b/src/types/Connectors.ts index 36ba5231..027ac645 100644 --- a/src/types/Connectors.ts +++ b/src/types/Connectors.ts @@ -8,13 +8,16 @@ 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; + idTagAuthorized?: boolean; + localAuthorizeIdTag?: string; + idTagLocalAuthorized?: boolean; + transactionRemoteStarted?: boolean; transactionStarted?: boolean; transactionId?: number; transactionSetInterval?: NodeJS.Timeout; @@ -24,7 +27,3 @@ export interface Connector { transactionBeginMeterValue?: MeterValue; chargingProfiles?: ChargingProfile[]; } - -export default interface Connectors { - [id: string]: Connector; -}