X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2F1.6%2FMeterValues.ts;h=5a59230c15f08615608c3e5f7d840f4895873aba;hb=411894569d4a0333a4e38e911a178520a69448cd;hp=79bad3626e7dfd650cde76c8cdc6a3af79dc04e8;hpb=6c1761d470507ea23d186be61b94ca7375c5144a;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 79bad362..5a59230c 100644 --- a/src/types/ocpp/1.6/MeterValues.ts +++ b/src/types/ocpp/1.6/MeterValues.ts @@ -1,5 +1,4 @@ -import type { EmptyObject } from '../../EmptyObject'; -import type { JsonObject } from '../../JsonType'; +import type { EmptyObject, JsonObject } from '../../internal'; export enum MeterValueUnit { WATT_HOUR = 'Wh', @@ -77,7 +76,7 @@ export enum OCPP16MeterValuePhase { L3_L1 = 'L3-L1', } -export enum MeterValueFormat { +enum MeterValueFormat { RAW = 'Raw', SIGNED_DATA = 'SignedData', } @@ -93,7 +92,7 @@ export interface OCPP16SampledValue extends JsonObject { } export interface OCPP16MeterValue extends JsonObject { - timestamp: string; + timestamp: Date; sampledValue: OCPP16SampledValue[]; }