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/2-Classification/ClassificationPageBLL.cs |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
index 7c6cfa8..89f04ba 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
@@ -405,6 +405,14 @@
                         {
                             switch (functionCategory)
                             {
+                                case ShowFunction.FreshAir:
+                                    List<Function> faList = new List<Function>();
+                                    foreach (var f in FunctionList.List.GetAirFreshList())
+                                    {
+                                        faList.Add(f);
+                                    }
+                                    Control.Ins.SwtichFunctions(onoff == "on", faList);
+                                    break;
                                 case ShowFunction.AC:
                                     List<Function> acList = new List<Function>();
                                     foreach(var f in FunctionList.List.GetAcList())
@@ -452,7 +460,7 @@
                     }
                     catch (Exception ex)
                     {
-                        MainPage.Log($"{functionCategory}鍏ㄥ紑鍏ㄥ叧澶辫触:{ex.Message}");
+                        MainPage.Log("Error", $"{functionCategory}鍏ㄥ紑鍏ㄥ叧澶辫触:{ex.Message}");
                     }
                     finally
                     {

--
Gitblit v1.8.0