From dc9a1b15bb69227e19afc070adf58156a362d2a2 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期一, 30 九月 2024 17:07:58 +0800
Subject: [PATCH] 安卓可视对讲响铃,

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs
index 0cce40f..a4654d1 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs
@@ -455,6 +455,7 @@
                     break;
                 case SPK.AcStandard:
                 case SPK.HvacAC:
+                case SPK.HvacAcPanel:
                 case SPK.AcIr:
                     {
                         #region 鐣岄潰
@@ -492,6 +493,7 @@
                         int min = device.GetAttribute("set_temp") == null ? 16 : device.GetAttribute("set_temp").min;
                         int max = device.GetAttribute("set_temp") == null ? 32 : device.GetAttribute("set_temp").max;
                         string unit = InpOrOutLogicMethod.Current.GetTemperatureUnit(device);
+                        var setTempAttr = device.GetAttribute(FunctionAttributeKey.SetTemp);
                         ///娓╁害鐐瑰嚮浜嬩欢
                         temperatureView.btnClick.MouseUpEventHandler += (sender, e) =>
                         {
@@ -508,7 +510,7 @@
                                 string set_temp_value = stateStr.Replace(unit, "");
                                 //鏁版嵁灏佽
                                 AddDictionary(keyVlaue, set_temp_value);
-                            }, min, max, unit);
+                            }, min, max, unit, setTempAttr.step);
 
                         };
                         ///妯″紡鐐瑰嚮浜嬩欢
@@ -586,6 +588,7 @@
                         DelayView(fLayout, floorHeatingModehView.frameLayout.Bottom);
                         #endregion
                         #region 鐐瑰嚮浜嬩欢
+                        var setTempAttr = device.GetAttribute(FunctionAttributeKey.SetTemp);
                         ///寮�鍏崇偣鍑讳簨浠�
                         floorHeatingSwitchVie.btnClick.MouseUpEventHandler += (sender, e) =>
                         {
@@ -611,7 +614,7 @@
                                 //鏁版嵁灏佽
                                 AddDictionary(keyVlaue, set_temp_value);
 
-                            }, min, max, unit);
+                            }, min, max, unit, setTempAttr.step);
 
                         };
                         ///妯″紡鐐瑰嚮浜嬩欢
@@ -985,6 +988,7 @@
                             }
                         case SPK.HvacAC:
                         case SPK.AcIr:
+                        case SPK.HvacAcPanel:
                         case SPK.AcStandard:
                         case SPK.FloorHeatStandard:
                         case SPK.HvacFloorHeat:case SPK.HvacFloorHeatPanel:

--
Gitblit v1.8.0