From 75b7ec9583cbd0ad84b08cfa4d3df87ba42c2ba4 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 26 七月 2023 11:00:29 +0800 Subject: [PATCH] Update UserConfig.cs --- Crabtree/SmartHome/UI/SimpleControl/MainPage.cs | 22 ++++++++++++++-------- 1 files changed, 14 insertions(+), 8 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/MainPage.cs b/Crabtree/SmartHome/UI/SimpleControl/MainPage.cs index ad140ac..9fa905b 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/MainPage.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/MainPage.cs @@ -35,11 +35,15 @@ } return loading; } - } + } //public static Button LogoButton = new Button (); - public static string CodeIDString = "20191223"; + public static string CodeIDString = "20230202"; + /// <summary> + /// 缃戝叧鐘舵�� + /// </summary> + public static string GatewayStatus = ""; public static UserInfo LoginUser; @@ -108,11 +112,14 @@ //Pad.UserHomePage.Init (); } else { Phone.UserHomePage.Init (); -#if __IOS__ - //Loading.LodingBackgroundColor = 0x10777777; -#else + //#if __IOS__ + // //Loading.LodingBackgroundColor = 0x10777777; + //#else + // Loading.LodingBackgroundColor = SkinStyle.Current.MainColor; + //#endif + + Loading.TextColor = 0xFFA9A9A9; Loading.LodingBackgroundColor = SkinStyle.Current.MainColor; -#endif } } catch (Exception ex) { //new Alert ("Eorr", ex.Message, "Close").Show(); @@ -192,8 +199,7 @@ #region var webClient = new WebClient (); if (urlHead == "") { - urlHead = $"{"https://homeautomation.havells.com"}/WebApi/"; - urlHead = "https://developer.hdlcontrol.com/api/"; + urlHead = "https://homeautomation.havells.com/WebApi/"; } else { webClient.Headers.Add ("CONTENT-TYPE", "application/json"); } -- Gitblit v1.8.0