| | |
| | | // 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; |
| | |
| | | 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; |
| | | } |
| | | |
| | | }); |
| | | } |
| | |
| | | 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> |
| | |
| | | return; |
| | | } |
| | | temp--; |
| | | seltControlTemp.Add(temp.ToString()); |
| | | arcBar.Progress = temp; |
| | | function.SetAttrState(FunctionAttributeKey.SetTemp, temp); |
| | | btnTemp.Text = temp.ToString(); |
| | |
| | | return; |
| | | } |
| | | temp++; |
| | | seltControlTemp.Add(temp.ToString()); |
| | | arcBar.Progress = temp; |
| | | btnTemp.Text = temp.ToString(); |
| | | function.SetAttrState(FunctionAttributeKey.SetTemp, temp); |