X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FMeterValues.ts;h=f34a8c176fd3cf711ee158bad3f9ac2e0f950c3e;hb=8603c1caae4c616b0c1f8292c7f70bf3b0124175;hp=1022c9fbbce8a5d8c62a1f13b4f49f59e19a8d86;hpb=fd0c36fab7509aeb48c1fbb40b70072fe64ae63c;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/MeterValues.ts b/src/types/ocpp/MeterValues.ts index 1022c9fb..f34a8c17 100644 --- a/src/types/ocpp/MeterValues.ts +++ b/src/types/ocpp/MeterValues.ts @@ -1,10 +1,19 @@ -import { OCPP16MeterValue, 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;