lixiaojun
2024-12-05 84820e6296602b263633ff9a960bfd15cf0618de
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/00-core/XhsProjectSimulationMatchingListCtrl.cs
@@ -1,4 +1,4 @@
namespace HStation.WinFrmUI.Xhs
namespace HStation.WinFrmUI
{
    public partial class XhsProjectSimulationMatchingListCtrl : DevExpress.XtraEditors.XtraUserControl
    {
@@ -22,13 +22,13 @@
        public event Func<AssetsMatchingViewModel, bool> ApplyMatchingEvent;
        private BLL.PumpMain _pumpMain = null;
        private BLL.AssetsPumpMain _AssetsPumpMain = null;
        private BLL.AdaptingManage _adaptingManage = null;
        private BLL.PipeMain _pipeLineManage = null;
        private BLL.AssetsPipeMain _pipeLineManage = null;
        private BLL.ValveMain _valveMain = null;
        private BLL.AssetsValveMain _AssetsValveMain = null;
        private AssetsMatchingViewModel _assetsAutoMatching = null;
@@ -58,17 +58,17 @@
        {
            if (input == null)
                return null;
            _pumpMain = new BLL.PumpMain();
            _AssetsPumpMain = new BLL.AssetsPumpMain();
            _adaptingManage = new BLL.AdaptingManage();
            _pipeLineManage = new BLL.PipeMain();
            _valveMain = new BLL.ValveMain();
            var allPump = await _pumpMain.GetAll();
            _pipeLineManage = new BLL.AssetsPipeMain();
            _AssetsValveMain = new BLL.AssetsValveMain();
            var allPump = await _AssetsPumpMain.GetAll();
            var allAdapting = await _adaptingManage.GetAll();
            var allPipeLine = await _pipeLineManage.GetAll();
            var allValve = await _valveMain.GetAll();
            var allElbow = await new BLL.ElbowMain().GetAll();
            var allThreeLink = await new BLL.ThreeLinkMain().GetAll();
            var allFourLink = await new BLL.FourLinkMain().GetAll();
            var allValve = await _AssetsValveMain.GetAll();
            var allElbow = await new BLL.AssetsElbowMain().GetAll();
            var allThreeLink = await new BLL.AssetsThreelinkMain().GetAll();
            var allFourLink = await new BLL.AssetsFourlinkMain().GetAll();
            var assetsAutoMatching = new AssetsMatchingViewModel();
            //泵匹配
            var pumpMatching = await this.pumpMatchingCtrl1.SetMatching(input.PumpMatchingList, allPump);