1
lixiaojun
2024-10-14 00f75453f7c1d91e898beb830222f37db6058168
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/02-pump/01-pumpsinglematching/PumpSingleMatchingForm.cs
@@ -1,10 +1,10 @@
using HStation.WinFrmUI.PhartRelation;
namespace HStation.WinFrmUI.Xhs
namespace HStation.WinFrmUI
{
    public partial class PumpSingleMatchingForm : DevExpress.XtraEditors.XtraUserControl
    public partial class PumpSingleMatchingCtrl : DevExpress.XtraEditors.XtraUserControl
    {
        public PumpSingleMatchingForm()
        public PumpSingleMatchingCtrl()
        {
            InitializeComponent();
            this.gridView1.SetNormalView();
@@ -28,7 +28,7 @@
        private List<PumpSingleMatchingViewModel> _allBindingList = null;
        private BLL.PumpMain _pumpBll = null;
        private BLL.AssetsPumpMain _pumpBll = null;
        private List<PhartViewModel> _allPhartList = null;
        private readonly Lazy<BLL.XhsPumpMainPhartMappingExtensions> _bll_ex = new();
@@ -39,9 +39,9 @@
        {
            _pumpMatchingViewModel = pumpMatchingViewModel;
            _allBindingList = new List<PumpSingleMatchingViewModel>();
            _pumpBll = new BLL.PumpMain();
            var allPumpMain = await _pumpBll.GetAll();
            foreach (var Main in allPumpMain)
            _pumpBll = new BLL.AssetsPumpMain();
            var allAssetsPumpMain = await _pumpBll.GetAll();
            foreach (var Main in allAssetsPumpMain)
            {
                _allBindingList.Add(new PumpSingleMatchingViewModel(Main));
            }