X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2F1.6%2FMeterValues.ts;h=79bad3626e7dfd650cde76c8cdc6a3af79dc04e8;hb=bf53cadfde620fe89e6438403658682feb5bd39e;hp=f8137c36782b2f704c0ea5ab20200e163d392ac1;hpb=e3822d6f1b40477f7308ad70c290ed2c4106c585;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/1.6/MeterValues.ts b/src/types/ocpp/1.6/MeterValues.ts index f8137c36..79bad362 100644 --- a/src/types/ocpp/1.6/MeterValues.ts +++ b/src/types/ocpp/1.6/MeterValues.ts @@ -1,5 +1,5 @@ -import { EmptyObject } from '../../EmptyObject'; -import { JsonObject } from '../../JsonType'; +import type { EmptyObject } from '../../EmptyObject'; +import type { JsonObject } from '../../JsonType'; export enum MeterValueUnit { WATT_HOUR = 'Wh', @@ -83,7 +83,7 @@ export enum MeterValueFormat { } export interface OCPP16SampledValue extends JsonObject { - value?: string; + value: string; unit?: MeterValueUnit; context?: MeterValueContext; measurand?: OCPP16MeterValueMeasurand;