| | |
| | | /// <summary>
|
| | | /// 初始化地区列表
|
| | | /// </summary>
|
| | | private async void InitAreaList()
|
| | | private void InitAreaList()
|
| | | {
|
| | | if (listAreaCode == null)
|
| | | {
|
| | |
| | |
|
| | | //获取全部的地区代码列表
|
| | | var Pra = new { Common.CommonPage.RequestVersion };
|
| | | string result = await UserCenterLogic.GetResponseDataByRequestHttps("ZigbeeUsers/GetAreaCode", false, Pra);
|
| | | string result = UserCenterLogic.GetResponseDataByRequestHttps("ZigbeeUsers/GetAreaCode", false, Pra);
|
| | | //关闭进度条
|
| | | ProgressBar.Close();
|
| | | if (result == null)
|
| | | if (string.IsNullOrEmpty(result) == true)
|
| | | {
|
| | | return;
|
| | | }
|