From 66a9965c44ecc32a6696abca876ab9d1cd091584 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 28 二月 2020 15:25:13 +0800
Subject: [PATCH] 2020.2.28

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

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/DoorLockLogic/AddAction.cs b/ZigbeeApp/Shared/Phone/Device/Logic/DoorLockLogic/AddAction.cs
index c600459..7ec80cf 100755
--- a/ZigbeeApp/Shared/Phone/Device/Logic/DoorLockLogic/AddAction.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/DoorLockLogic/AddAction.cs
@@ -10,7 +10,7 @@
 
         public AddAction()
         {
-            Tag = "Logic";
+            Tag = "LockLogic";
         }
         public void Show()
         {
@@ -27,14 +27,15 @@
 
             var titleName = new Button
             {
-                TextSize = 16,
+                TextSize = 17,
                 TextColor = ZigbeeColor.Current.LogicTextBlackColor,
                 TextAlignment = TextAlignment.CenterLeft,
                 X = Application.GetRealWidth(176),
-                Width = Application.GetRealWidth(400),
+                Width = Application.GetRealWidth(600),
                 Height = Application.GetRealHeight(69),
                 Y = Application.GetRealHeight(92),
                 TextID = MyInternationalizationString.addaction,
+                IsBold = true,
             };
             topRowLayout.AddChidren(titleName);
 
@@ -109,6 +110,7 @@
                 TextID = MyInternationalizationString.device,
                 TextAlignment = TextAlignment.CenterLeft,
                 TextColor = ZigbeeColor.Current.LogicTextBlackColor,
+                TextSize = 15,
             };
             devicerow.AddChidren(btndevice);
 
@@ -125,11 +127,6 @@
 
             EventHandler<MouseEventArgs> devicestateclick = (sender, e) =>
             {
-                Common.Logic.LogicDviceList.Clear();
-                if (Common.Logic.LogicDviceList.Count == 0)
-                {
-                    Common.Logic.LogicDviceList.AddRange(LocalDevice.Current.listAllDevice.ToArray());
-                }
                 var lockAddDevice = new LockAddDevice();
                 UserView.HomePage.Instance.AddChidren(lockAddDevice);
                 UserView.HomePage.Instance.PageIndex += 1;
@@ -180,6 +177,7 @@
                 TextID = MyInternationalizationString.scene,
                 TextAlignment = TextAlignment.CenterLeft,
                 TextColor = ZigbeeColor.Current.LogicTextBlackColor,
+                TextSize = 15,
             };
             sceneRowLayout.AddChidren(scene);
 

--
Gitblit v1.8.0