From d4811b7d34b45ff6b21b97f11da128b5572ec526 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期三, 03 三月 2021 16:03:03 +0800
Subject: [PATCH] 20210303-1

---
 HDL_ON/UI/UI2/FuntionControlView/Electrical/TVPageBLL.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Electrical/TVPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/Electrical/TVPageBLL.cs
index cdbf1b7..ea72033 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Electrical/TVPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Electrical/TVPageBLL.cs
@@ -18,7 +18,7 @@
             actionRefresh = () => {
                 btnFunctionName.Text = btnFunctionName_Out.Text = tv.name;
                 btnFromFloor_Out.Text = btnFromFoorAndRoom.Text = tv.GetRoomListName();
-                tv.SaveFunctionData(true);
+                tv.UpdataFuncitonInfo();
             };
         }
 
@@ -29,7 +29,7 @@
         {
             btnCollection.MouseUpEventHandler += (sender, e) => {
                 btnCollection.IsSelected = tv.collect = btnCollection_Out.IsSelected = !btnCollection.IsSelected;
-                tv.SaveFunctionData(true);
+                tv.CollectFunction();
             };
         }
 

--
Gitblit v1.8.0