duheng
2024-09-27 0e54c48e8190937f5b483c79e3cc9d17ec7c9af0
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/06-threelink/XhsProjectSimulationThreelinkMatchingListCtrl.cs
@@ -35,26 +35,17 @@
        {
            if (inputs == null || inputs.Count == 0)
                return null;
            var resultList = new List<ThreelinkMatchingViewModel>();
            foreach (var item in inputs)
            {
                var result = AssetsMatchingHelper.MatchingThreelink(item, alllist);
                if (result != null)
                {
                    resultList.Add(result);
                }
                else
                {
                    resultList.Add(item);
                }
                AssetsMatchingHelper.MatchingThreelink(item, alllist);
            }
            _allBindingList.Clear();
            foreach (var item in resultList)
            foreach (var item in inputs)
            {
                _allBindingList.Add(new XhsProjectSimulationThreelinkMatchingViewModel(item));
            }
            this.threeLinkFormViewModelBindingSource.ResetBindings(false);
            return resultList;
            return inputs;
        }
        //行点击事件