duheng
2024-09-22 9ffb31c233f3b4891550293294c2ee716f77b42a
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-scheme/XhsSchemeMultiMgrPage.cs
@@ -1,5 +1,7 @@
using DevExpress.XtraBars.Docking;
using DevExpress.XtraBars.Docking2010.Views;
using HStation.Vmo;
using Yw;
using Yw.WinFrmUI.Page;
namespace HStation.WinFrmUI
@@ -15,7 +17,7 @@
        }
        private XhsProjectStdDto _project = null;
        private XhsProjectVmo _project = null;
        private Yw.Model.HydroModelInfo _hydroInfo = null;
        /// <summary>
@@ -33,9 +35,9 @@
        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;