陈嘉乐
2020-04-29 38ab16c66df6fc523f2c385fd583a2f2e86a781c
ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceAcDetailCardForm.cs
@@ -84,7 +84,7 @@
            //清洗滤网提示的FrameLayout
            this.frameClrean = new FrameLayout();
            frameClrean.Width = Application.GetRealWidth(600);
            frameClrean.Height = Application.GetMinRealAverage(69);
            frameClrean.Height = this.GetPictrueRealSize(69);
            frameClrean.X = ControlCommonResourse.XXLeft;
            frameClrean.Y = Application.GetRealHeight(35);
            frameWhiteBack.AddChidren(frameClrean);
@@ -117,8 +117,8 @@
            //空调控件的容器
            var frameAcBack = new FrameLayout();
            frameAcBack.Y = Application.GetRealHeight(412);
            frameAcBack.Width = Application.GetMinRealAverage(671);
            frameAcBack.Height = Application.GetMinRealAverage(671);
            frameAcBack.Width = this.GetPictrueRealSize(671);
            frameAcBack.Height = this.GetPictrueRealSize(671);
            frameAcBack.Gravity = Gravity.CenterHorizontal;
            frameWhiteBack.AddChidren(frameAcBack);
@@ -146,7 +146,7 @@
            //空调控件里面的那个显示制热,制冷的控件
            this.btnNowModeView = new NormalViewControl(200, 55, true);
            btnNowModeView.Y = Application.GetMinRealAverage(184);
            btnNowModeView.Y = this.GetPictrueRealSize(184);
            btnNowModeView.Gravity = Gravity.CenterHorizontal;
            btnNowModeView.Text = DeviceAcDetailCardMethord.GetModeNameByModeId(deviceAc.currentSystemMode);
            btnNowModeView.TextSize = 12;
@@ -157,8 +157,8 @@
            this.btnReduce = new IconViewControl(81);
            btnReduce.CanClick = isAcOpen;
            btnReduce.UnSelectedImagePath = "AC/Reduce.png";
            btnReduce.X = Application.GetMinRealAverage(132);
            btnReduce.Y = Application.GetMinRealAverage(268);
            btnReduce.X = this.GetPictrueRealSize(132);
            btnReduce.Y = this.GetPictrueRealSize(268);
            frameAcBack.AddChidren(btnReduce);
            btnReduce.ButtonClickEvent += (sender, e) =>
            {
@@ -173,7 +173,7 @@
            this.btnAdd = new IconViewControl(81);
            btnAdd.CanClick = isAcOpen;
            btnAdd.UnSelectedImagePath = "AC/Add.png";
            btnAdd.X = frameAcBack.Width - Application.GetMinRealAverage(81 + 132);
            btnAdd.X = frameAcBack.Width - this.GetPictrueRealSize(81 + 132);
            btnAdd.Y = btnReduce.Y;
            frameAcBack.AddChidren(btnAdd);
            btnAdd.ButtonClickEvent += (sender, e) =>
@@ -187,7 +187,7 @@
            //℃
            var btnUint = new NormalViewControl(100, 66, true);
            btnUint.Y = Application.GetMinRealAverage(366);
            btnUint.Y = this.GetPictrueRealSize(366);
            btnUint.Gravity = Gravity.CenterHorizontal;
            btnUint.TextAlignment = TextAlignment.Center;
            btnUint.Text = "℃";