From: Jérôme Benoit Date: Sat, 30 Dec 2023 14:11:59 +0000 (+0100) Subject: refactor: code cleanups X-Git-Tag: v1.2.31~6 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=fbf3577e37768ad192649254c84590bdb1a3c5c9;p=e-mobility-charging-stations-simulator.git refactor: code cleanups Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ocpp/1.6/OCPP16Constants.ts b/src/charging-station/ocpp/1.6/OCPP16Constants.ts index 17a8c033..4a604f1c 100644 --- a/src/charging-station/ocpp/1.6/OCPP16Constants.ts +++ b/src/charging-station/ocpp/1.6/OCPP16Constants.ts @@ -16,7 +16,7 @@ export class OCPP16Constants extends OCPPConstants { { to: OCPP16ChargePointStatus.Faulted }, { from: OCPP16ChargePointStatus.Faulted, to: OCPP16ChargePointStatus.Available }, { from: OCPP16ChargePointStatus.Faulted, to: OCPP16ChargePointStatus.Unavailable } - // { from: OCPP16ChargePointStatus.Faulted, to: OCPP16ChargePointStatus.Faulted }, + // { from: OCPP16ChargePointStatus.Faulted, to: OCPP16ChargePointStatus.Faulted } ]) static readonly ChargePointStatusConnectorTransitions: Readonly = diff --git a/src/charging-station/ocpp/2.0/OCPP20Constants.ts b/src/charging-station/ocpp/2.0/OCPP20Constants.ts index ea50ba0a..80781c14 100644 --- a/src/charging-station/ocpp/2.0/OCPP20Constants.ts +++ b/src/charging-station/ocpp/2.0/OCPP20Constants.ts @@ -33,7 +33,7 @@ export class OCPP20Constants extends OCPPConstants { from: OCPP20ConnectorStatusEnumType.Faulted, to: OCPP20ConnectorStatusEnumType.Unavailable } - // { from: OCPP20ConnectorStatusEnumType.Faulted, to: OCPP20ConnectorStatusEnumType.Faulted }, + // { from: OCPP20ConnectorStatusEnumType.Faulted, to: OCPP20ConnectorStatusEnumType.Faulted } ]) static readonly ConnectorStatusTransitions: Readonly = Object.freeze(