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: switch to public static instead of setter in configuration
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
Bootstrap.ts
diff --git
a/src/charging-station/Bootstrap.ts
b/src/charging-station/Bootstrap.ts
index 88c79f4b3ac77b994bc8094a60e35c0b7fa1eae9..66b2d5f835146782bdb9a703b5002c9ab540146c 100644
(file)
--- a/
src/charging-station/Bootstrap.ts
+++ b/
src/charging-station/Bootstrap.ts
@@
-99,7
+99,7
@@
export class Bootstrap extends EventEmitter {
performanceStorageConfiguration.uri!,
this.logPrefix(),
));
performanceStorageConfiguration.uri!,
this.logPrefix(),
));
- Configuration.
setConfigurationChangeCallback(async () => Bootstrap.getInstance().restart()
);
+ Configuration.
configurationChangeCallback = async () => Bootstrap.getInstance().restart(
);
}
public static getInstance(): Bootstrap {
}
public static getInstance(): Bootstrap {
@@
-187,7
+187,7
@@
export class Bootstrap extends EventEmitter {
this.uiServer.buildProtocolRequest(
generateUUID(),
ProcedureName.STOP_CHARGING_STATION,
this.uiServer.buildProtocolRequest(
generateUUID(),
ProcedureName.STOP_CHARGING_STATION,
- Constants.EMPTY_FR
EEZED
_OBJECT,
+ Constants.EMPTY_FR
OZEN
_OBJECT,
),
);
await Promise.race([
),
);
await Promise.race([