Merge pull request #1041 from syuusei3/issue39-ocpp2
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / ChargingProfile.ts
1 import {
2 type OCPP16ChargingProfile,
3 OCPP16ChargingProfileKindType,
4 OCPP16ChargingProfilePurposeType,
5 OCPP16ChargingRateUnitType,
6 type OCPP16ChargingSchedulePeriod,
7 OCPP16RecurrencyKindType
8 } from './1.6/ChargingProfile.js'
9
10 export type ChargingProfile = OCPP16ChargingProfile
11
12 export type ChargingSchedulePeriod = OCPP16ChargingSchedulePeriod
13
14 export const ChargingProfilePurposeType = {
15 ...OCPP16ChargingProfilePurposeType
16 } as const
17 // eslint-disable-next-line @typescript-eslint/no-redeclare
18 export type ChargingProfilePurposeType = OCPP16ChargingProfilePurposeType
19
20 export const ChargingProfileKindType = {
21 ...OCPP16ChargingProfileKindType
22 } as const
23 // eslint-disable-next-line @typescript-eslint/no-redeclare
24 export type ChargingProfileKindType = OCPP16ChargingProfileKindType
25
26 export const RecurrencyKindType = {
27 ...OCPP16RecurrencyKindType
28 } as const
29 // eslint-disable-next-line @typescript-eslint/no-redeclare
30 export type RecurrencyKindType = OCPP16RecurrencyKindType
31
32 export const ChargingRateUnitType = {
33 ...OCPP16ChargingRateUnitType
34 } as const
35 // eslint-disable-next-line @typescript-eslint/no-redeclare
36 export type ChargingRateUnitType = OCPP16ChargingRateUnitType