From 64b84c33e8733228c624d07229026470497eb417 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 22 十二月 2020 10:41:16 +0800 Subject: [PATCH] Merge branch 'WJC' into NewFilePath --- HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs index 3c54d9b..f6bb95b 100755 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs @@ -258,6 +258,10 @@ LogicMethod.RemoveAllView(); MainView.MainShow(); } + else if (responsePackNew != null && responsePackNew.Code == "14005") + { + new LogicView.TipPopView().FlashingBox(Language.StringByID(StringId.gatewayNotOnline)); + } else { new LogicView.TipPopView().FlashingBox(Language.StringByID(StringId.saveFail)); @@ -294,7 +298,11 @@ LogicMethod.RemoveAllView(); MainView.MainShow(); } - else + else if (responsePackNew != null && responsePackNew.Code == "14005") + { + new LogicView.TipPopView().FlashingBox(Language.StringByID(StringId.gatewayNotOnline)); + } + else { new LogicView.TipPopView().FlashingBox(Language.StringByID(StringId.saveFail)); } -- Gitblit v1.8.0