From eed381ca472abb06e386281e604569ebf80bbfe3 Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期四, 26 三月 2020 17:51:41 +0800
Subject: [PATCH] 2020-03-26

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

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/WeekPage.cs b/ZigbeeApp/Shared/Phone/Device/Logic/WeekPage.cs
index c30fa40..644affd 100644
--- a/ZigbeeApp/Shared/Phone/Device/Logic/WeekPage.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/WeekPage.cs
@@ -15,15 +15,12 @@
   
         public void Show (string titlename)
         {
-            var weeklist = new List<string> ();
 
-            #region  涓婇潰鐨勫竷灞�浠g爜
+            #region  鐣岄潰鐨勫竷灞�浠g爜
             TopView view = new TopView();
             this.AddChidren(view.TopRowView());
             view.toptitleNameBtn.Text=titlename;
             view.clickBtn.MouseDownEventHandler += (sender, e) => { RemoveFromParent(); };
-            #endregion
-
             var middle = new VerticalScrolViewLayout
             {
                 Y = view.topRowLayout.Bottom,
@@ -31,11 +28,12 @@
                 BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor,
             };
             this.AddChidren(middle);
-
             LogicView.SaveView saveView = new LogicView.SaveView();
             saveView.frameLayout.Y = middle.Bottom;
             this.AddChidren(saveView.Show());
+            #endregion
 
+            var weeklist = new List<string>();
             if (Common.Logic.CurrentLogic.TimeAttribute.Repeat == 5)
             {
                 string len = "";
@@ -83,7 +81,6 @@
                     }
                 }
             }
-
             var cyclelist = new List<string> ();
             cyclelist.AddRange (new string [] {
                         Language.StringByID(MyInternationalizationString.mon),
@@ -138,8 +135,6 @@
                 };
 
             }
-
-
             saveView.clickviewBtn.MouseUpEventHandler += (sender, e) =>
             {
 

--
Gitblit v1.8.0