From db45c85a6ddebc5018b32a9d9dc04f839db3fa76 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 28 九月 2021 15:59:34 +0800
Subject: [PATCH] 组合调光

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs |   25 ++++++++++++++++---------
 1 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs
index 4b137f1..5173eb6 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs
@@ -148,10 +148,11 @@
                                 //绌鸿皟
                                 case SPK.AcStandard:
                                 //鍦扮儹
-                                case SPK.FloorHeatStandard:
+                                case SPK.HvacFloorHeat:case SPK.FloorHeatStandard:
                                 //鏂伴
                                 case SPK.AirFreshStandard:
-                                    {//寮�鍏崇伅
+                                case SPK.HvacAirFresh:
+                                {//寮�鍏崇伅
                                         foreach (var dic in dicList)
                                         {
 
@@ -269,6 +270,7 @@
                                             switch (dic["key"])
                                             {
                                                 case "status":
+                                                case "people_status":
                                                     {
                                                         if (value == "true")
                                                         {
@@ -302,6 +304,7 @@
                                     }
                                     break;
                                 case SPK.SenesorMegahealth:
+                                case SPK.SenesorMegahealth2:
                                     {
                                         foreach (var dic in dicList)
                                         {
@@ -719,7 +722,7 @@
                                                 break;
                                             case "hcho":
                                                 {
-                                                    conditionDeviceFunList.PmCo2TvocAction(thisView, device, "hcho", StringId.tvoc, indexVulae, true, stateValue);
+                                                    conditionDeviceFunList.PmCo2TvocAction(thisView, device, "hcho", StringId.Formaldehyde, indexVulae, true, stateValue);
                                                 }
                                                 break;
                                         }
@@ -1073,7 +1076,7 @@
 
                                     }
                                     break;
-                                case SPK.FloorHeatStandard:
+                                case SPK.FloorHeatStandard:case SPK.HvacFloorHeat:
                                     {
                                         string on_off = GetKeyValue("on_off", dicList);
                                         string set_temp = GetKeyValue("set_temp", dicList);
@@ -1146,6 +1149,7 @@
                                     }
                                     break;
                                 case SPK.AirFreshStandard:
+                                case SPK.HvacAirFresh:
                                     {
                                         string on_off = GetKeyValue("on_off", dicList);
                                         string fan = GetKeyValue("fan", dicList);
@@ -1542,7 +1546,7 @@
 
                     }
                     break;
-                case SPK.FloorHeatStandard:
+                case SPK.FloorHeatStandard:case SPK.HvacFloorHeat:
                     {
 
                         foreach (var dic in dicList)
@@ -1626,6 +1630,7 @@
                     }
                     break;
                 case SPK.AirFreshStandard:
+                case SPK.HvacAirFresh:
                     {
 
                         foreach (var dic in dicList)
@@ -1650,8 +1655,8 @@
                                         }
                                     }
                                     break;
-                             
-                                   case "fan":
+
+                                case "fan":
                                     {
                                         if (button2 == null)
                                         {
@@ -1783,6 +1788,7 @@
                             switch (dic["key"])
                             {
                                 case "status":
+                                case "people_status":
                                     {
                                         if (value == "true")
                                         {
@@ -1815,6 +1821,7 @@
                     }
                     break;
                 case SPK.SenesorMegahealth:
+                case SPK.SenesorMegahealth2:
                     {
                         foreach (var dic in dicList)
                         {
@@ -1983,7 +1990,7 @@
                                     }
                                     break;
                                 case SPK.AcStandard:
-                                case SPK.FloorHeatStandard:
+                                case SPK.FloorHeatStandard:case SPK.HvacFloorHeat:
                                     {
                                         foreach (var dic in dicList)
                                         {
@@ -2257,7 +2264,7 @@
                         break;
                     case "hcho":
                         {
-                            conditionDeviceFunList.PmCo2TvocAction(thisView, device, "hcho", StringId.tvoc, indexVulae, true, stateValue);
+                            conditionDeviceFunList.PmCo2TvocAction(thisView, device, "hcho", StringId.Formaldehyde, indexVulae, true, stateValue);
                         }
                         break;
                 }

--
Gitblit v1.8.0