HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-05-13 2be70a32d2a8c517bd9868fb60913fcc843e66fe
ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceFunctionSettionForm.cs
@@ -84,7 +84,7 @@
            //初始化桌布
            this.tableContr = new InformationEditorControl();
            if (this.deviceObj.Type == DeviceType.FreshAir)
            if (this.deviceObj.Type == DeviceType.FreshAir || this.deviceObj.Type == DeviceType.PMSensor)
            {
                this.listview = tableContr.InitControl(listBackControl.frameTable, Language.StringByID(R.MyInternationalizationString.uDeviceEditor), 1028);
            }
@@ -330,6 +330,19 @@
                        frameBack.Y = Application.GetRealHeight(153);
                        frameBack.Gravity = Gravity.Center;
                    }
                    //如果是PM2.5
                    if (deviceObj.Type == DeviceType.PMSensor)
                    {
                        frame.RemoveFromParent();
                        frameBorder.Y = Application.GetRealHeight(0);
                        frameBorder.Height = Application.GetRealHeight(708);
                        frameBack.BackgroundImagePath = "RealDevice/SensorPMTwoPointFive.png";
                        frameBack.Width = this.GetPictrueRealSize(418);
                        frameBack.Height = this.GetPictrueRealSize(403);
                        frameBack.Y = Application.GetRealHeight(153);
                        frameBack.Gravity = Gravity.Center;
                    }
                }
                else
                {