From ed2604abbc7949ebc78e3659fc9f03b2f814a14b Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期二, 29 十月 2019 14:20:27 +0800
Subject: [PATCH] 2019.10.29-1

---
 ZigbeeApp/Shared/Phone/ZigBee/Device/ZbGateway.cs |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Device/ZbGateway.cs b/ZigbeeApp/Shared/Phone/ZigBee/Device/ZbGateway.cs
index 469fd6f..49cb86e 100755
--- a/ZigbeeApp/Shared/Phone/ZigBee/Device/ZbGateway.cs
+++ b/ZigbeeApp/Shared/Phone/ZigBee/Device/ZbGateway.cs
@@ -3317,10 +3317,7 @@
                         DefaultCommunicationTimeout = new TimeSpan(0, 0, 100),//璁剧疆瓒呮椂鏃堕棿
                     };
                     //杩滅▼閫氳杩炴帴锛岃繛鎺ヤ簯绔湇鍔″櫒 
-                    if (RemoteMqttClient != null)
-                    {
-                        await RemoteMqttClient.ConnectAsync(connectCloudMqttClientOptions);
-                    }
+                    await RemoteMqttClient.ConnectAsync(connectCloudMqttClientOptions);
 
                 }
                 catch (Exception ex)

--
Gitblit v1.8.0