From 25429f085093d89d543a0b90e30d0d62d1b7dac9 Mon Sep 17 00:00:00 2001 From: hxb <hxb@hdlchina.com.cn> Date: 星期二, 30 八月 2022 09:37:38 +0800 Subject: [PATCH] 合并了IOS的代码 --- 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