黄学彪
2020-12-17 9f326f4000847e6167d8166fa2f6a66f53cb3734
ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayProductInfoForm.cs
@@ -94,6 +94,7 @@
            if (gateWayExist == true)
            {
                btnGateName = new FrameCaptionInputControl(caption, deviceName, listview.rowSpace / 2);
                btnGateName.txtInput.MaxByte = 32;//限制只能输入32个字节
                listview.AddChidren(btnGateName);
                btnGateName.InitControl();
                //划线
@@ -124,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);
@@ -141,7 +142,7 @@
            rowBeloneArea.SelectRoomEvent += (roomKeys) =>
            {
                //变更网关房间
                HdlGatewayLogic.Current.ChangedGatewayRoom(this.zbGateway.GwId, roomKeys);
                HdlRoomLogic.Current.ChangedGatewayRoom(this.zbGateway.GwId, roomKeys);
            };
            //完成初始化桌布
@@ -159,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);
@@ -242,7 +243,7 @@
                    //关闭自身
                    this.CloseForm();
                    //是否是主页添加
                    if (UserCenterResourse.DicActionForm.ContainsKey("GatewayListForm") == false)
                    if (HdlFormLogic.Current.IsFormOpen("GatewayListForm") == false)
                    {
                        var form = new GatewayAddSuccessForm();
                        form.AddForm();