Use the circular array new constructor signature.
[e-mobility-charging-stations-simulator.git] / src / types / Connectors.ts
index 8e04989c7fc828daeea6f0c71efa3a908aa780de..38bebf336dbdd2c16c6cc567e708bbed695bc8e7 100644 (file)
@@ -1,15 +1,19 @@
-import { ChargePointStatus } from './ChargePointStatus';
-import MeterValue from './MeterValue';
+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: MeterValue[];
+  MeterValues: SampledValue[];
   transactionStarted?: boolean;
   transactionId?: number;
   transactionSetInterval?: NodeJS.Timeout;
   idTag?: string;
   lastEnergyActiveImportRegisterValue?: number;
+  chargingProfiles?: ChargingProfile[]
 }
 
 export default interface Connectors {