Cleanups.
[e-mobility-charging-stations-simulator.git] / src / types / ChargingStationTemplate.ts
index 5c2081db19589ee7449c8b3fe2bc7aee8ffe4a13..c97079d536802242aeda8835c68e0f7c07ab5148 100644 (file)
@@ -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,7 +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;