Преглед на файлове

set PnC connectorId = -1 if preparing connector not found

Robert преди 1 година
родител
ревизия
f5c320f2ab
променени са 2 файла, в които са добавени 6 реда и са изтрити 1 реда
  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