瀏覽代碼

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