X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FChargingProfile.ts;h=0b21f1096990918b4f787fd8f18407a4d61f5eb4;hb=0ac97927984473fcb11a177f013b0e112638e050;hp=6dab7cff1284465a8fc07bc1fac9472015cb31ce;hpb=1af50fac1ab71fed19f11864d1644261046698a3;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/ChargingProfile.ts b/src/types/ocpp/ChargingProfile.ts index 6dab7cff..0b21f109 100644 --- a/src/types/ocpp/ChargingProfile.ts +++ b/src/types/ocpp/ChargingProfile.ts @@ -1,3 +1,26 @@ -import { OCPP16ChargingProfile } from './1.6/ChargingProfile'; +import { + type OCPP16ChargingProfile, + OCPP16ChargingProfileKindType, + OCPP16ChargingRateUnitType, + type OCPP16ChargingSchedulePeriod, + OCPP16RecurrencyKindType, +} from '../internal'; export type ChargingProfile = OCPP16ChargingProfile; + +export type ChargingSchedulePeriod = OCPP16ChargingSchedulePeriod; + +export const ChargingProfileKindType = { + ...OCPP16ChargingProfileKindType, +} as const; +export type ChargingProfileKindType = OCPP16ChargingProfileKindType; + +export const RecurrencyKindType = { + ...OCPP16RecurrencyKindType, +} as const; +export type RecurrencyKindType = OCPP16RecurrencyKindType; + +export const ChargingRateUnitType = { + ...OCPP16ChargingRateUnitType, +} as const; +export type ChargingRateUnitType = OCPP16ChargingRateUnitType;