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