From 7bea8bc6d399e9097e3565c2eed48ee6145d6b2f Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 12 七月 2023 20:49:11 +0800
Subject: [PATCH] 萤石猫眼,门锁,摄像头功能对接

---
 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