| | |
| | | using DevExpress.XtraBars.Docking; |
| | | using DevExpress.XtraBars.Docking2010.Views; |
| | | using HStation.Vmo; |
| | | using Yw; |
| | | using Yw.WinFrmUI.Page; |
| | | |
| | | namespace HStation.WinFrmUI |
| | |
| | | |
| | | } |
| | | |
| | | private XhsProjectStdDto _project = null; |
| | | private XhsProjectVmo _project = null; |
| | | private Yw.Model.HydroModelInfo _hydroInfo = null; |
| | | |
| | | /// <summary> |
| | |
| | | public async Task SetBindingData(long projectId) |
| | | { |
| | | this.xhsSchemeMgrListCtrl1.SetBindingData(projectId); |
| | | _project = await new BLL.XhsProjectStd().GetByID(projectId); |
| | | _project = await BLLFactory<HStation.BLL.XhsProject>.Instance.GetByID(projectId); |
| | | this.PageTitle.Caption = $"{_project?.Name}\r\n方案管理"; |
| | | var projectSite = await new BLL.XhsProjectSiteStd().GetDefaultByProjectID(_project.ID); |
| | | var projectSite = await BLLFactory<HStation.BLL.XhsProjectSite>.Instance.GetDefaultByProjectID(_project.ID); |
| | | if (projectSite == null) |
| | | { |
| | | return; |