fix: Handling of remote start transactions in reserved state
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / MeterValues.ts
index b052ce694beaf94617bce80dd1266052eb3fcb64..f34a8c176fd3cf711ee158bad3f9ac2e0f950c3e 100644 (file)
@@ -1,9 +1,20 @@
-import { OCPP16MeterValueMeasurand, OCPP16SampledValue } from './1.6/MeterValues';
+import {
+  type OCPP16MeterValue,
+  OCPP16MeterValueMeasurand,
+  OCPP16MeterValuePhase,
+  type OCPP16SampledValue,
+} from './1.6/MeterValues';
 
+export const MeterValueMeasurand = {
+  ...OCPP16MeterValueMeasurand,
+} as const;
 export type MeterValueMeasurand = OCPP16MeterValueMeasurand;
 
-export const MeterValueMeasurand = {
-  ...OCPP16MeterValueMeasurand
-};
+export const MeterValuePhase = {
+  ...OCPP16MeterValuePhase,
+} as const;
+export type MeterValuePhase = OCPP16MeterValuePhase;
 
 export type SampledValue = OCPP16SampledValue;
+
+export type MeterValue = OCPP16MeterValue;