wxr
2024-09-27 acc8caee31c4be90bd38d1af18136b0e84f6fe94
HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
@@ -231,6 +231,10 @@
                };
                foreach (var f in room.GetRoomFunctions(false))
                {
                    //if(f.spk == SPK.OtherCommon)
                    //{
                    //    continue;
                    //}
                    if (f.trait_on_off.curValue.ToString() == "on")
                    {
                        btn.Visible = true;
@@ -401,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())
@@ -448,7 +460,7 @@
                    }
                    catch (Exception ex)
                    {
                        MainPage.Log($"{functionCategory}全开全关失败:{ex.Message}");
                        MainPage.Log("Error", $"{functionCategory}全开全关失败:{ex.Message}");
                    }
                    finally
                    {