From 163777d8a2cb7cfa469f54a7042528870ebc10a3 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 09 十二月 2019 17:46:20 +0800 Subject: [PATCH] 一个新版本 --- ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessUdpSelectNetworkForm.cs | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessUdpSelectNetworkForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessUdpSelectNetworkForm.cs index 9ec7cc9..fc956cb 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessUdpSelectNetworkForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessUdpSelectNetworkForm.cs @@ -28,15 +28,17 @@ //鎵撳紑杩涘害鏉� this.ShowProgressBar(); var ssid = HdlWifiLogic.Current.SSID; - //鍏抽棴杩涘害鏉� - this.CloseProgressBar(); if (ssid == null) { //鑾峰彇缃戠粶SSID澶辫触 string msg = Language.StringByID(R.MyInternationalizationString.uGetSsidFail); - this.ShowMassage(ShowMsgType.Error, msg); + this.ShowMassage(ShowMsgType.Tip, msg); + //鍏抽棴杩涘害鏉� + this.CloseProgressBar(ShowReLoadMode.YES); return; } + //鍏抽棴杩涘害鏉� + this.CloseProgressBar(); HdlThreadLogic.Current.RunMain(() => { @@ -122,7 +124,7 @@ return; } //寮�濮媁i-Fi閰嶇綉 - HdlWifiLogic.Current.StartSmartConnection(rowWifi.Text, btnPsw.Text, "1"); + HdlWifiLogic.Current.StartSmartConnection(rowWifi.Text, btnPsw.Text, ""); var form = new WirelessUdpSearchForm(); this.AddFromAndRemoveNowForm(form); }; -- Gitblit v1.8.0