// eslint-disable-next-line @typescript-eslint/no-extraneous-class
export class OCPPConstants {
static readonly OCPP_WEBSOCKET_TIMEOUT = 60000 // Ms
- static readonly OCPP_TRIGGER_MESSAGE_DELAY = 500 // Ms
static readonly OCPP_MEASURANDS_SUPPORTED = Object.freeze([
MeterValueMeasurand.STATE_OF_CHARGE,
static readonly OCPP_REQUEST_EMPTY = Constants.EMPTY_FROZEN_OBJECT
static readonly OCPP_RESPONSE_EMPTY = Constants.EMPTY_FROZEN_OBJECT
- static readonly OCPP_RESPONSE_ACCEPTED = Object.freeze({ status: GenericStatus.Accepted })
- static readonly OCPP_RESPONSE_REJECTED = Object.freeze({ status: GenericStatus.Rejected })
+ static readonly OCPP_RESPONSE_ACCEPTED = Object.freeze({
+ status: GenericStatus.Accepted
+ })
+
+ static readonly OCPP_RESPONSE_REJECTED = Object.freeze({
+ status: GenericStatus.Rejected
+ })
static readonly OCPP_CONFIGURATION_RESPONSE_ACCEPTED = Object.freeze({
status: ConfigurationStatus.ACCEPTED
status: ClearChargingProfileStatus.UNKNOWN
})
- static readonly OCPP_RESPONSE_UNLOCKED = Object.freeze({ status: UnlockStatus.UNLOCKED })
+ static readonly OCPP_RESPONSE_UNLOCKED = Object.freeze({
+ status: UnlockStatus.UNLOCKED
+ })
+
static readonly OCPP_RESPONSE_UNLOCK_FAILED = Object.freeze({
status: UnlockStatus.UNLOCK_FAILED
})