| | |
| | | var btnAddFrameLayout = new FrameLayout |
| | | { |
| | | X = Application.GetRealWidth(830), |
| | | Width = Application.GetRealWidth(200), |
| | | }; |
| | | this.titleFrameLayout.AddChidren(btnAddFrameLayout); |
| | | |
| | |
| | | { |
| | | SideslipFramelayout(); |
| | | }; |
| | | if (Common.Config.Instance.Home.FloorDics.Count == 0) |
| | | { |
| | | btnAddFrameLayout.Width = 0; |
| | | } |
| | | else |
| | | { |
| | | btnAddFrameLayout.Width = Application.GetRealWidth(200); |
| | | } |
| | | MidFrameLayoutContent(btnFloorText); |
| | | } |
| | | |
| | |
| | | int curIndex = 0; |
| | | foreach (var device in curTypeDeviceList) |
| | | { |
| | | curIndex++; |
| | | if (device.CommonDevice != null && device.CommonDevice.IsOnline == 0) |
| | | { |
| | | continue; |
| | |
| | | btnChoose.Visible = true; |
| | | } |
| | | } |
| | | |
| | | curIndex++; |
| | | } |
| | | if (targetList.Count == 0) |
| | | { |