X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FConnectors.ts;h=8063368bf0c0ff5388a803528f46ec1fdc781de4;hb=8c476a1f1117b85fa29a435fc8733a482472139f;hp=845324562584c4179352bc759fea4fc8fe0f3633;hpb=29bf6658d0689f5df26575d3b171163fe1d52d04;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/Connectors.ts b/src/types/Connectors.ts index 84532456..8063368b 100644 --- a/src/types/Connectors.ts +++ b/src/types/Connectors.ts @@ -1,15 +1,17 @@ import { ChargePointStatus } from './ocpp/1.6/ChargePointStatus'; -import MeterValue from './ocpp/1.6/MeterValue'; +import { ChargingProfile } from './ocpp/1.6/ChargingProfile'; +import { SampledValue } from './ocpp/1.6/MeterValues'; export interface Connector { 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 {