duheng
2024-09-20 b2e753b7d889e1a1fbc17f8b43c3dd02aa0faad4
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/02-AsstesFormCtrl/ValveMatchingCtrl.cs
@@ -10,18 +10,14 @@
            this.gridView1.OptionsView.ShowGroupPanel = false;
        }
        private BLL.AdaptingManage _adaptingBll;
        private List<ValveMatchingViewModel> _allBindingList = null;
        public List<ValveMatchingViewModel> SetBindingData(List<ValveMatchingViewModel> inputs)
        public List<ValveMatchingViewModel> SetBindingData(List<ValveMatchingViewModel> inputs, List<ValveMainVmo> alllist)
        {
            var finishList = new List<ValveMatchingViewModel>();
            _adaptingBll = new BLL.AdaptingManage();
            var alllist = _adaptingBll.GetAll().Result;
            foreach (var item in inputs)
            {
                var result = AsstesAutoMatchingHelper.AutoMatching(item, alllist);
                var result = AsstesAutoMatchingHelper.ValveMatching(item, alllist);
                if (result != null)
                {
                    finishList.Add(result);