duheng
2024-09-19 3816b7dfff85051c09a99f2e49196a731ce994a5
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/XhsProjectSimulationCorePage.cs
@@ -1,4 +1,7 @@
global using Yw.EPAnet;
using HStation.WinFrmUI.Xhs;
using HStation.WinFrmUI.Xhs.Core;
namespace HStation.WinFrmUI
{
    public partial class XhsProjectSimulationCorePage : DocumentPage
@@ -18,7 +21,6 @@
        private Yw.Model.HydroParterInfo _parter = null;
        private Yw.EPAnet.CheckResult _checkResult = null;
        private Yw.EPAnet.CalcuResult _calcuResult = null;
        /// <summary>
        /// 绑定数据
@@ -75,12 +77,10 @@
            }
            if (_showHideCodeList == null)
            {
            }
        }
        #endregion
        #endregion 模型
        #region 水力
@@ -133,8 +133,6 @@
            var dlg = new XhsProjectSimulationHydroCalcuFailedDlg();
            dlg.SetBindingData(_calcuResult.FailedList);
            dlg.ShowDialog();
        }
        //水力构件列表
@@ -231,7 +229,8 @@
                }
            }
        }
        #endregion
        #endregion 水力
        #region 更多
@@ -252,9 +251,23 @@
            TipFormHelper.ShowSucceed("保存成功!");
        }
        #endregion
        #endregion 更多
        #region 自动匹配
        //自动匹配
        private void barBtnAllAutoMatching_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var dlg = new AssetsAutoMatchingMainDlg();
            dlg.ShowDialog();
        }
        #endregion 自动匹配
        private void BtnPerformChart_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var dlg = new PerformChart();
            dlg.ShowDialog();
        }
    }
}
}