From 6aae0b4d094c54cd5d7d27cda7b439d9d62d0bc7 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期日, 23 五月 2021 14:43:04 +0800 Subject: [PATCH] 能耗功能,红外宝功能 --- 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