From efcffde735fa65ae34bae0bcc86313b74ed0e36c Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 20 五月 2024 13:47:38 +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 3c791b7..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.Send.Currnet.DelDevice(this.function, (isBool) =>
- {
- Application.RunOnMainThread(() =>
- {
- if (!isBool)
- {
- new Tip()
- {
- CloseTime = 1,
- Text = Language.StringByID(StringId.delFail),
- Direction = AMPopTipDirection.None,
- }.Show(bodyView);
- return;
- }
- //鍒犻櫎鏈湴鏂囦欢
- FunctionList.List.DeleteFunction(this.function);
- this.RemoveFromParent();
- this.actionDel?.Invoke();
- });
-
- });
-
- });
- };
- this.delView.MouseUpEventHandler += ClickEvent;
- this.delTextBtn.MouseUpEventHandler += ClickEvent;
- this.delRightBtn.MouseUpEventHandler += ClickEvent;
- }
+
}
--
Gitblit v1.8.0