| | |
| | | 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); |