duheng
2024-09-27 66a44a3b60c6b938c0c582811192223223bcdd7d
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/03-valve/XhsProjectSimulationValveMatchingListCtrl.cs
@@ -33,26 +33,17 @@
        {
            if (inputs == null)
                return null;
            var finishList = new List<ValveMatchingViewModel>();
            foreach (var item in inputs)
            {
                var result = AssetsMatchingHelper.MatchingValve(item, alllist);
                if (result != null)
                {
                    finishList.Add(result);
                }
                else
                {
                    finishList.Add(item);
                }
                AssetsMatchingHelper.MatchingValve(item, alllist);
            }
            _allBindingList.Clear();
            foreach (var item in finishList)
            foreach (var item in inputs)
            {
                _allBindingList.Add(new XhsProjectSimulationValveMatchingViewModel(item));
            }
            this.valveFormViewModelBindingSource.ResetBindings(false);
            return finishList;
            return inputs;
        }
        //行点击事件