Commit | Line | Data |
---|---|---|
e7aeea18 | 1 | import { |
edd13439 | 2 | type OCPP16MeterValue, |
41f3983a JB |
3 | OCPP16MeterValueContext, |
4 | OCPP16MeterValueLocation, | |
e7aeea18 JB |
5 | OCPP16MeterValueMeasurand, |
6 | OCPP16MeterValuePhase, | |
41f3983a | 7 | OCPP16MeterValueUnit, |
66a7748d JB |
8 | type OCPP16SampledValue |
9 | } from './1.6/MeterValues.js' | |
c0560973 | 10 | |
41f3983a | 11 | export const MeterValueUnit = { |
66a7748d JB |
12 | ...OCPP16MeterValueUnit |
13 | } as const | |
14 | // eslint-disable-next-line @typescript-eslint/no-redeclare | |
15 | export type MeterValueUnit = OCPP16MeterValueUnit | |
41f3983a JB |
16 | |
17 | export const MeterValueContext = { | |
66a7748d JB |
18 | ...OCPP16MeterValueContext |
19 | } as const | |
20 | // eslint-disable-next-line @typescript-eslint/no-redeclare | |
21 | export type MeterValueContext = OCPP16MeterValueContext | |
41f3983a | 22 | |
c0560973 | 23 | export const MeterValueMeasurand = { |
66a7748d JB |
24 | ...OCPP16MeterValueMeasurand |
25 | } as const | |
26 | // eslint-disable-next-line @typescript-eslint/no-redeclare | |
27 | export type MeterValueMeasurand = OCPP16MeterValueMeasurand | |
9ccca265 | 28 | |
41f3983a | 29 | export const MeterValueLocation = { |
66a7748d JB |
30 | ...OCPP16MeterValueLocation |
31 | } as const | |
32 | // eslint-disable-next-line @typescript-eslint/no-redeclare | |
33 | export type MeterValueLocation = OCPP16MeterValueLocation | |
41f3983a | 34 | |
9ccca265 | 35 | export const MeterValuePhase = { |
66a7748d JB |
36 | ...OCPP16MeterValuePhase |
37 | } as const | |
38 | // eslint-disable-next-line @typescript-eslint/no-redeclare | |
39 | export type MeterValuePhase = OCPP16MeterValuePhase | |
9ccca265 | 40 | |
66a7748d | 41 | export type SampledValue = OCPP16SampledValue |
fd0c36fa | 42 | |
66a7748d | 43 | export type MeterValue = OCPP16MeterValue |