X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FMeterValues.ts;h=10b8323df4fefac9eab9bf9719657562ccfe1389;hb=6625c5ec9c5260260aeb17e86ddd4ca5a2d15d10;hp=b052ce694beaf94617bce80dd1266052eb3fcb64;hpb=7e3926cc4cda3fa4db175501b239cb3d8c575d4f;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/MeterValues.ts b/src/types/ocpp/MeterValues.ts index b052ce69..10b8323d 100644 --- a/src/types/ocpp/MeterValues.ts +++ b/src/types/ocpp/MeterValues.ts @@ -1,9 +1,20 @@ -import { OCPP16MeterValueMeasurand, OCPP16SampledValue } from './1.6/MeterValues'; +import { + type OCPP16MeterValue, + OCPP16MeterValueMeasurand, + OCPP16MeterValuePhase, + type OCPP16SampledValue, +} from '../internal'; +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;