From: Jérôme Benoit Date: Sun, 18 Oct 2020 06:43:32 +0000 (+0200) Subject: Allow to specify a serial number prefix. X-Git-Tag: v1.0.1-0~288 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6958152c0cb4058988ea37936220c0244665ebeb;p=e-mobility-charging-stations-simulator.git Allow to specify a serial number prefix. Signed-off-by: Jérôme Benoit --- diff --git a/src/assets/station-templates/evlink.station-template.json b/src/assets/station-templates/evlink.station-template.json index 936f95cb..e3fcbf34 100644 --- a/src/assets/station-templates/evlink.station-template.json +++ b/src/assets/station-templates/evlink.station-template.json @@ -3,7 +3,9 @@ "baseName": "CS-EVLINK", "chargePointModel": "EVLINKXX213", "chargePointVendor": "SCHNEIDER", - "power": 7340, + "chargePointSerialNumberPrefix": "EV.2S7P04", + "firmwareVersion": "3.3.0.10", + "power": 7360, "powerUnit": "W", "numberOfConnectors": 1, "randomConnectors": false, diff --git a/src/assets/station-templates/keba.station-template.json b/src/assets/station-templates/keba.station-template.json index d9b7bab9..7e6469c8 100644 --- a/src/assets/station-templates/keba.station-template.json +++ b/src/assets/station-templates/keba.station-template.json @@ -4,7 +4,7 @@ "chargePointModel": "KC-P30-ESS400C2-E0R", "chargePointVendor": "Keba AG", "firmwareVersion": "1.10.1", - "power": 22000, + "power": 22080, "powerUnit": "W", "numberOfConnectors": 1, "randomConnectors": false, diff --git a/src/assets/station-templates/schneider-imredd.station-template.json b/src/assets/station-templates/schneider-imredd.station-template.json index 56a6a837..7a093498 100644 --- a/src/assets/station-templates/schneider-imredd.station-template.json +++ b/src/assets/station-templates/schneider-imredd.station-template.json @@ -3,7 +3,7 @@ "baseName": "CS-SCHNEIDER", "chargePointModel": "SCHNEIDERXX213", "chargePointVendor": "SCHNEIDER", - "power": 44000, + "power": 44160, "powerUnit": "W", "numberOfConnectors": 2, "randomConnectors": false, diff --git a/src/assets/station-templates/schneider.station-template.json b/src/assets/station-templates/schneider.station-template.json index 56a6a837..a196cd60 100644 --- a/src/assets/station-templates/schneider.station-template.json +++ b/src/assets/station-templates/schneider.station-template.json @@ -3,7 +3,8 @@ "baseName": "CS-SCHNEIDER", "chargePointModel": "SCHNEIDERXX213", "chargePointVendor": "SCHNEIDER", - "power": 44000, + "chargePointSerialNumberPrefix": "EV.2S22P44", + "power": 44160, "powerUnit": "W", "numberOfConnectors": 2, "randomConnectors": false, diff --git a/src/assets/station-templates/siemens.mougins69.station-template.json b/src/assets/station-templates/siemens.mougins69.station-template.json index eae5f6ed..6f5de051 100644 --- a/src/assets/station-templates/siemens.mougins69.station-template.json +++ b/src/assets/station-templates/siemens.mougins69.station-template.json @@ -4,7 +4,7 @@ "fixedName": true, "chargePointModel": "SiemensXX213", "chargePointVendor": "SIEMENS", - "power": 44000, + "power": 44160, "powerUnit": "W", "numberOfConnectors": 2, "randomConnectors": false, diff --git a/src/charging-station/ChargingStation.js b/src/charging-station/ChargingStation.js index 52d54958..12501d54 100644 --- a/src/charging-station/ChargingStation.js +++ b/src/charging-station/ChargingStation.js @@ -32,7 +32,7 @@ class ChargingStation { this._bootNotificationMessage = { chargePointModel: this._stationInfo.chargePointModel, chargePointVendor: this._stationInfo.chargePointVendor, - // chargePointSerialNumber: this._stationInfo.chargePointSerialNumber, + chargePointSerialNumber: this._stationInfo.chargePointSerialNumberPrefix ? this._stationInfo.chargePointSerialNumberPrefix : '', firmwareVersion: this._stationInfo.firmwareVersion ? this._stationInfo.firmwareVersion : '', }; this._configuration = this._getConfiguration();