From 2fb0c39b09110be4f5a88a8c8004f03fc257f612 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 06 一月 2021 11:11:53 +0800
Subject: [PATCH] 2021-1-6-1

---
 ZigbeeApp/Shared/Phone/Device/Logic/Cycle.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/Cycle.cs b/ZigbeeApp/Shared/Phone/Device/Logic/Cycle.cs
index 5f733d0..0be91d1 100644
--- a/ZigbeeApp/Shared/Phone/Device/Logic/Cycle.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/Cycle.cs
@@ -31,7 +31,7 @@
             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);
@@ -46,8 +46,8 @@
             FunView onceView = new FunView();
             onceView.iconBtn.UnSelectedImagePath = "ZigeeLogic/point.png";
             onceView.funnameBtn.TextID = MyInternationalizationString.executeonce;
-            onceView.funnextBtn.Width = Application.GetMinRealAverage(60);
-            onceView.funnextBtn.Height = Application.GetMinRealAverage(60);
+            onceView.funnextBtn.Width = Application.GetRealWidth(60);
+            onceView.funnextBtn.Height = Application.GetRealWidth(60);
             onceView.funnextBtn.UnSelectedImagePath = "ZigeeLogic/selected.png";
             onceView.funnextBtn.Visible = false;
             middle.AddChidren(onceView.FunFrameView());
@@ -59,8 +59,8 @@
             dayView.funFrameLayout.Y = onceView.funFrameLayout.Bottom;
             dayView.iconBtn.UnSelectedImagePath = "ZigeeLogic/point.png";
             dayView.funnameBtn.TextID = MyInternationalizationString.everyday;
-            dayView.funnextBtn.Width = Application.GetMinRealAverage(60);
-            dayView.funnextBtn.Height = Application.GetMinRealAverage(60);
+            dayView.funnextBtn.Width = Application.GetRealWidth(60);
+            dayView.funnextBtn.Height = Application.GetRealWidth(60);
             dayView.funnextBtn.UnSelectedImagePath = "ZigeeLogic/selected.png";
             dayView.funnextBtn.Visible = false;
             middle.AddChidren(dayView.FunFrameView());
@@ -157,7 +157,7 @@
                 {
 
 
-                    var alert = new UserCenter.ShowMsgControl(UserCenter.ShowMsgType.Normal,
+                    var alert = new UserCenter.ShowMsgControl(ShowMsgType.Normal,
                            Language.StringByID(MyInternationalizationString.selectweek),
                           Language.StringByID(MyInternationalizationString.confrim));
                     alert.Show();

--
Gitblit v1.8.0