From 82a773d1783549caca563831aac8affc059deedf Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 07 十一月 2019 10:56:13 +0800
Subject: [PATCH] 合并了全部的代码,IOS 图片需要从新引入工程

---
 ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/GatewayProductInfoForm.cs |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/GatewayProductInfoForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/GatewayProductInfoForm.cs
index 31c7aa8..1eca0ed 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/GatewayProductInfoForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/GatewayProductInfoForm.cs
@@ -171,13 +171,6 @@
                 this.ShowMassage(ShowMsgType.Error, msg);
                 return;
             }
-            string nameValue = HdlGatewayLogic.Current.GetGatewayName(zbGateway);
-            if (nameValue == gwName)
-            {
-                //鍚屽悕涓嶉渶瑕佸鐞�
-                this.CloseForm();
-                return;
-            }
             HdlThreadLogic.Current.RunThread(() =>
             {
                 //淇敼鍚嶅瓧
@@ -212,8 +205,14 @@
             {
                 HdlThreadLogic.Current.RunMain(() =>
                 {
-                    //鐣岄潰鍏抽棴
+                    //鍏抽棴鑷韩
                     this.CloseForm();
+                    //鏄惁鏄富椤垫坊鍔�
+                    if (UserCenterResourse.DicActionForm.ContainsKey("GatewayListForm") == false)
+                    {
+                        var form = new GatewayAddSuccessForm();
+                        form.AddForm();
+                    }
                 });
             }
         }

--
Gitblit v1.8.0