From 48ba446936b51fffafa7c3600c0dadc6ac0e8c20 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期五, 10 七月 2020 10:52:13 +0800
Subject: [PATCH] 2020-07-10-01

---
 ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UnLockMethod.cs |   15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UnLockMethod.cs b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UnLockMethod.cs
index a4368dc..d259aeb 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UnLockMethod.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/UnLockMethod.cs
@@ -288,6 +288,7 @@
                 Width = Application.GetRealHeight(757),
                 Visible = false,
                 UnSelectedImagePath = "DoorLock/UnLockBlankPic.png",
+                Gravity = Gravity.CenterHorizontal,
             };
             blankFrameLayout.AddChidren(entryStatusPic);
 
@@ -316,7 +317,7 @@
             blankFrameLayout.AddChidren(btnPicTip1);
             if (UserCenterResourse.UserInfo.AuthorityNo != 1)
             {
-                btnPicTip1.Width = 0; 
+                btnPicTip1.Width = 0;
             }
         }
 
@@ -627,6 +628,7 @@
                                      var localDoorLockObj = new ZigBee.Device.DoorLock.LocaDoorLockObj() { };
                                      localDoorLockObj.UserID = curDoorLockUser.UserID;
                                      localDoorLockObj.UnlockType = curDoorLockUser.UnlockType;
+                                     localDoorLockObj.PrimaryId = curDoorLockUser.PrimaryId;
                                      localDoorLockObj.EntryTime = curDoorLockUser.EntryTime;
                                      localDoorLockObj.UserName = refreshDoorLockData.UserIdRemarks;
                                      localDoorLockObj.ConnectedAccount = curAccountObj.SubAccountDistributedMark;
@@ -806,17 +808,6 @@
             UserView.HomePage.Instance.ScrollEnabled = true;
             ZbGateway.StatusList.Remove(this);
             base.RemoveFromParent();
-        }
-
-        public void Changed(CommonDevice common)
-        {
-        }
-        public void ChangedILogicStatus(ZigBee.Device.Logic logic)
-        {
-        }
-
-        public void ChangedISceneStatus(Scene scene)
-        {
         }
     }
 }

--
Gitblit v1.8.0