UI Server: Add support for starting the ATG on defined connectors
[e-mobility-charging-stations-simulator.git] / src / charging-station / ChargingStationWorkerBroadcastChannel.ts
index 1d788505d541e00c00b0fadb46de0a4f889a0180..159743a049104cd3d9d210b6a799c374c7614aa7 100644 (file)
@@ -140,10 +140,10 @@ export default class ChargingStationWorkerBroadcastChannel extends WorkerBroadca
           reason: StopTransactionReason.NONE,
         });
       case BroadcastChannelProcedureName.START_AUTOMATIC_TRANSACTION_GENERATOR:
-        this.chargingStation.startAutomaticTransactionGenerator();
+        this.chargingStation.startAutomaticTransactionGenerator(requestPayload.connectorIds);
         break;
       case BroadcastChannelProcedureName.STOP_AUTOMATIC_TRANSACTION_GENERATOR:
-        this.chargingStation.stopAutomaticTransactionGenerator();
+        this.chargingStation.stopAutomaticTransactionGenerator(requestPayload.connectorIds);
         break;
       default:
         // eslint-disable-next-line @typescript-eslint/restrict-template-expressions