Sfoglia il codice sorgente

update api/ocpp.js

wudebin 11 mesi fa
parent
commit
f654030ca9
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      Strides-Admin/src/http/api/ocpp.js

+ 6 - 0
Strides-Admin/src/http/api/ocpp.js

@@ -55,6 +55,11 @@ const ocpp = {
       "name": "Update Firmware",
       "name": "Update Firmware",
       "value": "UF",
       "value": "UF",
       "api": "ocppOperations/updateFirmware"
       "api": "ocppOperations/updateFirmware"
+    },
+    {
+      "name": "Install Certificate",
+      "value": "ICA",
+      "api": "ocppOperations/installCertificate"
     }
     }
   ],
   ],
   getKeyTypeList: () => get('ocppOperations/getKeyTypeList'),
   getKeyTypeList: () => get('ocppOperations/getKeyTypeList'),
@@ -63,6 +68,7 @@ const ocpp = {
   getStationPages: (params) => post('ocppOperations/getChargePointsPages', params),
   getStationPages: (params) => post('ocppOperations/getChargePointsPages', params),
   getConfigurationKeyList: () => get('ocppOperations/getConfigurationKeyList'),
   getConfigurationKeyList: () => get('ocppOperations/getConfigurationKeyList'),
   getAvailabilityTypeList: () => get('ocppOperations/getAvailabilityTypeList'),
   getAvailabilityTypeList: () => get('ocppOperations/getAvailabilityTypeList'),
+  getCertificateTypeList: () => get('ocppOperations/getCertificateTypeList'),
   getChargingProfileList: () => get('ocppOperations/getChargingProfileList'),
   getChargingProfileList: () => get('ocppOperations/getChargingProfileList'),
   getClearChargingProfileFilterType: () => get('ocppOperations/getClearChargingProfileFilterType'),
   getClearChargingProfileFilterType: () => get('ocppOperations/getClearChargingProfileFilterType'),
   getConnectorIds: (param) => get('ocppOperations/getConnectorsByStationId', {stationId: param}),
   getConnectorIds: (param) => get('ocppOperations/getConnectorsByStationId', {stationId: param}),