From ef63c84b3b408fea661f84d3f9ecc237787af250 Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期一, 09 十二月 2019 11:10:07 +0800
Subject: [PATCH] 2019-12-09-1

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

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/DelayTime.cs b/ZigbeeApp/Shared/Phone/Device/Logic/DelayTime.cs
index 63dae7a..50afd43 100644
--- a/ZigbeeApp/Shared/Phone/Device/Logic/DelayTime.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/DelayTime.cs
@@ -17,7 +17,7 @@
             Tag = "Logic";
         }
 
-        public void Show(int isInt=0, bool edit=false)
+        public void Show(int isInt = 0, bool edit = false)
         {
 
             #region  鏈�涓婇潰鐨勫竷灞�浠g爜
@@ -78,7 +78,6 @@
             };
             this.AddChidren(middle);
 
-
             var blancolor = new FrameLayout
             {
                 Width = Application.GetMinRealAverage(200),
@@ -114,7 +113,7 @@
                 Height = Application.GetMinRealAverage(60),
                 X = Application.GetRealWidth(300),
                 Y = blancolor.Bottom + Application.GetRealHeight(50),
-                TextID =MyInternationalizationString.createtimetext,
+                TextID = MyInternationalizationString.createtimetext,
                 TextColor = ZigbeeColor.Current.LogicTextBlackColor,
                 TextSize = 15,
 
@@ -129,7 +128,6 @@
             };
             middle.AddChidren(PickerViewfra);
             PickerViewfra.SetCornerWithSameRadius(Application.GetRealHeight(50), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight);
-            
 
             var mUIPickerView = new UIPickerView
             {
@@ -162,7 +160,7 @@
             int value = 0;
             if (edit)
             {
-                
+
                 timevalue = int.Parse(Common.Logic.CurrentLogic.Actions[isInt]["DelayTime"].ToString());
                 if (timevalue > 3600)
                 {
@@ -177,7 +175,7 @@
                     //鏇存柊鏈�鏂扮姸鎬�
                     mUIPickerView.setCurrentItems(minutevalue1, secondvalue1, 0);
                 }
-             
+
                 value = timevalue;
             }
             string selectde = "";
@@ -189,7 +187,6 @@
                 selectde = "yes";
 
             };
-
 
             var btnsave = new Button
             {
@@ -211,7 +208,7 @@
                 {
                     return;
                 }
-                if (selectde != ""|| timevalue==5)
+                if (selectde != "" || timevalue == 5)
                 {
                     Dictionary<string, object> actionsInfo = new Dictionary<string, object>();
                     actionsInfo.Add("LinkType", 7);
@@ -243,6 +240,7 @@
                 UserView.HomePage.Instance.PageIndex += 1;
                 logicCommunalPage.Show(() => { });
             };
+
         }
     }
 }

--
Gitblit v1.8.0