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
Track OCPP commande use at sending error message
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
ChargingStationWorker.ts
diff --git
a/src/types/ChargingStationWorker.ts
b/src/types/ChargingStationWorker.ts
index f016d8ffba7f980cf4ddb77d6222a5c236005676..8bdc9af04047ac3df6787f8accbc4e61b2909ccb 100644
(file)
--- a/
src/types/ChargingStationWorker.ts
+++ b/
src/types/ChargingStationWorker.ts
@@
-6,6
+6,8
@@
export interface ChargingStationWorkerData extends WorkerData {
}
enum InternalChargingStationWorkerMessageEvents {
}
enum InternalChargingStationWorkerMessageEvents {
+ STARTED = 'started',
+ STOPPED = 'stopped',
PERFORMANCE_STATISTICS = 'performanceStatistics'
}
PERFORMANCE_STATISTICS = 'performanceStatistics'
}
@@
-17,6
+19,6
@@
export const ChargingStationWorkerMessageEvents = {
};
};
-export interface ChargingStationWorkerMessage extends Omit<WorkerMessage, 'id'> {
+export interface ChargingStationWorkerMessage extends Omit<WorkerMessage
<ChargingStationWorkerData>
, 'id'> {
id: ChargingStationWorkerMessageEvents;
}
id: ChargingStationWorkerMessageEvents;
}