| | |
| | | VerticalScrolViewLayout vv = new VerticalScrolViewLayout |
| | | { |
| | | Y = funAllAreaView.frameLayout.Bottom, |
| | | Height = Application.GetRealHeight(667 - 64 - 50 * funCount - 8), |
| | | Height = Application.GetRealHeight(667 - 64 - 50 * funCount - 8-50), |
| | | }; |
| | | viewLayout.AddChidren(vv); |
| | | if (!MainView.IsGatewayType) |
| | |
| | | funView.btnLine.X = Application.GetRealWidth(16); |
| | | funView.btnLine.Width = Application.GetRealWidth(343); |
| | | verticalScrolView.AddChidren(funView.FLayoutView()); |
| | | funView.btnIcon.UnSelectedImagePath = LogicMethod.Current.GetIconPath(dev.spk); |
| | | funView.btnIcon.UnSelectedImagePath = LogicMethod.Current.GetDeviceIconPath(dev); |
| | | funView.btnDeviceName.Text = dev.name; |
| | | funView.btnRoomName.Text = dev.GetRoomListName(); |
| | | |
| | | funView.btnClick.MouseUpEventHandler += (sen, e) => |
| | | { |
| | | if (if_Type == LogicMethod.condition_if) |