From 454ac814944cf956ff02b84b70ba2ec68e5e5ea1 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 15 一月 2020 19:38:47 +0800
Subject: [PATCH] 2020-01-15 1.优化MQTT连接。 2.增加本地通信加密。

---
 Crabtree/SmartHome/UI/SimpleControl/EquipmentPublicClass.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Crabtree/SmartHome/UI/SimpleControl/EquipmentPublicClass.cs b/Crabtree/SmartHome/UI/SimpleControl/EquipmentPublicClass.cs
index f308fc1..98f134f 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/EquipmentPublicClass.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/EquipmentPublicClass.cs
@@ -62,7 +62,7 @@
                         });
                         bool canRemote = false;
                         if (CommonPage.IsRemote) {
-                            await SmartHome.MqttCommon.StartCloudMqtt ();
+                            //await SmartHome.MqttCommon.StartCloudMqtt ();
                             SmartHome.MqttCommon.MqttRemoteSend (new byte [] { }, 3);
                         }
                         foreach (var gatewayFileName in gateWayList) {
@@ -131,7 +131,7 @@
                             if (UserConfig.Instance.CheckHomeGateways ()) {
                                 if (!string.IsNullOrEmpty (UserConfig.Instance.CurrentRegion.HomeGateways[0].GatewayUniqueId)) {
                                     Shared.SimpleControl.CommonPage.IsRemote = true;
-                                    await SmartHome.MqttCommon.StartCloudMqtt ();
+                                    //await SmartHome.MqttCommon.StartCloudMqtt ();
                                 }
                             }
                         }

--
Gitblit v1.8.0