refactor: code cleanups
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 30 Dec 2023 14:11:59 +0000 (15:11 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 30 Dec 2023 14:11:59 +0000 (15:11 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ocpp/1.6/OCPP16Constants.ts
src/charging-station/ocpp/2.0/OCPP20Constants.ts

index 17a8c033a09450e166c019361bacd7fb67401ff5..4a604f1c4635d8d39658c8537ab04f19e49fe49e 100644 (file)
@@ -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<ConnectorStatusTransition[]> =
index ea50ba0aa685c7c076418d56929f4d4f899c0d18..80781c14c90498a0817aedd2694760ddf2cabdd7 100644 (file)
@@ -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<ConnectorStatusTransition[]> = Object.freeze(