HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-12-14 e90209beae6a4e822cecb18e6889f8bda23f630e
ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayProductInfoForm.cs
@@ -125,7 +125,7 @@
            //设备类型 (固定智能网关)
            caption = Language.StringByID(R.MyInternationalizationString.uDeviceType);
            var infoContent = HdlDeviceCommonLogic.Current.GetDeviceModelIdNameInfo("1");
            var infoContent = Common.LocalDevice.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.AddFormAndCloseNowForm(form, zbGateway);
                    this.AddFromAndRemoveNowForm(form, zbGateway);
                };
                listBackControl.frameTable.AddChidren(btnHelp);
                //底线
                int lineWidth = btnHelp.GetRealWidthByText();
                var btnLine = new NormalViewControl(lineWidth, HdlControlResourse.BottomLineHeight, false);
                var btnLine = new NormalViewControl(lineWidth, ControlCommonResourse.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 (HdlFormLogic.Current.IsFormOpen("GatewayListForm") == false)
                    if (UserCenterResourse.DicActionForm.ContainsKey("GatewayListForm") == false)
                    {
                        var form = new GatewayAddSuccessForm();
                        form.AddForm();