From: Jérôme Benoit Date: Sun, 26 Mar 2023 19:10:40 +0000 (+0200) Subject: fix: ensure charging station uid is stable between firmware update X-Git-Tag: v1.2.0-0~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2b490d73f321440ab8970263d29cd35c4d43997f;p=e-mobility-charging-stations-simulator.git fix: ensure charging station uid is stable between firmware update simulation BREAKING CHANGE: path to configuration files will be regenerated Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStationUtils.ts b/src/charging-station/ChargingStationUtils.ts index 0138d785..0c5addcc 100644 --- a/src/charging-station/ChargingStationUtils.ts +++ b/src/charging-station/ChargingStationUtils.ts @@ -66,12 +66,6 @@ export class ChargingStationUtils { ...(!Utils.isUndefined(stationTemplate.chargePointSerialNumberPrefix) && { chargePointSerialNumber: stationTemplate.chargePointSerialNumberPrefix, }), - // FIXME?: Should a firmware version change always reference a new configuration file? - ...(!Utils.isUndefined(stationTemplate.firmwareVersion) && { - firmwareVersion: stationTemplate.firmwareVersion, - }), - ...(!Utils.isUndefined(stationTemplate.iccid) && { iccid: stationTemplate.iccid }), - ...(!Utils.isUndefined(stationTemplate.imsi) && { imsi: stationTemplate.imsi }), ...(!Utils.isUndefined(stationTemplate.meterSerialNumberPrefix) && { meterSerialNumber: stationTemplate.meterSerialNumberPrefix, }),