repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: stop the ATG on connector if its status is unavailable
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ChargingStationWorker.ts
diff --git
a/src/charging-station/ChargingStationWorker.ts
b/src/charging-station/ChargingStationWorker.ts
index b4325dbe4c1db192035652089621ffba1eef42c3..c720b21980ae6ad2cf9165054a949c122c27061b 100644
(file)
--- a/
src/charging-station/ChargingStationWorker.ts
+++ b/
src/charging-station/ChargingStationWorker.ts
@@
-29,7
+29,7
@@
if (ChargingStationUtils.workerPoolInUse()) {
*/
function addMessageListener(): void {
parentPort?.on('message', (message: WorkerMessage<ChargingStationWorkerData>) => {
*/
function addMessageListener(): void {
parentPort?.on('message', (message: WorkerMessage<ChargingStationWorkerData>) => {
- if (message.id === WorkerMessageEvents.
START_WORKER_ELEMENT
) {
+ if (message.id === WorkerMessageEvents.
startWorkerElement
) {
startChargingStation(message.data);
}
});
startChargingStation(message.data);
}
});