- const nbStation = Configuration.getNumberofChargingStation();
- for (let index = 1; index <= nbStation; index++) {
- const worker = new Wrk('./src/charging-station/StationWorker.js', {
- index,
- template: JSON.parse(JSON.stringify(Configuration.getChargingStationTemplate())),
- });
- worker.start();
- }