From 3be0abe90546f2a3a45828f5e6c8adc4517ea9e0 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 14 一月 2022 13:12:38 +0800
Subject: [PATCH] Merge branch 'wxr1215'

---
 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