duheng
2024-09-26 a6c50c87d1ba3f5c8785dcc9e8ea640b5a43209f
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.MatchingValves(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;
        }
        //行点击事件