X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2F1.6%2FChargingProfile.ts;h=89cf8e4d8545308d0e841f9647dde94beac746ff;hb=f5a1ff8ce8f87a149791c2c98fe7c5e8a20b5392;hp=0bfdcd2f717c8330bcef080a81b6c4306a8ebbce;hpb=0ac97927984473fcb11a177f013b0e112638e050;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/1.6/ChargingProfile.ts b/src/types/ocpp/1.6/ChargingProfile.ts index 0bfdcd2f..89cf8e4d 100644 --- a/src/types/ocpp/1.6/ChargingProfile.ts +++ b/src/types/ocpp/1.6/ChargingProfile.ts @@ -1,4 +1,4 @@ -import type { JsonObject } from '../../internal'; +import type { JsonObject } from '../../JsonType.js'; export interface OCPP16ChargingProfile extends JsonObject { chargingProfileId: number; @@ -9,12 +9,12 @@ export interface OCPP16ChargingProfile extends JsonObject { recurrencyKind?: OCPP16RecurrencyKindType; validFrom?: Date; validTo?: Date; - chargingSchedule: ChargingSchedule; + chargingSchedule: OCPP16ChargingSchedule; } -interface ChargingSchedule extends JsonObject { - duration?: number; +export interface OCPP16ChargingSchedule extends JsonObject { startSchedule?: Date; + duration?: number; chargingRateUnit: OCPP16ChargingRateUnitType; chargingSchedulePeriod: OCPP16ChargingSchedulePeriod[]; minChargeRate?: number; @@ -46,5 +46,4 @@ export enum OCPP16ChargingProfilePurposeType { export enum OCPP16RecurrencyKindType { DAILY = 'Daily', WEEKLY = 'Weekly', - MONTHLY = 'Monthly', }