From cb7fd6a89ad9fcd9cf575025ab43873f17bf17c8 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期四, 31 十二月 2020 16:46:59 +0800
Subject: [PATCH] 2020-12-31-1

---
 ZigbeeApp/Shared/Phone/Device/Logic/DelayTime.cs |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/DelayTime.cs b/ZigbeeApp/Shared/Phone/Device/Logic/DelayTime.cs
index ba16f23..c2fab2e 100644
--- a/ZigbeeApp/Shared/Phone/Device/Logic/DelayTime.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/DelayTime.cs
@@ -31,37 +31,37 @@
             var middle = new FrameLayout
             {
                 Y = view.topRowLayout.Bottom,
-                Height = Application.GetRealHeight(1920 - 184),
+                Height = Application.GetRealHeight(Method.H - 184),
                 BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor,
             };
             this.AddChidren(middle);
 
             var blancolorFl = new FrameLayout
             {
-                Width = Application.GetMinRealAverage(200),
-                Height = Application.GetMinRealAverage(200),
+                Width = Application.GetRealWidth(200),
+                Height = Application.GetRealWidth(200),
                 Y = Application.GetRealHeight(130),
                 BackgroundColor = 0xFFFFFFFF,
-                Radius = (uint)Application.GetMinRealAverage(100),
+                Radius = (uint)Application.GetRealWidth(100),
                 X = Application.GetRealWidth(440),
             };
             middle.AddChidren(blancolorFl);
             var colorBtn = new Button
             {
-                Width = Application.GetMinRealAverage(200-24),
-                Height =Application.GetMinRealAverage(200-24),
-                Y = Application.GetRealHeight(12),
+                Width = Application.GetRealWidth(200-24),
+                Height =Application.GetRealWidth(200-24),
+                X = Application.GetRealWidth(12),
+                Y = Application.GetRealWidth(12),
                 BackgroundColor = 0xFFFEF1ED,
                 Radius = (uint)Application.GetMinRealAverage(88),
-                X = Application.GetRealWidth(12),
             };
             blancolorFl.AddChidren(colorBtn);
             var btnicon = new Button
             {
                 X = Application.GetRealWidth(58),
-                Width = Application.GetMinRealAverage(84),
-                Height = Application.GetMinRealAverage(84),
-                Y = Application.GetRealHeight(58),
+                Y = Application.GetRealWidth(58),
+                Width = Application.GetRealWidth(84),
+                Height = Application.GetRealWidth(84),
                 UnSelectedImagePath = "ZigeeLogic/delay.png",
             };
             blancolorFl.AddChidren(btnicon);

--
Gitblit v1.8.0