| | |
| | | /// <param name="key">Key.</param> |
| | | async void RefreshList() |
| | | { |
| | | #region BindEmptyPic UI |
| | | this.midFrameLayout.RemoveAll(); |
| | | |
| | | var entryStatusPic = new Button |
| | |
| | | }; |
| | | this.midFrameLayout.AddChidren(midVerticalScrolViewLayout); |
| | | midVerticalScrolViewLayout.RemoveAll(); |
| | | #endregion |
| | | |
| | | if (currentKey.bindList.Count == 0) |
| | | { |
| | |
| | | rowLayout.AddRightView(btnDel); |
| | | #endregion |
| | | |
| | | #region 绑定数据处理 |
| | | |
| | | #region 绑定数据处理 |
| | | bool isExistScene = false; |
| | | |
| | | foreach (var sc in currentKey.bindList) |
| | |
| | | |
| | | if (isExistScene) |
| | | { |
| | | devicePic.UnSelectedImagePath = "Item/Scene.png"; |
| | | devicePic.UnSelectedImagePath = "SceneIcon/4.png"; |
| | | devicePic.Width = Application.GetMinRealAverage(110); |
| | | |
| | | if (bindDevice.ESName == "") |