From 0e1c6c25b1b0961d324811ff2132717a80f99efe Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期日, 26 四月 2020 14:15:05 +0800
Subject: [PATCH] 2020-04-26 1.添加住宅和修改住宅时,改为子线程操作。 2.远程连接模式时,禁用搜索网关和添加设备。3.修复切换住宅时,提示远程连接Loading不关闭问题。

---
 Crabtree/ON.Ios/ViewController.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Crabtree/ON.Ios/ViewController.cs b/Crabtree/ON.Ios/ViewController.cs
old mode 100755
new mode 100644
index 4f76b45..1edd592
--- a/Crabtree/ON.Ios/ViewController.cs
+++ b/Crabtree/ON.Ios/ViewController.cs
@@ -36,6 +36,8 @@
             //渚︽祴缃戠粶鍙樺寲
             Reachability.ReachabilityChanged += UpdateStatus;
 
+            Shared.SimpleControl.EquipmentPublicClass.CheckLinkRemote ((int)internetStatus, false);
+
             UITapGestureRecognizer oTapRecognizer = new UITapGestureRecognizer ();
             oTapRecognizer.CancelsTouchesInView = false;
             oTapRecognizer.AddTarget (
@@ -70,7 +72,8 @@
         {
             internetStatus = Reachability.InternetConnectionStatus ();
             UserConfig.Instance.internetStatus = (int)internetStatus;
-            Shared.SimpleControl.EquipmentPublicClass.CheckLinkRemote ((int)internetStatus);
+            //缃戠粶鍙樺寲閫氱煡
+            Shared.SimpleControl.EquipmentPublicClass.CheckLinkRemote ((int)internetStatus, false);
             if (internetStatus == NetworkStatus.NotReachable)//娌℃湁缃戠粶杩炴帴 0
             {
             } else if (internetStatus == NetworkStatus.ReachableViaCarrierDataNetwork)//3,4G鐨勭綉缁滆繛鎺� 1

--
Gitblit v1.8.0