X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FMeterValues.ts;h=aec3d19e1934e4e61a030713d9018e58ad05f158;hb=5a15db9001b93665ab7581d2974c5f01a9e0fbe3;hp=10b8323df4fefac9eab9bf9719657562ccfe1389;hpb=2896e06dc8d72adf7150b23c941079f622f6f37c;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/MeterValues.ts b/src/types/ocpp/MeterValues.ts index 10b8323d..aec3d19e 100644 --- a/src/types/ocpp/MeterValues.ts +++ b/src/types/ocpp/MeterValues.ts @@ -1,20 +1,43 @@ import { type OCPP16MeterValue, + OCPP16MeterValueContext, + OCPP16MeterValueLocation, OCPP16MeterValueMeasurand, OCPP16MeterValuePhase, - type OCPP16SampledValue, -} from '../internal'; + OCPP16MeterValueUnit, + type OCPP16SampledValue +} from './1.6/MeterValues.js' + +export const MeterValueUnit = { + ...OCPP16MeterValueUnit +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type MeterValueUnit = OCPP16MeterValueUnit + +export const MeterValueContext = { + ...OCPP16MeterValueContext +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type MeterValueContext = OCPP16MeterValueContext export const MeterValueMeasurand = { - ...OCPP16MeterValueMeasurand, -} as const; -export type MeterValueMeasurand = OCPP16MeterValueMeasurand; + ...OCPP16MeterValueMeasurand +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type MeterValueMeasurand = OCPP16MeterValueMeasurand + +export const MeterValueLocation = { + ...OCPP16MeterValueLocation +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type MeterValueLocation = OCPP16MeterValueLocation export const MeterValuePhase = { - ...OCPP16MeterValuePhase, -} as const; -export type MeterValuePhase = OCPP16MeterValuePhase; + ...OCPP16MeterValuePhase +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type MeterValuePhase = OCPP16MeterValuePhase -export type SampledValue = OCPP16SampledValue; +export type SampledValue = OCPP16SampledValue -export type MeterValue = OCPP16MeterValue; +export type MeterValue = OCPP16MeterValue