From 1adc419371631dfae3a9050fd593bbd537de9932 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 21 十二月 2020 15:03:12 +0800 Subject: [PATCH] 2020-12-21-2 --- 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 100644 --- 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