From 6a518151a9a8efb62c768198aebe4a0ff9ce77f2 Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期四, 21 十一月 2019 11:11:12 +0800
Subject: [PATCH] 2019-11-21-1

---
 ZigbeeApp/Shared/Phone/Device/Category/Category.cs |   33 +++++++++++++++++++--------------
 1 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Category/Category.cs b/ZigbeeApp/Shared/Phone/Device/Category/Category.cs
old mode 100755
new mode 100644
index d725284..1df65c0
--- a/ZigbeeApp/Shared/Phone/Device/Category/Category.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Category/Category.cs
@@ -648,11 +648,12 @@
         /// <param name="sender">Sender.</param>
         /// <param name="mouseEventArgs">The ${ParameterType} instance containing the event data.</param>
         private void AutomationBtn_MouseUpEventHandler(object sender, MouseEventArgs mouseEventArgs)
-        {
-            Common.Logic.LogicDviceList.Clear();
-            if (Common.Logic.LogicDviceList.Count == 0)
-            {
-                Common.Logic.LogicDviceList.AddRange(LocalDevice.Current.listAllDevice.ToArray());
+        {
+            ///绗竴娆¤繘鏉ュ垵濮嬪寲璁惧鍒楄〃锛�
+            Common.Logic.LogicDviceList.Clear();
+            if (Common.Logic.LogicDviceList.Count == 0)
+            {
+                Common.Logic.LogicDviceList.AddRange(LocalDevice.Current.listAllDevice.ToArray());
             }
             functionBtn.IsSelected = false;
             sceneBtn.IsSelected = false;
@@ -742,6 +743,7 @@
             {
                 HidenFloor(true);
                 ShowAutotion();
+
             }
         }
 
@@ -1430,6 +1432,8 @@
                         ShowSameTypeFunction(functionTypeIMG.ImageBtn, null);
                     }
                 }
+
+
             }
         }
 
@@ -1494,7 +1498,7 @@
                     {
                         RefreshFunction(room);
                     }
-                   
+
                 }
                 roomBtn.MouseUpEventHandler += (sender, e) =>
                 {
@@ -1515,7 +1519,7 @@
                     }
                 };
             }
-            
+
         }
 
         #endregion
@@ -1600,7 +1604,7 @@
                         Tag = scene
                     };
                     leftFL.AddChidren(collectionBtn);
-                    
+
                     var sceneNameBtn = new Button()
                     {
                         Width = Application.GetRealWidth(176),
@@ -1762,7 +1766,7 @@
                                 }
                             };
                         }
-                        
+
                     };
                     deleteBtn.MouseUpEventHandler += delEvent;
                     //缂栬緫鍦烘櫙
@@ -1819,12 +1823,11 @@
         #endregion
 
         #region 鈼� 鑷姩鍖朹_________________________
-
         /// <summary>
         /// 鑷姩鍖�
         /// </summary>
         private async void ShowAutotion()
-        {
+        {
 
             functionSceneAutoBodyView.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor;
             var bjFrameLayout = new FrameLayout
@@ -1858,6 +1861,7 @@
                 TextID = MyInternationalizationString.logictemplate,
                 Gravity = Gravity.CenterVertical,
                 TextColor = ZigbeeColor.Current.LogicBtnSelectedColor,
+                TextSize=15,
             };
             bjFrameLayout.AddChidren(recommendtextBtn);
 
@@ -1928,6 +1932,7 @@
                             Y = Application.GetRealHeight(246 - 23 - 80),
                             TextAlignment = TextAlignment.CenterLeft,
                             TextColor = ZigbeeColor.Current.LogicBtnSaveTextColor,
+                            TextSize = 14,
                         };
                         frameLayout.AddChidren(logicnameBtn);
 
@@ -2004,9 +2009,8 @@
             //鑷姩鍖�
             Automationview(logicScrolView);
             CommonPage.Loading.Hide();
-            
-        }
 
+        }
         /// <summary>
         /// 鑷姩鍖栧垪琛ㄧ晫闈�
         /// </summary>
@@ -2038,6 +2042,7 @@
                     Y = Application.GetRealHeight(30),
                     TextAlignment = TextAlignment.CenterLeft,
                     TextColor = ZigbeeColor.Current.LogicTextBlackColor,
+                    TextSize = 14,
                 };
                 logicRowlayout.AddChidren(logicnameBtn);
 
@@ -2612,6 +2617,6 @@
 
         #endregion
 
-   
+
     }
 }

--
Gitblit v1.8.0