Browse Source

ERERE

master
fyf 2 years ago
parent
commit
bfbf05c928
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      DataVAPI/UpAndDown/ProcessServer.cs

+ 1
- 2
DataVAPI/UpAndDown/ProcessServer.cs View File

@@ -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
{


Loading…
Cancel
Save