From dc0309e64f02227d8e1468b7326c07955f804612 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期三, 22 六月 2022 11:22:18 +0800 Subject: [PATCH] 修改引用路径 --- ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessUdpSelectNetworkForm.cs | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessUdpSelectNetworkForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessUdpSelectNetworkForm.cs index 9ec7cc9..cb05f8b 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(() => { @@ -96,15 +98,15 @@ btnMsg.Y = frameBack.Bottom + Application.GetRealHeight(23); btnMsg.TextSize = 12; btnMsg.Height = Application.GetRealHeight(40); - btnMsg.TextColor = UserCenterColor.Current.Red; + btnMsg.TextColor = UserCenterColor.Current.ErrorColor; bodyFrameLayout.AddChidren(btnMsg); //鏌ョ湅甯姪 var btnHelp = this.AddHelpControl(); btnHelp.ButtonClickEvent += (sender, e) => { - var form = new DeviceDirection.DeviceDirectionHelpForm(); - form.AddForm("WirelessUdp"); + var form = new AddGatewayHelpForm(); + form.AddForm("Udp"); }; //涓嬩竴姝� @@ -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