黄学彪
2020-12-17 9f326f4000847e6167d8166fa2f6a66f53cb3734
ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorCarbonMonoxideDirectionForm.cs
@@ -30,8 +30,8 @@
        {
            //图片
            var framePic = new FrameLayout();
            framePic.Width = Application.GetMinRealAverage(861);
            framePic.Height = Application.GetMinRealAverage(706);
            framePic.Width = this.GetPictrueRealSize(861);
            framePic.Height = this.GetPictrueRealSize(706);
            framePic.Gravity = Gravity.CenterHorizontal;
            framePic.Y = Application.GetRealHeight(135);
            bodyFrameLayout.AddChidren(framePic);
@@ -40,9 +40,9 @@
            framePic.AddChidren(btnPic);
            //绿色指示灯快速闪烁
            var btnGreanLinght = new NormalViewControl(Application.GetMinRealAverage(501), Application.GetMinRealAverage(45), false);
            btnGreanLinght.X = Application.GetMinRealAverage(357);
            btnGreanLinght.Y = Application.GetMinRealAverage(326);
            var btnGreanLinght = new NormalViewControl(this.GetPictrueRealSize(501), this.GetPictrueRealSize(45), false);
            btnGreanLinght.X = this.GetPictrueRealSize(357);
            btnGreanLinght.Y = this.GetPictrueRealSize(326);
            btnGreanLinght.TextAlignment = TextAlignment.Center;
            btnGreanLinght.TextColor = UserCenterColor.Current.TextGrayColor3;
            btnGreanLinght.TextSize = 10;
@@ -56,8 +56,8 @@
            {
                textMsg = string.Format(textMsg, "5");
            }
            var btnSecond2 = new NormalViewControl(Application.GetMinRealAverage(357), Application.GetMinRealAverage(45), false);
            btnSecond2.Y = Application.GetMinRealAverage(222);
            var btnSecond2 = new NormalViewControl(this.GetPictrueRealSize(357), this.GetPictrueRealSize(45), false);
            btnSecond2.Y = this.GetPictrueRealSize(222);
            btnSecond2.TextColor = UserCenterColor.Current.TextGrayColor3;
            btnSecond2.TextSize = 10;
            btnSecond2.TextAlignment = TextAlignment.Center;