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
refactor: remove unneeded intermediate variable in id tags cache code
[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 02febe4ab81d3a275d0b5a216dfe7f172f622eb0..49ce0811d534be1e339c466a2b839132749235e3 100644
(file)
--- a/
src/charging-station/ChargingStationWorkerBroadcastChannel.ts
+++ b/
src/charging-station/ChargingStationWorkerBroadcastChannel.ts
@@
-39,9
+39,7
@@
import {
type StopTransactionRequest,
type StopTransactionResponse,
} from '../types';
type StopTransactionRequest,
type StopTransactionResponse,
} from '../types';
-import { Constants } from '../utils/Constants';
-import { logger } from '../utils/Logger';
-import { Utils } from '../utils/Utils';
+import { Constants, Utils, logger } from '../utils';
const moduleName = 'ChargingStationWorkerBroadcastChannel';
const moduleName = 'ChargingStationWorkerBroadcastChannel';
@@
-94,6
+92,11
@@
export class ChargingStationWorkerBroadcastChannel extends WorkerBroadcastChanne
(requestPayload?: BroadcastChannelRequestPayload) =>
this.chargingStation.stopAutomaticTransactionGenerator(requestPayload?.connectorIds),
],
(requestPayload?: BroadcastChannelRequestPayload) =>
this.chargingStation.stopAutomaticTransactionGenerator(requestPayload?.connectorIds),
],
+ [
+ BroadcastChannelProcedureName.SET_SUPERVISION_URL,
+ (requestPayload?: BroadcastChannelRequestPayload) =>
+ this.chargingStation.setSupervisionUrl(requestPayload?.url as string),
+ ],
[
BroadcastChannelProcedureName.START_TRANSACTION,
async (requestPayload?: BroadcastChannelRequestPayload) =>
[
BroadcastChannelProcedureName.START_TRANSACTION,
async (requestPayload?: BroadcastChannelRequestPayload) =>