X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FChargingStationTemplate.ts;h=c97079d536802242aeda8835c68e0f7c07ab5148;hb=4fa59b8a2888956b1a74b976b47ce732970d641e;hp=59eebc40c805ebfc7ba609c68c92cbae5278f599;hpb=3574dfd3808a5894699e5fe246f723ebfee93de9;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ChargingStationTemplate.ts b/src/types/ChargingStationTemplate.ts index 59eebc40..c97079d5 100644 --- a/src/types/ChargingStationTemplate.ts +++ b/src/types/ChargingStationTemplate.ts @@ -11,6 +11,12 @@ export enum PowerUnit { KILO_WATT = 'kW', } +export enum VoltageOut { + VOLTAGE_110 = 110, + VOLTAGE_230 = 230, + VOLTAGE_400 = 400 +} + export interface AutomaticTransactionGenerator { enable: boolean; minDuration: number; @@ -19,13 +25,15 @@ export interface AutomaticTransactionGenerator { maxDelayBetweenTwoTransactions: number; probabilityOfStart: number; stopAfterHours: number; - stopOnConnectionFailure: boolean + stopOnConnectionFailure: boolean; + requireAuthorize: boolean } export default interface ChargingStationTemplate { supervisionURL?: string; authorizationFile?: string; baseName: string; + nameSuffix?: string; fixedName?: string; chargePointModel: string; chargePointVendor: string; @@ -43,6 +51,7 @@ export default interface ChargingStationTemplate { connectionTimeout?: number; autoReconnectMaxRetries?: number; reconnectExponentialDelay?: boolean; + registrationMaxRetries?: number; enableStatistics?: boolean; voltageOut?: number; Configuration?: ChargingStationConfiguration;