From 492fbc0052225864e97cceb66d86d3fdf9dee961 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期四, 05 十二月 2024 16:18:36 +0800 Subject: [PATCH] 修改匹配方法以及单独匹配 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/02-pump/XhsPumpMatchingListCtrl.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/02-pump/XhsPumpMatchingListCtrl.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/02-pump/XhsPumpMatchingListCtrl.cs index 0af267e..473537f 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/02-pump/XhsPumpMatchingListCtrl.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/02-pump/XhsPumpMatchingListCtrl.cs @@ -29,14 +29,14 @@ this.pumpFormViewModelBindingSource.DataSource = _allBindingList; } - public async Task<List<PumpMatchingViewModel>> SetMatching(List<PumpMatchingViewModel> pumpMatchingViewModel, List<PumpMainVmo> pumpMainVmos) + public async Task<List<PumpMatchingViewModel>> SetMatching(List<PumpMatchingViewModel> pumpMatchingViewModel, List<AssetsPumpMainVmo> AssetsPumpMainVmos) { if (pumpMatchingViewModel == null) return null; foreach (var item in pumpMatchingViewModel) { - await AssetsMatchingHelper.MatchingPumps(item, pumpMainVmos); + AssetsMatchingHelper.MatchingPumps(item, AssetsPumpMainVmos); } _allBindingList.Clear(); foreach (var item in pumpMatchingViewModel) -- Gitblit v1.9.3