From 2d414e3b007f750cdad4f9e4a7c04db696bca5e4 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期四, 23 四月 2020 16:13:59 +0800
Subject: [PATCH] 2020-04-23 1.优化远程连接提示,改为Loading方案,防止连接过程用户点击重连图标。 2.点击网络检测图标会判断,是否正在远程连接,如果是,会弹窗提示用户”正在远程连接,是否仍要重新检测“。 3.Help 增加隐藏长按功能,长按后,可以开启远程过程异常弹窗提示。长按后关闭。

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

diff --git a/Crabtree/SmartHome/UI/SimpleControl/EquipmentPublicClass.cs b/Crabtree/SmartHome/UI/SimpleControl/EquipmentPublicClass.cs
index df7ec49..0d8deb3 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/EquipmentPublicClass.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/EquipmentPublicClass.cs
@@ -147,7 +147,7 @@
                                             }
                                         } else {
                                             //鎼滅储澶辫触锛屽惎鐢ㄨ繙绋嬭繛鎺�
-                                            MainPage.AddTip ("Gateway not found, enable remote connection.");
+                                            MainPage.AddTip ("Gateway cannot be searched locally.");
                                             
                                         }
                                     } else {
@@ -165,12 +165,13 @@
                                 if (UserConfig.Instance.CheckHomeGateways ()) {
                                     if (!string.IsNullOrEmpty (UserConfig.Instance.CurrentRegion.HomeGateways [0].GatewayUniqueId)) {
                                         // 5.1鑳借繙绋�,鏄剧ずCloudUnlink鐘舵�侊紝IsRemote璁句负true寮�濮嬭繙绋�
-                                        MainPage.AddTip ("Starting remote connection mode...");
+                                        MainPage.AddTip ("Please wait, starting remote connection...");
 
                                         Utlis.ShowAppLinkStatus (AppLinkStatus.CloudUnlink);
                                         CommonPage.IsRemote = true;
-                                        SmartHome.MqttCommon.IsGatewayOnline = false;
-                                        //await SmartHome.MqttCommon.StartCloudMqtt ();
+                                        //閲嶇疆鍙傛暟鐘舵��
+                                        SmartHome.MqttCommon.InitState ();
+
                                     }
                                 }
                             }

--
Gitblit v1.8.0