JLChen
2021-02-05 a71a421dd23f406e10740be2489bdca5e7734d04
HDL_ON/UI/UI2/FuntionControlView/Electrical/TVPageBLL.cs
@@ -18,6 +18,7 @@
            actionRefresh = () => {
                btnFunctionName.Text = btnFunctionName_Out.Text = tv.name;
                btnFromFloor_Out.Text = btnFromFoorAndRoom.Text = tv.GetRoomListName();
                tv.UpdataFuncitonInfo();
            };
        }
@@ -27,8 +28,8 @@
        void LoadCollectionEvent()
        {
            btnCollection.MouseUpEventHandler += (sender, e) => {
                btnCollection.IsSelected = tv.collection = btnCollection_Out.IsSelected = !btnCollection.IsSelected;
                tv.SaveFunctionData();
                btnCollection.IsSelected = tv.collect = btnCollection_Out.IsSelected = !btnCollection.IsSelected;
                tv.CollectFunction();
            };
        }