From a9ce331dccd25eee1d0b9193f7853c6e4a07b792 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 14 四月 2020 15:43:57 +0800
Subject: [PATCH] 2020-04-14 1.去掉登录之前ping域名检测,解决客户反馈登录失败的问题 2.替换新的控件库,去掉高德地图。 3.修复创建不了住宅问题。 4.修复增加登陆获取住宅列表时当前住宅判空处理。 5.去掉温度按钮自定义字体。

---
 Crabtree/SmartHome/UI/SimpleControl/Phone/System/SystemRemote.cs |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/System/SystemRemote.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/System/SystemRemote.cs
index bafa812..e547fd3 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/Phone/System/SystemRemote.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/System/SystemRemote.cs
@@ -159,18 +159,18 @@
 
         public static bool checeInternet ()
         {
-            byte [] bytes = null;
-            var dateTime = DateTime.Now;
-            System.Threading.Tasks.Task.Run (() => {
-                bytes = new System.Net.WebClient { Proxy = null }.DownloadData ("http://www.baidu.com");
-            });
-            while ((DateTime.Now - dateTime).TotalMilliseconds < 8000) {
-                System.Threading.Thread.Sleep (100);
-                if (bytes != null) {
-                    return true;
-                }
-            }
-            return false;
+            //byte [] bytes = null;
+            //var dateTime = DateTime.Now;
+            //System.Threading.Tasks.Task.Run (() => {
+            //    bytes = new System.Net.WebClient { Proxy = null }.DownloadData ("http://www.baidu.com");
+            //});
+            //while ((DateTime.Now - dateTime).TotalMilliseconds < 8000) {
+            //    System.Threading.Thread.Sleep (100);
+            //    if (bytes != null) {
+            //        return true;
+            //    }
+            //}
+            return true;
         }
 
         static bool ShowTip = true;

--
Gitblit v1.8.0