From d78515ac4ac8cf4a1785d9df18058d6724f12b79 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 14 一月 2021 19:34:59 +0800
Subject: [PATCH] 合并xm2021-01-13  wjc2021-02-06

---
 ZigbeeApp/Shared/Phone/Device/Logic/WeekPage.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/WeekPage.cs b/ZigbeeApp/Shared/Phone/Device/Logic/WeekPage.cs
index 644affd..db4cf4f 100755
--- a/ZigbeeApp/Shared/Phone/Device/Logic/WeekPage.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/WeekPage.cs
@@ -24,7 +24,7 @@
             var middle = new VerticalScrolViewLayout
             {
                 Y = view.topRowLayout.Bottom,
-                Height = Application.GetRealHeight(1920 - 184-260),
+                Height = Application.GetRealHeight(Method.H - 184-260),
                 BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor,
             };
             this.AddChidren(middle);
@@ -97,8 +97,8 @@
                 FunView monView = new FunView();
                 monView.iconBtn.UnSelectedImagePath = "ZigeeLogic/point.png";
                 monView.funnameBtn.Text= name;
-                monView.funnextBtn.Width = Application.GetMinRealAverage(60);
-                monView.funnextBtn.Height = Application.GetMinRealAverage(60);
+                monView.funnextBtn.Width = Application.GetRealWidth(60);
+                monView.funnextBtn.Height = Application.GetRealWidth(60);
                 monView.funnextBtn.UnSelectedImagePath = "ZigeeLogic/selected.png";
                 monView.funnextBtn.Visible = false;
                 middle.AddChidren(monView.FunFrameView());
@@ -172,7 +172,7 @@
                 }
                 if (weekvalue == 0)
                 {
-                    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