From 270b3d8539f6b4a991a9ebf3b3a9eceb436d61d5 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 28 十月 2021 17:08:02 +0800 Subject: [PATCH] 自动化地址问题修复 --- HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs | 31 ++++++++++++++++++++++++++++++- 1 files changed, 30 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs index ac2dad9..5a8281e 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs @@ -38,6 +38,18 @@ // bodyView.arcBar.IsOffline = true; //} + + //app鑷繁鎺у埗鐨勪笉鐢ㄦ洿鏂帮紝浼氶�犳垚璺冲姩 + if (bodyView.seltControlTemp.Contains(outinTemp.ToString())) + { + bodyView.seltControlTemp.Remove(outinTemp.ToString()); + } + else + { + bodyView.arcBar.Progress = outinTemp; + } + + if (updateTemp.trait_on_off.curValue.ToString() == "on") { bodyView.btnMode.IsSelected = true; @@ -61,7 +73,14 @@ bodyView.arcBar.IsClickable = false; bodyView.arcBar.ThumbImagePath = "FunctionIcon/AC/DiyThumbIcon.png"; } - + //鑷姩妯″紡涓嶅厑璁歌皟娓╁害 2021-10-27 09:41:35 wxr 闄堢惓鍙嶉 + if (updateTemp.GetAttrState(FunctionAttributeKey.Mode) == "auto"|| updateTemp.GetAttrState(FunctionAttributeKey.Mode) == "timer") + { + bodyView.btnPlus.Enable = false; + bodyView.btnMinus.Enable = false; + bodyView.arcBar.IsClickable = false; + bodyView.arcBar.IsOffline = true; + } }); } @@ -83,6 +102,14 @@ btnFromFloor_Out.Text = btnFromFoorAndRoom.Text = function.GetRoomListName(); //function.SaveFunctionData(true); }; + //鑷姩妯″紡涓嶅厑璁歌皟娓╁害 2021-10-27 09:41:35 wxr 闄堢惓鍙嶉 + if (function.GetAttrState(FunctionAttributeKey.Mode) == "auto" || function.GetAttrState(FunctionAttributeKey.Mode) == "timer") + { + btnPlus.Enable = false; + btnMinus.Enable = false; + arcBar.IsClickable = false; + arcBar.IsOffline = true; + } } /// <summary> @@ -115,6 +142,7 @@ return; } temp--; + seltControlTemp.Add(temp.ToString()); arcBar.Progress = temp; function.SetAttrState(FunctionAttributeKey.SetTemp, temp); btnTemp.Text = temp.ToString(); @@ -134,6 +162,7 @@ return; } temp++; + seltControlTemp.Add(temp.ToString()); arcBar.Progress = temp; btnTemp.Text = temp.ToString(); function.SetAttrState(FunctionAttributeKey.SetTemp, temp); -- Gitblit v1.8.0