From 802f200c004348defca5cefd047ad843c74abadd Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期四, 01 四月 2021 09:21:42 +0800
Subject: [PATCH] Merge branch 'temp-wxr' into WJC

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

diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
index d6371a6..d480411 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
@@ -51,6 +51,10 @@
                         case SPK.ClothesHanger:
                             vv = ShowFunction.Electric;
                             break;
+                        case SPK.AirFreshJinmao:
+                        case SPK.AirFreshStandard:
+                            vv = ShowFunction.FreshAir;
+                            break;
                     }
                     UpdataFunctionOnCount(vv, function.spk);
                     UpdataCloseAllButton(function);
@@ -118,6 +122,9 @@
                                                         case ShowFunction.Electric:
                                                             btnText = FunctionList.List.GetElectricals().FindAll((obj) => obj.trait_on_off.curValue.ToString() == "on").Count.ToString();
                                                             break;
+                                                        case ShowFunction.FreshAir:
+                                                            btnText = FunctionList.List.GetAirFreshList().FindAll((obj) => obj.trait_on_off.curValue.ToString() == "on").Count.ToString();
+                                                            break;
                                                     }
                                                     if (btn.Tag.ToString() == functionCategory + "_onCount")
                                                     {

--
Gitblit v1.8.0