From 6b8177fe424b661687e9fb8119f990c05b054f2b Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期日, 06 十二月 2020 14:29:28 +0800 Subject: [PATCH] Merge branch 'CJL-NEW' --- 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