| | |
| | | lockConditionsInfo.Add("Range", "0"); |
| | | var accounts = new Dictionary<string, string>(); |
| | | accounts.Add("Type", "1"); |
| | | accounts.Add("Account", membershipIfon.UserName + modeName); |
| | | accounts.Add("Account", Config.Instance.Guid); |
| | | accounts.Add("AccountName", membershipIfon.UserName + modeName); |
| | | accounts.Add("UserId", attriButeData2); |
| | | if (SelectedLockStatus != "") |
| | | { |
| | |
| | | } |
| | | } |
| | | } |
| | | if (!addCondition) |
| | | { |
| | | Common.Logic.CurrentLogic.Conditions.Add(lockConditionsInfo); |
| | | } |
| | | |
| | | for (int i = 0; i < Common.Logic.CurrentLogic.Accounts.Count; i++) |
| | | { |
| | |
| | | } |
| | | } |
| | | } |
| | | if (!addCondition) |
| | | {//没有存在数据新加 |
| | | Common.Logic.CurrentLogic.Conditions.Add(lockConditionsInfo); |
| | | } |
| | | if (!addAccount) |
| | | { |
| | | {//没有存在数据新加 |
| | | Common.Logic.CurrentLogic.Accounts.Add(accounts); |
| | | } |
| | | } |