From e87985ec1dcb69beedaf9f95e8e7aba14b7c08d6 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 09 十二月 2020 18:50:14 +0800
Subject: [PATCH] 2020-12-09 1.信息中心,增加下划线和点击Alter提醒详情。
---
HDL_ON/UI/UI2/3-Intelligence/Automation/Set.cs | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Automation/Set.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/Set.cs
similarity index 87%
rename from HDL_ON/UI/UI2/3-Intelligence/Automation/Automation/Set.cs
rename to HDL_ON/UI/UI2/3-Intelligence/Automation/Set.cs
index 94c4318..bb62490 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Automation/Set.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Set.cs
@@ -98,10 +98,18 @@
new LogicView.TipPopView().TipBox(StringId.tip, StringId.delAutomation, () =>
{
- LogicMethod.RemoveAllView();
- Logic.LogicList.Remove(Logic.currlogic);
- MainView.MainShow();
- //鍙戦�佸垹闄ら�昏緫鍛戒护锛�
+ var responsePackNew= Send.delLogic(Logic.currlogic);
+ if (responsePackNew.Code == "0")
+ {
+ LogicMethod.RemoveAllView();
+ Logic.LogicList.Remove(Logic.currlogic);
+ MainView.MainShow();
+ //鍙戦�佸垹闄ら�昏緫鍛戒护锛�
+ }
+ else
+ {
+ new LogicView.TipPopView().FlashingBox(Language.StringByID(StringId.delFail));
+ }
});
};
--
Gitblit v1.8.0