From 15978205aa7e4aeca8af3d3d34a80a85f0265f63 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期一, 14 十二月 2020 10:42:52 +0800
Subject: [PATCH] 2020-12-14 1.密码锁定错误码处理

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

diff --git a/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs
index f75da2e..7b99b77 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs
@@ -56,7 +56,6 @@
             {
                 btnFunctionName.Text = btnFunctionName_Out.Text = aC.name;
                 btnFromFloor_Out.Text = btnFromFoorAndRoom.Text = aC.GetRoomListName();
-                aC.SaveFunctionData();
             };
         }
 
@@ -67,8 +66,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