From e89fc7322f0199a9d46ec70ae850ab1a41b0fe3e Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期六, 19 十二月 2020 13:12:41 +0800 Subject: [PATCH] 2020-12-19 1.1.iOS和Android 获取天气失败问题,修复调整处理。 2.Android增加网络监听事件,和iOS封装统一监听处理接口。 --- HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPage.cs | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPage.cs b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPage.cs index f83415c..d7df220 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPage.cs @@ -128,9 +128,14 @@ Height = Application.GetMinRealAverage(40), SelectedImagePath = "Collection/CollectionIcon.png", UnSelectedImagePath = "Collection/CollectionGrayIcon.png", - IsSelected = fh.collection + IsSelected = fh.collect }; - controlView.AddChidren(btnCollection); + //controlView.AddChidren(btnCollection); + //2020-12-16 濡傛灉鏄垚鍛橀殣钘忔敹钘忓姛鑳� + if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) + { + controlView.AddChidren(btnCollection); + } arcBar = new DiyArcSeekBar() { @@ -242,7 +247,12 @@ controlView.AddChidren(btnSwitch); LoadEventList(); - new TopViewDiv(bodyView, Language.StringByID(StringId.LocationManagement)).LoadTopView_FunctionTop(fh, actionRefresh); + new TopViewDiv(bodyView, Language.StringByID(StringId.FloorHeating)).LoadTopView_FunctionTop(fh, actionRefresh); + new System.Threading.Thread(() => + { + DriverLayer.Control.Ins.SendReadCommand(fh); + }) + { IsBackground = true }.Start(); } /// <summary> /// 鍔犺浇淇敼妯″紡鍖哄煙 @@ -265,8 +275,6 @@ Width = Application.GetRealWidth(160), Height = Application.GetRealHeight(287), BackgroundImagePath = "FunctionIcon/AC/DivBg1.png", - AnimateSpeed = 0.3f, - Animate = Animate.DownToUp, }; dialogView.AddChidren(modeChangeView); -- Gitblit v1.8.0