From d72ca686a3e262693f8a6e45e747e8e8da43335b Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 06 七月 2021 09:39:03 +0800
Subject: [PATCH] 2021-07-06 1.更新

---
 HDL_ON/UI/UI2/FuntionControlView/ChooseRoomPageBLL.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/ChooseRoomPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/ChooseRoomPageBLL.cs
index 62d6a5a..1e56bf0 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/ChooseRoomPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/ChooseRoomPageBLL.cs
@@ -22,7 +22,7 @@
         /// </summary>
         void LoadMethod_AllElection()
         {
-            btnChooseAll.MouseUpEventHandler += (sender, e) =>
+            btnAllRoomText.MouseUpEventHandler += (sender, e) =>
             {
                 btnChooseAll.IsSelected = !btnChooseAll.IsSelected;
 
@@ -72,12 +72,12 @@
             if (isAdd)
             {
                 function.roomIds.Add(room.roomId);
-                room.AddRoomFunction(function);
+                //room.AddRoomFunction(function);
             }
             else
             {
                 function.roomIds.Remove(room.roomId);
-                room.RemoveRoomFunction(function);
+                //room.RemoveRoomFunction(function);
             }
             function.UpdataRoomIds();
             if (function.roomIds.Count == Entity.SpatialInfo.CurrentSpatial.RoomList.Count)

--
Gitblit v1.8.0