| | |
| | | /// </summary>
|
| | | public Action<List<string>, List<int>> FinishSelectEvent = null;
|
| | | /// <summary>
|
| | | /// 当前选择用户
|
| | | /// 当前选择用户((-1:所有 -9999:其他))
|
| | | /// </summary>
|
| | | private List<string> listSelectUser = new List<string>();
|
| | | /// <summary>
|
| | | /// 当前选择的开锁方式
|
| | | /// 当前选择的开锁方式(-1:所有 0:密码 15:指纹 3:IC卡 9000:常开模式(自定义的))
|
| | | /// </summary>
|
| | | private List<int> listSelectLock = new List<int>();
|
| | | /// <summary>
|
| | | /// 前回的选择用户
|
| | | /// 前回的选择用户(重置选项专用)
|
| | | /// </summary>
|
| | | private List<string> listOldSelectUser = new List<string>();
|
| | | /// <summary>
|
| | | /// 前回的选择开锁方式
|
| | | /// 前回的选择开锁方式(重置选项专用)
|
| | | /// </summary>
|
| | | private List<int> listOldSelectLock = new List<int>();
|
| | |
|
| | |
| | | dicUser.Add(keys, i_dicUser[keys]);
|
| | | }
|
| | | //其他
|
| | | dicUser.Add("", Language.StringByID(R.MyInternationalizationString.uOther));
|
| | | dicUser.Add("-9999", Language.StringByID(R.MyInternationalizationString.uOther));
|
| | |
|
| | | //选择用户
|
| | | var btnTitle = new NormalViewControl(600, 58, true);
|
| | |
| | | btnCard.TextID = R.MyInternationalizationString.uIcCard;
|
| | | btnCard.Name = "3";
|
| | | frameDetail.AddChidren(btnCard);
|
| | |
|
| | | //常开模式
|
| | | var btnNormallyOpen = this.InitLockSelectButton(listSelectLock.Contains(9000));
|
| | | btnNormallyOpen.Y = btnAll.Bottom + Application.GetRealWidth(29);
|
| | | btnNormallyOpen.TextID = R.MyInternationalizationString.uNormallyOpenMode;
|
| | | btnNormallyOpen.Name = "9000";
|
| | | frameDetail.AddChidren(btnNormallyOpen);
|
| | | }
|
| | |
|
| | | #endregion
|