Browse Source

set PnC connectorId = -1 if preparing connector not found

Robert 1 year ago
parent
commit
f5c320f2ab
2 changed files with 6 additions and 1 deletions
  1. 5 0
      EVCB_OCPP.WSServer/Service/OuterBusinessService.cs
  2. 1 1
      version.txt

+ 5 - 0
EVCB_OCPP.WSServer/Service/OuterBusinessService.cs

@@ -283,6 +283,11 @@ namespace EVCB_OCPP.WSServer.Service
                         connectorId = connectorStatus.ConnectorId;
                     }
                 }
+
+                if (connectorId is null)
+                {
+                    connectorId = -1;
+                }
             }
 
             return string.Format("charging_auth?ChargeBoxId={0}&ConnectorId={1}&IdTag={2}", chargeBoxId, connectorId, idTag);

+ 1 - 1
version.txt

@@ -1 +1 @@
-Docker_v1.1.20
+Docker_v1.1.21