| | |
| | | /// <summary> |
| | | /// 默认选中是房间时:全部区域 |
| | | /// </summary> |
| | | private Entity.Room selectedRoom = new Entity.Room { uid = Language.StringByID(StringId.allAreas) }; |
| | | private Entity.Room selectedRoom = new Entity.Room { roomId ="6688" }; |
| | | /// <summary> |
| | | /// 表示是(条件/目标) |
| | | /// </summary> |
| | |
| | | |
| | | FrameLayout bghFrameLyout = new FrameLayout |
| | | { |
| | | X = Application.GetRealWidth(10), |
| | | X = Application.GetRealWidth(118), |
| | | Y = Application.GetRealHeight(103), |
| | | Width = Application.GetRealWidth(160), |
| | | Height = Application.GetRealHeight(21 + 44), |
| | |
| | | funView.btnLine.X = Application.GetRealWidth(16); |
| | | funView.btnLine.Width = Application.GetRealWidth(343); |
| | | verticalScrolView.AddChidren(funView.FLayoutView()); |
| | | funView.btnIcon.UnSelectedImagePath = LogicMethod.GetIconPath(dev.functionType); |
| | | funView.btnIcon.UnSelectedImagePath = LogicMethod.GetIconPath(dev.spk); |
| | | funView.btnDeviceName.Text = dev.name; |
| | | funView.btnRoomName.Text = dev.GetRoomListName(); |
| | | funView.btnClick.MouseUpEventHandler += (sen,e) => { |