黄学彪
2020-12-16 0d9f64668fd7350d6a21fd157e32009a96d98134
ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayProductInfoForm.cs
@@ -125,7 +125,7 @@
            //设备类型 (固定智能网关)
            caption = Language.StringByID(R.MyInternationalizationString.uDeviceType);
            var infoContent = Common.LocalDevice.Current.GetDeviceModelIdNameInfo("1");
            var infoContent = HdlDeviceCommonLogic.Current.GetDeviceModelIdNameInfo("1");
            var btnType = new FrameCaptionViewControl(caption, infoContent != null ? infoContent.A类型名字 : string.Empty, listview.rowSpace / 2);
            btnType.UseClickStatu = false;
            listview.AddChidren(btnType);
@@ -160,12 +160,12 @@
                btnHelp.ButtonClickEvent += (sender, e) =>
                {
                    var form = new GatewayManage.GatewayInfoEditorForm();
                    this.AddFromAndRemoveNowForm(form, zbGateway);
                    this.AddFormAndCloseNowForm(form, zbGateway);
                };
                listBackControl.frameTable.AddChidren(btnHelp);
                //底线
                int lineWidth = btnHelp.GetRealWidthByText();
                var btnLine = new NormalViewControl(lineWidth, ControlCommonResourse.BottomLineHeight, false);
                var btnLine = new NormalViewControl(lineWidth, HdlControlResourse.BottomLineHeight, false);
                btnLine.BackgroundColor = UserCenterColor.Current.TextOrangeColor;
                btnLine.Gravity = Gravity.CenterHorizontal;
                btnLine.Y = btnHelp.Bottom - Application.GetRealHeight(8);
@@ -243,7 +243,7 @@
                    //关闭自身
                    this.CloseForm();
                    //是否是主页添加
                    if (UserCenterResourse.DicActionForm.ContainsKey("GatewayListForm") == false)
                    if (HdlFormLogic.Current.IsFormOpen("GatewayListForm") == false)
                    {
                        var form = new GatewayAddSuccessForm();
                        form.AddForm();