黄学彪
2019-12-09 163777d8a2cb7cfa469f54a7042528870ebc10a3
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;
                }
                //开始Wi-Fi配网
                HdlWifiLogic.Current.StartSmartConnection(rowWifi.Text, btnPsw.Text, "1");
                HdlWifiLogic.Current.StartSmartConnection(rowWifi.Text, btnPsw.Text, "");
                var form = new WirelessUdpSearchForm();
                this.AddFromAndRemoveNowForm(form);
            };