| | |
| | | System.Threading.Tasks.Task.Run(() => |
| | | { |
| | | //DriverLayer.Control.Ins.SearchLoaclGateway(); |
| | | //MainPage.GetRoomList(); |
| | | MainPage.GetDeviceList(); |
| | | MainPage.InitializationData(); |
| | | }); |
| | | }; |
| | | #endif |
| | |
| | | Width = Application.GetRealWidth(164), |
| | | Height = Application.GetRealWidth(122), |
| | | Tag = scene.sid, |
| | | BackgroundImagePath = (scene as Scene).ImagePath, |
| | | BackgroundImagePath = scene.ImagePath, |
| | | }; |
| | | rowView.AddChidren(functionView); |
| | | |
| | |
| | | Action refreshAction = () => { |
| | | btnName.Text = scene.name; |
| | | btnZone.Text = scene.GetRoomListName(); |
| | | view.BackgroundImagePath = (scene as Scene).ImagePath; |
| | | view.BackgroundImagePath = scene.ImagePath; |
| | | }; |
| | | var aep = new SceneEditPage(scene as Scene, backAction); |
| | | var aep = new SceneEditPage(scene, backAction); |
| | | MainPage.BasePageView.AddChidren(aep); |
| | | aep.LoadPage(StringId.EditScene, refreshAction); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |