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 isEmptyString() semantic
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ChargingStationWorkerBroadcastChannel.ts
diff --git
a/src/charging-station/ChargingStationWorkerBroadcastChannel.ts
b/src/charging-station/ChargingStationWorkerBroadcastChannel.ts
index 0fa3a155469697aa2e1515da39b2287906505949..ef232641b18e3cc1025698d6b70afd377270b834 100644
(file)
--- a/
src/charging-station/ChargingStationWorkerBroadcastChannel.ts
+++ b/
src/charging-station/ChargingStationWorkerBroadcastChannel.ts
@@
-13,7
+13,7
@@
import {
type HeartbeatRequest,
type MeterValuesRequest,
RequestCommand,
type HeartbeatRequest,
type MeterValuesRequest,
RequestCommand,
- RequestParams,
+
type
RequestParams,
type StatusNotificationRequest,
} from '../types/ocpp/Requests';
import {
type StatusNotificationRequest,
} from '../types/ocpp/Requests';
import {
@@
-92,12
+92,12
@@
export default class ChargingStationWorkerBroadcastChannel extends WorkerBroadca
[
BroadcastChannelProcedureName.START_AUTOMATIC_TRANSACTION_GENERATOR,
(requestPayload?: BroadcastChannelRequestPayload) =>
[
BroadcastChannelProcedureName.START_AUTOMATIC_TRANSACTION_GENERATOR,
(requestPayload?: BroadcastChannelRequestPayload) =>
- this.chargingStation.startAutomaticTransactionGenerator(requestPayload.connectorIds),
+ this.chargingStation.startAutomaticTransactionGenerator(requestPayload
?
.connectorIds),
],
[
BroadcastChannelProcedureName.STOP_AUTOMATIC_TRANSACTION_GENERATOR,
(requestPayload?: BroadcastChannelRequestPayload) =>
],
[
BroadcastChannelProcedureName.STOP_AUTOMATIC_TRANSACTION_GENERATOR,
(requestPayload?: BroadcastChannelRequestPayload) =>
- this.chargingStation.stopAutomaticTransactionGenerator(requestPayload.connectorIds),
+ this.chargingStation.stopAutomaticTransactionGenerator(requestPayload
?
.connectorIds),
],
[
BroadcastChannelProcedureName.START_TRANSACTION,
],
[
BroadcastChannelProcedureName.START_TRANSACTION,