fix: ensure the ATG is properly restored after disconnection to CSMS
[e-mobility-charging-stations-simulator.git] / src / types / AutomaticTransactionGenerator.ts
index 670590d491307aeb97f03bcd3d1bb2019ceb1773..1592c5507fb4d8b7629dd51d1e22cba31971fd88 100644 (file)
@@ -1,7 +1,7 @@
 export enum IdTagDistribution {
   RANDOM = 'random',
   ROUND_ROBIN = 'round-robin',
-  CONNECTOR_AFFINITY = 'connector-affinity',
+  CONNECTOR_AFFINITY = 'connector-affinity'
 }
 
 export interface AutomaticTransactionGeneratorConfiguration {
@@ -12,7 +12,7 @@ export interface AutomaticTransactionGeneratorConfiguration {
   maxDelayBetweenTwoTransactions: number
   probabilityOfStart: number
   stopAfterHours: number
-  stopOnConnectionFailure: boolean
+  stopAbsoluteDuration: boolean
   requireAuthorize?: boolean
   idTagDistribution?: IdTagDistribution
 }