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/UserCenter/DoorLock/MemberFrozenPage.cs | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MemberFrozenPage.cs b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MemberFrozenPage.cs
old mode 100755
new mode 100644
index 28e15de..f2a7d2c
--- a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MemberFrozenPage.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/MemberFrozenPage.cs
@@ -65,7 +65,7 @@
}
/// <summary>
- /// UI鏄剧ず
+ /// UI鏄剧ず
/// </summary>
public void Show()
{
@@ -219,25 +219,25 @@
unLockMethod.Show();
}
else if (currentIndex == 1)
- {
+ {
if (!btnRight.IsSelected)
{
- FreezeUser(true);
+ FreezeUser(true);
}
else
{
- FreezeUser(false);
+ FreezeUser(false);
}
}
else if (currentIndex == 2)
- {
+ {
if (!btnRight.IsSelected)
{
- HasRemoteUnlockAccessMethod(true);
+ HasRemoteUnlockAccessMethod(true);
}
else
{
- HasRemoteUnlockAccessMethod(false);
+ HasRemoteUnlockAccessMethod(false);
}
}
};
@@ -299,8 +299,8 @@
foreach (var curDoorLockUser in curAccountDoorLockUserList)
{
// 璐︽埛涓病鏈夐棬閿佺敤鎴�
- if (curDoorLockUser.DoorLockLocalUserId == null || curDoorLockUser.DoorLockLocalUserId == "")
- {
+ if (string.IsNullOrEmpty(curDoorLockUser.DoorLockLocalUserId))
+ {
}
else
{
@@ -325,16 +325,16 @@
}
//鍐荤粨/瑙e喕鐢ㄦ埛
int count1 = tempGroupId.Count;
- if (tempGroupId.Count==1)
+ if (tempGroupId.Count == 1)
{
foreach (var a in tempGroupId)
{
- if(a.Count ==0)
+ if (a.Count == 0)
{
count1 = 0;
break;
}
- }
+ }
}
int count2 = 0;
@@ -357,8 +357,8 @@
else if (resultData.defaultControlResponseData.status == 33)
{
count2++;
- }
- System.Threading.Thread.Sleep(1000);
+ }
+ System.Threading.Thread.Sleep(1000);
}
else
{
@@ -370,7 +370,7 @@
}
tempCount++;
}
-
+
// 鎵归噺鍐荤粨闂ㄩ攣涓殑璐︽埛鍚庯紝鍑嗗鍐荤粨浜戠璐︽埛
if (count2 == count1)
{
@@ -565,7 +565,7 @@
});
}
});
- };
+ };
}
//鏄惁缁欏瓙璐︽埛鎷ユ湁杩滅▼寮�閿佺殑鏉′欢
@@ -684,7 +684,7 @@
}
else
{
- //鏂板锛屼笖涓嶅喕缁�
+ //鏂板锛屼笖涓嶅喕缁�
var addLockInfo = new ZigBee.Device.DoorLock.AddDoorLockData();
if (UserCenterResourse.UserInfo.AuthorityNo != 1)
{
@@ -761,7 +761,7 @@
});
}
});
- };
+ };
}
#region 鈼� 鎺ュ彛瀹炵幇__________________________
--
Gitblit v1.8.0