feat: allow to override event more template tunables at addChargingStations UI
[e-mobility-charging-stations-simulator.git] / src / charging-station / ChargingStation.ts
index a57f3eaa071ecfceb7fd38b6d99ec3c9ef97d453..c9c8208a32bbe797d1be024d40ddabaa85099fee 100644 (file)
@@ -1283,6 +1283,12 @@ export class ChargingStation extends EventEmitter {
     if (options?.autoRegister != null) {
       this.stationInfo.autoRegister = options.autoRegister
     }
+    if (options?.enableStatistics != null) {
+      this.stationInfo.enableStatistics = options.enableStatistics
+    }
+    if (options?.ocppStrictCompliance != null) {
+      this.stationInfo.ocppStrictCompliance = options.ocppStrictCompliance
+    }
     if (
       this.stationInfo.firmwareStatus === FirmwareStatus.Installing &&
       isNotEmptyString(this.stationInfo.firmwareVersion) &&