| | |
| | | |
| | | //主线程的异步会阻塞主线程,导致界面有段时间会白屏,所以这样子让界面先出来 |
| | | //然后再刷新数据 |
| | | HdlThreadLogic.Current.RunThread(() =>
|
| | | HdlThreadLogic.Current.RunMainInThread(() =>
|
| | | {
|
| | | Application.RunOnMainThread(() =>
|
| | | {
|
| | | //初始化记录列表
|
| | | this.InitLogListInfo();
|
| | | });
|
| | | //初始化记录列表
|
| | | this.InitLogListInfo();
|
| | | });
|
| | | }
|
| | |
|
| | |
| | | btnScreeningIcon.Gravity = Gravity.CenterVertical;
|
| | | btnScreeningIcon.UnSelectedImagePath = "Item/ScreeningType.png";
|
| | | frameTitle.AddChidren(btnScreeningIcon, ChidrenBindMode.NotBind);
|
| | | btnScreeningIcon.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | //显示类型筛选界面
|
| | | this.ShowDoorLockScreeningTypeForm();
|
| | | };
|
| | |
|
| | | //底线
|
| | | frameTitle.AddBottomLine();
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | btnIcon.UnSelectedImagePath = "Item/UnLockSuccess.png";
|
| | | btnIcon.UnSelectedImagePath = "Item/UnLockFail.png";
|
| | | }
|
| | |
|
| | | //信息
|
| | |
| | | List<string> listUser = null;
|
| | | if (listSearchUserId.Contains("-1") == false)
|
| | | {
|
| | | listUser = new List<string>();
|
| | | listUser.AddRange(listSearchUserId);
|
| | | //移除其他,因为云端固定会给
|
| | | listUser.Remove("");
|
| | |
| | | List<int> listLock = null;
|
| | | if (listSearchLockId.Contains(-1) == false)
|
| | | {
|
| | | listLock = new List<int>();
|
| | | listLock.AddRange(listSearchLockId);
|
| | | }
|
| | |
|