From bfbf05c92805fcf795efa89f6ac61a5c50145b8e Mon Sep 17 00:00:00 2001 From: fyf Date: Fri, 13 May 2022 18:00:48 +0800 Subject: [PATCH] ERERE --- DataVAPI/UpAndDown/ProcessServer.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DataVAPI/UpAndDown/ProcessServer.cs b/DataVAPI/UpAndDown/ProcessServer.cs index 8c84f7f..2ca95aa 100644 --- a/DataVAPI/UpAndDown/ProcessServer.cs +++ b/DataVAPI/UpAndDown/ProcessServer.cs @@ -99,7 +99,7 @@ namespace DataVAPI.UpAndDown { try { - if (!FistBOOL) + if (!IOTDevServer.GetInstance().GetIsConnected()) { if (IOTDevServer.GetInstance().CreateLinks(DataBus.ProductKey, DataBus.DeviceName, DataBus.DeviceSecret)) @@ -110,7 +110,6 @@ namespace DataVAPI.UpAndDown //订阅主播消息 Subscribe(IOTDevServer.BroadcastTopic); - FistBOOL=true; } else {