From d60b92c58ac09197642eb6dac9b905f0898dacb8 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 09 十二月 2020 15:42:13 +0800
Subject: [PATCH] Merge branch 'CJL-NEW'

---
 HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs
index 7f4daca..eb16fe4 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs
@@ -56,6 +56,7 @@
             {
                 btnFunctionName.Text = btnFunctionName_Out.Text = aC.name;
                 btnFromFloor_Out.Text = btnFromFoorAndRoom.Text = aC.GetRoomListName();
+                aC.SaveFunctionData(true);
             };
         }
 
@@ -66,8 +67,8 @@
         {
             btnCollection.MouseUpEventHandler += (sender, e) =>
             {
-                btnCollection.IsSelected = aC.collection = btnCollection_Out.IsSelected = !btnCollection.IsSelected;
-                aC.SaveFunctionData();
+                btnCollection.IsSelected = aC.collect = btnCollection_Out.IsSelected = !btnCollection.IsSelected;
+                aC.SaveFunctionData(true);
             };
         }
 

--
Gitblit v1.8.0