adding circontrol template support
MODIFY
src/integration/charging-station-vendor/ChargingStationVendorFactory.ts
src/integration/charging-station-vendor/ChargingStationVendorFactory.ts
@@ -2,6 +2,7 @@ import ChargingStation, { ChargerVendor } from '../../types/ChargingStation';
import AbbChargingStationVendorIntegration from './abb/AbbChargingStationVendorIntegration';
import AtessChargingStationVendorIntegration from './atess/AtessChargingStationVendorIntegration';
+import CIRCONTROLChargingStationVendorIntegration from './circontrol/CIRCONTROLChargingStationVendorIntegration';
import ChargingStationVendorIntegration from './ChargingStationVendorIntegration';
import DefaultChargingStationVendorIntegration from './default/DefaultChargingStationVendorIntegration';
import DeltaChargingStationVendorIntegration from './delta/DeltaChargingStationVendorIntegration';
@@ -59,6 +60,9 @@ export default class ChargingStationVendorFactory {
case ChargerVendor.SAP_LABS_FRANCE:
chargingStationVendorImpl = new SAPLabsFranceChargingStationVendorIntegration(chargingStation);
break;
+ case ChargerVendor.CIRCONTROL:
+ chargingStationVendorImpl = new CIRCONTROLChargingStationVendorIntegration(chargingStation);
+ break;
// FIXME: adding a default vendor class to only require a vendor class when existing methods need adaptation needs more work
// default:
// chargingStationVendorImpl = new DefaultChargingStationVendorIntegration(chargingStation);

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

MODIFY
src/types/ChargingStation.ts
src/types/ChargingStation.ts
@@ -298,4 +298,5 @@ export enum ChargerVendor {
MENNEKES = 'MENNEKES',
KEBA = 'Keba AG',
SAP_LABS_FRANCE = 'SAP Labs France Caen',
+ CIRCONTROL = 'CIRCONTROL',
}

adding circontrol template support