From 3f6685c77beeb12baf840733fb890860f4c26e7c Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期四, 25 七月 2024 17:25:59 +0800
Subject: [PATCH] 2024年07月25日17:24:45

---
 HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPageBLL.cs |   40 +---------------------------------------
 1 files changed, 1 insertions(+), 39 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPageBLL.cs
index ff4c689..980af0f 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPageBLL.cs
@@ -12,7 +12,6 @@
         {
             LoadEvent_ChangeFunctionName ();
             SkipChooseRoomPage();
-            DelDeviceEvent();
 
         }
 
@@ -79,44 +78,7 @@
             }
                 
         }
-        /// <summary>
-        /// 瑙g粦璁惧鐨勪簨浠�
-        /// </summary>
-        void DelDeviceEvent()
-        {
-
-            EventHandler<MouseEventArgs> ClickEvent = (sener, e) =>
-            {
-                new HDL_ON.UI.Music.View.TipView().TipBox(-1, StringId.AreYouSureToDeleteThisDevice, () =>
-                {
-                    UI2.FuntionControlView.VideoDoorLock.VideDoorLockSend.Current.DelDevice(this.function, (isBool) =>
-                    {
-                        Application.RunOnMainThread(() =>
-                        {
-                            if (!isBool)
-                            {
-                                new Tip()
-                                {
-                                    CloseTime = 1,
-                                    Text = Language.StringByID(StringId.delFail),
-                                    Direction = AMPopTipDirection.None,
-                                }.Show(bodyView);
-                                return;
-                            }
-                            //鍒犻櫎鏈湴鏂囦欢                                  
-                            UI2.FuntionControlView.VideoDoorLock.CommonMethod.Current.DeleteFunction(this.function);
-                            this.RemoveFromParent();
-                            this.actionDel?.Invoke();
-                        });
-
-                    });
-
-                });
-            };
-            this.delView.MouseUpEventHandler += ClickEvent;
-            this.delTextBtn.MouseUpEventHandler += ClickEvent;
-            this.delRightBtn.MouseUpEventHandler += ClickEvent;
-        }
+        
 
 
     }

--
Gitblit v1.8.0