From 5a5a2b696866f947b6025d26c3302e8ffef46435 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期一, 11 一月 2021 16:11:20 +0800
Subject: [PATCH] 2021-01-11 1.更新MQTT连接和本地搜索网关方法。2.子账号相关接口完善

---
 Crabtree/SmartHome/UI/SimpleControl/MainPage.cs |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/Crabtree/SmartHome/UI/SimpleControl/MainPage.cs b/Crabtree/SmartHome/UI/SimpleControl/MainPage.cs
index a5ebb60..46332c8 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/MainPage.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/MainPage.cs
@@ -38,7 +38,7 @@
         //public static Button LogoButton = new Button ();
   
 
-        public static string RequestVersion = "2.512081";
+        public static string RequestVersion = "2.601071";
         public static UserInfo LoginUser;
         /// <summary>
         /// 鏄惁鏄鐞嗗憳鏉冮檺(鍙樻洿浜�,鎴愬憳鐨勬椂鍊�,杩欎釜涔熶负ture銆備负浠�涔堜細澹版槑杩欐牱鍙橀噺,鍥犱负鏈変簺鎺ュ彛蹇呴』浣跨敤鍘熸潵鐨凾oken)
@@ -76,7 +76,7 @@
         public static string RequestHttpsHost = "https://smarth-api.havells.com/HangZhouHdlCloudApi";
         //public static string RequestHttpsHost = "https://global.hdlcontrol.com/HangZhouHdlCloudApi";
 
-        public static string RequestHttpsHostMqtt = "https://smarth-api.havells.com";
+        //public static string RequestHttpsHostMqtt = "https://smarth-api.havells.com";
 
         //public static string RequestHttpsHost = "https://developer.hdlcontrol.com";
 
@@ -139,6 +139,9 @@
                     Application.DesignWidth = 640;
                     Application.DesignHeight = 1136;
                 }
+                //鍗板害瀹㈡埛瀹氬埗APP榛樿浣跨敤鑻辨枃
+                Language.CurrentLanguage = "English";
+
                 Shared.BusSocket.Start (6000);
                 CommonPage.InitReceiveEvent ();
 
@@ -627,7 +630,7 @@
             //    new Alert ("", Language.StringByID (R.MyInternationalizationString.FailureToServer),
             //               Language.StringByID (R.MyInternationalizationString.Close)).Show ();
             //});
-            ShowAlertOnMainThread (Language.StringByID (R.MyInternationalizationString.FailureToServer));
+            ShowAlertOnMainThread (ErrorCode.FailedRequestServer);
         }
 
         /// <summary>

--
Gitblit v1.8.0