From d1ab259186e2341a0839c87300065e9bb5f14e9c Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期二, 12 十一月 2019 10:42:14 +0800 Subject: [PATCH] 2019.11.12 --- 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