const ChargingStation = require('./ChargingStation');
if (!isMainThread) {
- const station = new ChargingStation(workerData.index, workerData.template);
+ const station = new ChargingStation(workerData.index, workerData.templateFile);
station.start();
}