From 38ab16c66df6fc523f2c385fd583a2f2e86a781c Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 29 四月 2020 17:58:45 +0800
Subject: [PATCH] 2020-4-29-1

---
 ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceAcDetailCardForm.cs |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceAcDetailCardForm.cs b/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceAcDetailCardForm.cs
index 5398b62..13fae51 100755
--- a/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceAcDetailCardForm.cs
+++ b/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceAcDetailCardForm.cs
@@ -84,7 +84,7 @@
             //娓呮礂婊ょ綉鎻愮ず鐨凢rameLayout
             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 = "鈩�";

--
Gitblit v1.8.0