Rename vendor integration
MODIFY
src/integration/charging-station-vendor/ChargingStationVendorFactory.ts
src/integration/charging-station-vendor/ChargingStationVendorFactory.ts
@@ -7,7 +7,7 @@ import DeltaChargingStationVendorIntegration from './delta/DeltaChargingStationV
import EbeeChargingStationVendorIntegration from './ebee/EbeeChargingStationVendorIntegration';
import LegrandChargingStationVendorIntegration from './legrand/LegrandChargingStationVendorIntegration';
import SchneiderChargingStationVendorIntegration from './schneider/SchneiderChargingStationVendorIntegration';
-import SAPChargingStationVendorIntegration from './sap/SAPChargingStationVendorIntegration';
+import SAPLabsFranceChargingStationVendorIntegration from './sap/SAPLabsFranceChargingStationVendorIntegration';
export default class ChargingStationVendorFactory {
@@ -35,8 +35,8 @@ export default class ChargingStationVendorFactory {
case ChargerVendor.ATESS:
chargingStationVendorImpl = new AtessChargingStationVendorIntegration(chargingStation);
break;
- case ChargerVendor.SAP:
- chargingStationVendorImpl = new SAPChargingStationVendorIntegration(chargingStation);
+ case ChargerVendor.SAPLABSFRANCE:
+ chargingStationVendorImpl = new SAPLabsFranceChargingStationVendorIntegration(chargingStation);
break;
}
return chargingStationVendorImpl;

RENAME
src/integration/charging-station-vendor/sap/SAPChargingStationVendorIntegration.ts
src/integration/charging-station-vendor/sap/SAPLabsFranceChargingStationVendorIntegration.ts
import ChargingStation from '../../../types/ChargingStation';
import ChargingStationVendorIntegration from '../ChargingStationVendorIntegration';
-export default class SAPChargingStationVendorIntegration extends ChargingStationVendorIntegration {
+export default class SAPLabsFranceChargingStationVendorIntegration extends ChargingStationVendorIntegration {
constructor(chargingStation: ChargingStation) {
super(chargingStation);
}

MODIFY
src/types/ChargingStation.ts
src/types/ChargingStation.ts
@@ -278,5 +278,5 @@ export enum ChargerVendor {
LEGRAND = 'Legrand',
ATESS = 'ATESS',
MENNEKES = 'MENNEKES',
- SAP = 'SAP Labs France Caen',
+ SAPLABSFRANCE = 'SAP Labs France Caen',
}

Rename vendor integration