old mode 100755
new mode 100644
| | |
| | | { |
| | | ["Type"] = int.Parse(dictionary["Type"]), |
| | | ["Account"] = dictionary["Account"], |
| | | ["UserId"] = dictionary["UserId"], |
| | | |
| | | }; |
| | | accounts.Add(accounts1); |
| | |
| | | |
| | | public static async System.Threading.Tasks.Task<string> ReadUserList(string doorlockMac) |
| | | { |
| | | string s = null; |
| | | string s = null; |
| | | var str = await WebClientAsync(0, CommonPage.RequestHttpsHost+"/App/GetHomePager");//不同区域域名前缀不一样 |
| | | // var str = await WebClientAsync(0, "https://global.hdlcontrol.com/HangZhouHdlCloudApi/App/GetHomePager"); |
| | | var jObject = JObject.Parse(str); |
| | |
| | | } |
| | | return s; |
| | | } |
| | | |
| | | |
| | | public static async System.Threading.Tasks.Task<string> ReadUserDoorLock(Residential residential) |
| | | { |
| | | |
| | |
| | | if (value == 0) |
| | | { |
| | | postValues.Add("RequestVersion", CommonPage.RequestVersion); |
| | | postValues.Add("ReqDto.LoginAccessToken", Config.Instance.Token);
|
| | | postValues.Add("ReqDto.LoginAccessToken", Config.Instance.Token); |
| | | postValues.Add("ReqDto.PageSetting.PageSize", Int32.MaxValue.ToString());// |
| | | |
| | | } |
| | |
| | | postValues.Add("LoginAccessToken", residential.Token); |
| | | postValues.Add("HomeId", residential.Id); |
| | | postValues.Add("DoorLockId", residential.doorlockmac);//门锁Mac |
| | | postValues.Add("IsOtherAccountCtrl", residential.IsOtherAccountCtrl.ToString());
|
| | | postValues.Add("IsOtherAccountCtrl", residential.IsOtherAccountCtrl.ToString()); |
| | | postValues.Add("PageSetting.PageSize", Int32.MaxValue.ToString()); |
| | | } |
| | | System.Net.WebClient webClient = new System.Net.WebClient(); |
| | |
| | | public string doorlockmac; |
| | | } |
| | | |
| | | public class MembershipIfon |
| | | public class MembershipIfon |
| | | { |
| | | /// <summary> |
| | | /// 识别用户身份 |
| | |
| | | |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 门锁列表 |
| | | /// </summary> |
| | | public static List<MembershipIfon> LockList = new List<MembershipIfon>(); |
| | | |
| | | /// <summary> |
| | | /// 当前门锁 |
| | | /// </summary> |