From 22c5c030f2262b6a9d6840bf3b5196b7ab2d4dd5 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 10 三月 2020 14:31:53 +0800 Subject: [PATCH] 2020-03-10 1.替换最新控件库,增加无网络监听,Loading效果优化。 2.电能插座修复点亮统计个数问题。 3 .定时检测网关是否在线,发送CheckGateway间隔为10S,收到主题刷新该时间,重置发送次数,发送次数到达3次以上,则判定网关为离线状态。 4.远程重复增加为3次,重发后等待5s才回调结果。 5.修复去掉普通继电器读电能操作。 6.读状态间隔缩短为200ms。 --- Crabtree/SmartHome/UI/SimpleControl/MainPage.cs | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/MainPage.cs b/Crabtree/SmartHome/UI/SimpleControl/MainPage.cs index 29a32e3..e02aeba 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/MainPage.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/MainPage.cs @@ -1,16 +1,14 @@ using System; -using Shared.IO; -using Shared.Net; using System.Text; using System.Collections.Generic; +using System.Net; +using System.IO; +using Shared.SimpleControl.Phone; // <summary> // 绋嬪簭涓诲叆鍙� // </summary> //using SystemConfiguration; -using System.Net; -using System.IO; -using Shared.SimpleControl.Phone; namespace Shared.SimpleControl { /// <summary> @@ -39,7 +37,7 @@ //public static Button LogoButton = new Button (); - public static string RequestVersion = "20200226"; + public static string RequestVersion = "20200310"; public static UserInfo LoginUser; /// <summary> /// 鏄惁鏄鐞嗗憳鏉冮檺(鍙樻洿浜�,鎴愬憳鐨勬椂鍊�,杩欎釜涔熶负ture銆備负浠�涔堜細澹版槑杩欐牱鍙橀噺,鍥犱负鏈変簺鎺ュ彛蹇呴』浣跨敤鍘熸潵鐨凾oken) @@ -139,10 +137,13 @@ } else { Phone.UserHomePage.Init (); #if __IOS__ - //Loading.LodingBackgroundColor = 0x10777777; + //Loading.LodingBackgroundColor = 0x10777777; + #else - Loading.LodingBackgroundColor = SkinStyle.Current.MainColor; + //Loading.LodingBackgroundColor = SkinStyle.Current.MainColor; #endif + Loading.TextColor = 0xFFA9A9A9; + Loading.LodingBackgroundColor = SkinStyle.Current.MainColor; } } catch (Exception ex) { //new Alert ("Eorr", ex.Message, "Close").Show(); -- Gitblit v1.8.0