X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FConnectorStatus.ts;h=02ee914e8759557f942cf2e671df737064674be0;hb=721646e902fa12d165d4a1da06fb963fb30dc9f2;hp=6eab4106ba0fb54e93a8a60f9597daa7e75019f0;hpb=8114d10e3893e96bb725ce2fca9744429ee4b75b;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ConnectorStatus.ts b/src/types/ConnectorStatus.ts index 6eab4106..02ee914e 100644 --- a/src/types/ConnectorStatus.ts +++ b/src/types/ConnectorStatus.ts @@ -1,13 +1,15 @@ -import { SampledValueTemplate } from './MeasurandPerPhaseSampledValueTemplates'; -import { ChargePointStatus } from './ocpp/ChargePointStatus'; -import { ChargingProfile } from './ocpp/ChargingProfile'; -import { MeterValue } from './ocpp/MeterValues'; -import { AvailabilityType } from './ocpp/Requests'; +import type { + AvailabilityType, + ChargingProfile, + ConnectorStatusEnum, + MeterValue, + SampledValueTemplate, +} from './internal'; -export interface ConnectorStatus { +export type ConnectorStatus = { availability: AvailabilityType; - bootStatus?: ChargePointStatus; - status?: ChargePointStatus; + bootStatus?: ConnectorStatusEnum; + status?: ConnectorStatusEnum; MeterValues: SampledValueTemplate[]; authorizeIdTag?: string; idTagAuthorized?: boolean; @@ -22,4 +24,4 @@ export interface ConnectorStatus { transactionEnergyActiveImportRegisterValue?: number; // In Wh transactionBeginMeterValue?: MeterValue; chargingProfiles?: ChargingProfile[]; -} +};