X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FChargingStationTemplate.ts;h=c97079d536802242aeda8835c68e0f7c07ab5148;hb=c045d9a97ebdf3747b82746b733b0c60a7db3f32;hp=255fb8d0563fe83be9f1366af79745b73d4e01d2;hpb=9ac86a7ea04eb1155c2a720b36f6bf33ba336767;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ChargingStationTemplate.ts b/src/types/ChargingStationTemplate.ts index 255fb8d0..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; @@ -40,6 +48,10 @@ export default interface ChargingStationTemplate { useConnectorId0?: boolean; randomConnectors?: boolean; resetTime?: number; + connectionTimeout?: number; + autoReconnectMaxRetries?: number; + reconnectExponentialDelay?: boolean; + registrationMaxRetries?: number; enableStatistics?: boolean; voltageOut?: number; Configuration?: ChargingStationConfiguration;