From 05ce435c3b58e53eeab04c672affdeeab75f3036 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期五, 15 十一月 2019 14:41:39 +0800 Subject: [PATCH] 2019.11.15-1 --- ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs index 2c63cd3..fb7754d 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs @@ -123,10 +123,11 @@ btnRoom.Text = Common.Room.CurrentRoom.GetRoomNameByDevice(device); frameTable.AddChidren(btnRoom, ChidrenBindMode.BindEventOnly); //鎽勬皬搴� - var btnValue = new NormalViewControl(150, 60, true); + var btnValue = new NormalViewControl(300, 60, true); btnValue.Y = Application.GetRealHeight(58); - btnValue.X = frameTable.Width - Application.GetRealWidth(150 + 58); + btnValue.X = frameTable.Width - Application.GetRealWidth(300 + 58); btnValue.TextAlignment = TextAlignment.CenterRight; + btnValue.TextID = R.MyInternationalizationString.uGetting; frameTable.AddChidren(btnValue, ChidrenBindMode.BindEventOnly); rowInfo.btnValue = btnValue; //璀﹀憡鍥炬爣 @@ -205,7 +206,7 @@ if (i != 0 && i % 5 == 0) { //璇诲彇5涓悗锛岄棿闅斾竴娈垫椂闂� - System.Threading.Thread.Sleep(500); + System.Threading.Thread.Sleep(200); if (this.Parent == null) { return; @@ -215,6 +216,8 @@ ((AC)listDevice[i]).ReadLocalTemperature(); //鑾峰彇寮�鍏崇姸鎬�(澶勪簬鏌愮宸ヤ綔鐘舵��,鍗充负鎵撳紑鐘舵��) ((AC)listDevice[i]).ReadSystemMode(); + //娓呮礂婊ょ綉 + listDevice[i].ReadAttri(Cluster_ID.Thermostat, AttriButeId.FilterCleaningStatus); } }); } @@ -275,6 +278,16 @@ rowInfo.btnIconBack.BackgroundColor = 0xfffef1ed; } } + else if (data.AttributeId == 4097) + { + //42:闇�瑕佹竻娲楁护缃� + if (data.AttriButeData == 42) + { + rowInfo.btnWarningIcon.Visible = true; + //璇锋敞鎰忔竻娲楁护缃戝摝 + rowInfo.btnWarningMsg.TextID = R.MyInternationalizationString.uPleaseClreanACfilter; + } + } } }); } -- Gitblit v1.8.0