Use the circular array new constructor signature.
[e-mobility-charging-stations-simulator.git] / src / types / Connectors.ts
index ac1b0a82f6296b3d9faefecbbc81226cc50c3c8e..38bebf336dbdd2c16c6cc567e708bbed695bc8e7 100644 (file)
@@ -1,7 +1,10 @@
-import { ChargePointStatus } from './ocpp/1.6/ChargePointStatus';
-import { SampledValue } from './ocpp/1.6/MeterValues';
+import { AvailabilityType } from './ocpp/Requests';
+import { ChargePointStatus } from './ocpp/ChargePointStatus';
+import { ChargingProfile } from './ocpp/ChargingProfile';
+import { SampledValue } from './ocpp/MeterValues';
 
 export interface Connector {
+  availability: AvailabilityType;
   bootStatus?: ChargePointStatus;
   status?: ChargePointStatus;
   MeterValues: SampledValue[];
@@ -10,6 +13,7 @@ export interface Connector {
   transactionSetInterval?: NodeJS.Timeout;
   idTag?: string;
   lastEnergyActiveImportRegisterValue?: number;
+  chargingProfiles?: ChargingProfile[]
 }
 
 export default interface Connectors {