From 10afb4f79299cae08344fd8245a7217ea49f712e Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 09 八月 2023 11:27:45 +0800
Subject: [PATCH] 空调,地暖温度类型支持

---
 HDL_ON/Entity/Function/Function.cs |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs
index 105de09..557e8fa 100644
--- a/HDL_ON/Entity/Function/Function.cs
+++ b/HDL_ON/Entity/Function/Function.cs
@@ -888,13 +888,13 @@
                         var tt = GetAttribute(FunctionAttributeKey.TempType);
                         if (tt == null)
                         {
-                            attr.unit = "掳C";
+                            attr.unit = "掳";
                         }
                         else
                         {
                             if (tt.unit == string.Empty)
                             {
-                                attr.unit = "掳C";
+                                attr.unit = "掳";
                             }
                             else
                             {
@@ -1909,6 +1909,8 @@
         {
             var spkList = new List<string>();
             spkList.Add(ElectricEnergy);
+            spkList.Add(AirSwitch);
+            spkList.Add(AirSwitchP3);
             return spkList;
         }
         #endregion
@@ -2253,8 +2255,8 @@
             spkList.Add(ElectricTuyaWeepRobot2);
             spkList.Add(ElectricTuyaWaterValve);
             spkList.Add(ElectricTuyaWaterValve2);
-            spkList.Add(AirSwitch);
-            spkList.Add(AirSwitchP3);
+            //spkList.Add(AirSwitch);
+            //spkList.Add(AirSwitchP3);
             return spkList;
         }
 

--
Gitblit v1.8.0