From 8d825766e377363597753ab27a0d381e41732e58 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期五, 26 三月 2021 10:48:04 +0800
Subject: [PATCH] 新风

---
 HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
index dbf88dd..d6371a6 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
@@ -370,6 +370,16 @@
                                         System.Threading.Thread.Sleep(100);
                                     }
                                     break;
+                                case ShowFunction.FreshAir:
+                                    foreach (var f in FunctionList.List.GetAirFreshList())
+                                    {
+                                        f.trait_on_off.curValue = onoff;
+                                        Dictionary<string, string> d = new Dictionary<string, string>();
+                                        d.Add(FunctionAttributeKey.OnOff, f.trait_on_off.curValue.ToString());
+                                        Control.Ins.SendWriteCommand(f, d);
+                                        System.Threading.Thread.Sleep(100);
+                                    }
+                                    break;
                             }
                         }
                         else

--
Gitblit v1.8.0