From df7c5aad59e9a923e0764fabd35edb850c6e7b82 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 24 一月 2022 11:26:20 +0800 Subject: [PATCH] ios友盟sdk --- HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs index 56c921d..e683de0 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs @@ -881,8 +881,10 @@ }; arcBar.OnStopTrackingTouchEvent = (sender, e) => { + temp = arcBar.Progress; device.SetAttrState(FunctionAttributeKey.SetTemp, arcBar.Progress.ToString()); btnTemp.Text = arcBar.Progress.ToString(); + controlTime = DateTime.Now; System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add(FunctionAttributeKey.SetTemp, arcBar.Progress.ToString()); Control.Ins.SendWriteCommand(device, d); @@ -1010,6 +1012,13 @@ arcBar.IsClickable = false; arcBar.ThumbImagePath = "FunctionIcon/AC/DiyThumbIcon.png"; } + + if(device.GetAttrState(FunctionAttributeKey.Mode) == "dry") + { + arcBar.IsOffline = true; + arcBar.IsClickable = false; + + } } }); -- Gitblit v1.8.0