| | |
| | | public override async void InitialDataSource() |
| | | { |
| | | base.InitialDataSource(); |
| | | //_allProjectList = await BLLFactory<HStation.BLL.XhsProject>.Instance.GetAll(); |
| | | _allProjectList = await new BLL.Facility().GetAll(); |
| | | //this.xhsProjectHomeTitleCtrl1.SetBindingData(); |
| | | await this.mapViewProjectListContainer2.InitialContainer(); |
| | | } |
| | |
| | | base.RefreshData(); |
| | | _allProjectList = await new BLL.Facility().GetAll(); |
| | | // this.xhsProjectHomeTitleCtrl1.SetBindingData(); |
| | | // await this.mapViewProjectListContainer1.SetProjectList(_allProjectList); |
| | | await this.mapViewProjectListContainer2.SetProjectList(_allProjectList); |
| | | // this.homeXhsProjectTreeListCtrl1.SetBindingData(_allProjectList); |
| | | } |
| | | |
| | | //地图加载完成 |
| | | private async void MapViewProjectListContainer1_LoadCompletedEvent() |
| | | { |
| | | // await this.mapViewProjectListContainer1.SetProjectList(_allProjectList); |
| | | await this.mapViewProjectListContainer2.SetProjectList(_allProjectList); |
| | | // this.homeXhsProjectTreeListCtrl1.SetBindingData(_allProjectList); |
| | | } |
| | | |