Allow to specify a serial number prefix.
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 18 Oct 2020 06:43:32 +0000 (08:43 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 18 Oct 2020 06:43:32 +0000 (08:43 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/assets/station-templates/evlink.station-template.json
src/assets/station-templates/keba.station-template.json
src/assets/station-templates/schneider-imredd.station-template.json
src/assets/station-templates/schneider.station-template.json
src/assets/station-templates/siemens.mougins69.station-template.json
src/charging-station/ChargingStation.js

index 936f95cbae9e11d59482a58b08246b5f4502ac1b..e3fcbf34d5fa48e0a08c35e3ea98f08cdd58c303 100644 (file)
@@ -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,
index d9b7bab90caeac089299ed035f9b7598d036076d..7e6469c8068d51fd2e040211f0e612ca78053907 100644 (file)
@@ -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,
index 56a6a837880663164e843230b2bda91dfdd0b3ca..7a093498faae3bcfdde4377eff2859f53a571c43 100644 (file)
@@ -3,7 +3,7 @@
   "baseName": "CS-SCHNEIDER",
   "chargePointModel": "SCHNEIDERXX213",
   "chargePointVendor": "SCHNEIDER",
-  "power": 44000,
+  "power": 44160,
   "powerUnit": "W",
   "numberOfConnectors": 2,
   "randomConnectors": false,
index 56a6a837880663164e843230b2bda91dfdd0b3ca..a196cd600f8c8bc85c634f4558105946f21f5a9f 100644 (file)
@@ -3,7 +3,8 @@
   "baseName": "CS-SCHNEIDER",
   "chargePointModel": "SCHNEIDERXX213",
   "chargePointVendor": "SCHNEIDER",
-  "power": 44000,
+  "chargePointSerialNumberPrefix": "EV.2S22P44",
+  "power": 44160,
   "powerUnit": "W",
   "numberOfConnectors": 2,
   "randomConnectors": false,
index eae5f6ed189a01a84b999f6f73f6448df2732f92..6f5de0517a7f28c706b08935cf532a78369f1d73 100644 (file)
@@ -4,7 +4,7 @@
   "fixedName": true,
   "chargePointModel": "SiemensXX213",
   "chargePointVendor": "SIEMENS",
-  "power": 44000,
+  "power": 44160,
   "powerUnit": "W",
   "numberOfConnectors": 2,
   "randomConnectors": false,
index 52d54958fa4e0ad003de9de88465becd944a2c35..12501d542bb1fecb7cacf1e0a42ef9056f45d803 100644 (file)
@@ -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();