X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2FConstants.ts;h=b28674259454fce95bf2e37719a1c2e15ee4719d;hb=24e545f59c47f20f55a75c84e6619195cd1421c4;hp=1c42087964ce36c8108a4001affc7923c6a53019;hpb=4db8406cd780b8912b2cf3bd882a21228aba47a7;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/Constants.ts b/src/utils/Constants.ts index 1c420879..b2867425 100644 --- a/src/utils/Constants.ts +++ b/src/utils/Constants.ts @@ -1,3 +1,4 @@ +import { MeterValueMeasurand } from '../types/ocpp/MeterValues'; import { AvailabilityStatus, ChargingProfileStatus, @@ -8,8 +9,6 @@ import { UnlockStatus, } from '../types/ocpp/Responses'; -import { MeterValueMeasurand } from '../types/ocpp/MeterValues'; - export default class Constants { static readonly OCPP_RESPONSE_EMPTY = Object.freeze({}); static readonly OCPP_RESPONSE_ACCEPTED = Object.freeze({ status: DefaultStatus.ACCEPTED }); @@ -102,6 +101,7 @@ export default class Constants { static readonly DEFAULT_LOG_STATISTICS_INTERVAL = 60; // Seconds static readonly DEFAULT_HEARTBEAT_INTERVAL = 60000; // Ms + static readonly DEFAULT_METER_VALUES_INTERVAL = 60000; // Ms static readonly SUPPORTED_MEASURANDS = Object.freeze([ MeterValueMeasurand.STATE_OF_CHARGE,