duheng
2024-09-20 8a8983dd2053b631c559b257b1501d740bedf4a5
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/XhsProjectSimulationCorePage.cs
@@ -254,14 +254,19 @@
                return;
            }
            _hydroInfo = await BLLFactory<Yw.BLL.HydroModelInfo>.Instance.GetByID(id);
            //this.xhsProjectSimulationPropertyCtrl1.SetBindingData(_hydroInfo);
            //this.xhsProjectSimulationPropertyCtrl1.SetMatching(_hydroInfo);
            TipFormHelper.ShowSucceed("保存成功!");
        }
        //自动匹配
        private void barBtnAllAutoMatching_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var dlg = new AssetsAutoMatchingMainDlg(new AssetsAutoMatchingInputViewModel());
            var dlg = new AssetsAutoMatchingMainDlg();
            // dlg.SetBindingData();
            dlg.RelaodEvent += (rhs) =>
            {
                return false;
            };
            dlg.ShowDialog();
        }
@@ -291,7 +296,5 @@
            await this.xhsProjectSimulationBimfaceCtrl1.SetSelectedComponents(new List<string>() { parter.Code });
            ShowProperty();
        }
    }
}