X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2F1.6%2FChargingProfile.ts;h=8a50e895f18b93e9c6cf9df7bbfc1275caee6cd5;hb=ef9e3b334b977bd79231adb7e59c3875313d32dc;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..8a50e895 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'; 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', }