From ee736e5d594e973e63e85647caa03cf635c8867f Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 20 七月 2023 10:42:21 +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