perf: minimize OCPPUtils exports
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / MeterValues.ts
1 import {
2 type OCPP16MeterValue,
3 OCPP16MeterValueContext,
4 OCPP16MeterValueLocation,
5 OCPP16MeterValueMeasurand,
6 OCPP16MeterValuePhase,
7 OCPP16MeterValueUnit,
8 type OCPP16SampledValue,
9 } from './1.6/MeterValues';
10
11 export const MeterValueUnit = {
12 ...OCPP16MeterValueUnit,
13 } as const;
14 export type MeterValueUnit = OCPP16MeterValueUnit;
15
16 export const MeterValueContext = {
17 ...OCPP16MeterValueContext,
18 } as const;
19 export type MeterValueContext = OCPP16MeterValueContext;
20
21 export const MeterValueMeasurand = {
22 ...OCPP16MeterValueMeasurand,
23 } as const;
24 export type MeterValueMeasurand = OCPP16MeterValueMeasurand;
25
26 export const MeterValueLocation = {
27 ...OCPP16MeterValueLocation,
28 } as const;
29 export type MeterValueLocation = OCPP16MeterValueLocation;
30
31 export const MeterValuePhase = {
32 ...OCPP16MeterValuePhase,
33 } as const;
34 export type MeterValuePhase = OCPP16MeterValuePhase;
35
36 export type SampledValue = OCPP16SampledValue;
37
38 export type MeterValue = OCPP16MeterValue;