X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FMeterValues.ts;h=2172ec1f925762826eba130ef579abcc7587230a;hb=8eb3b688c4b6fb3e946f38d474a5125caf1d056a;hp=c8c283860f7776108483a7d4b912d7b5daff0891;hpb=9c13b3b52e1ab803a92f090da6920310c80c12da;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/MeterValues.ts b/src/types/ocpp/MeterValues.ts index c8c28386..2172ec1f 100644 --- a/src/types/ocpp/MeterValues.ts +++ b/src/types/ocpp/MeterValues.ts @@ -1,9 +1,22 @@ -import { OCPP16MeterValueMeasurand, OCPP16SampledValue } from './1.6/MeterValues'; +import { + OCPP16MeterValue, + OCPP16MeterValueMeasurand, + OCPP16MeterValuePhase, + OCPP16SampledValue, +} from './1.6/MeterValues'; -export type MeterValueMeasurand = typeof MeterValueMeasurand; +export type MeterValueMeasurand = OCPP16MeterValueMeasurand; export const MeterValueMeasurand = { - ...OCPP16MeterValueMeasurand + ...OCPP16MeterValueMeasurand, +}; + +export type MeterValuePhase = OCPP16MeterValuePhase; + +export const MeterValuePhase = { + ...OCPP16MeterValuePhase, }; export type SampledValue = OCPP16SampledValue; + +export type MeterValue = OCPP16MeterValue;