HDL Home App 第二版本 旧平台金堂用 正在使用
hxb
2022-08-30 25429f085093d89d543a0b90e30d0d62d1b7dac9
ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApDirection2Form.cs
@@ -38,12 +38,12 @@
            btnNext.ButtonClickEvent += (sender, e) =>
            {
                //如果不是热点模式
                if (HdlWifiLogic.Current.IsGatewayHotspot == false)
                {
                    //选择hdlZigbeeGW-xxxx网络
                    this.ShowMassage(ShowMsgType.Error, Language.StringByID(R.MyInternationalizationString.uPleaseSelectGatewayXXNet));
                    return;
                }
                //if (HdlWifiLogic.Current.IsGatewayHotspot == false)
                //{
                //    //选择hdlZigbeeGW-xxxx网络
                //    this.ShowMassage(ShowMsgType.Error, Language.StringByID(R.MyInternationalizationString.uPleaseSelectGatewayXXNet));
                //    return;
                //}
                var errorMsg = HdlWifiLogic.Current.StartApTcpConnection();
                if (errorMsg != null)
                {
@@ -55,10 +55,10 @@
                this.AddFromAndRemoveNowForm(form);
            };
            //如果不是网关热点
            if (HdlWifiLogic.Current.IsGatewayHotspot == false)
            {
                btnNext.Visible = false;
            }
            //if (HdlWifiLogic.Current.IsGatewayHotspot == false)
            //{
            //    btnNext.Visible = false;
            //}
            //图片
            var framePic = new FrameLayout();