lixiaojun
2024-10-18 5043208b24f45b3e3c630a596b9e83373096a78a
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/07-fourlink/01-threelinksinglematching/FourLinkSingleMatchingForm.cs
@@ -1,4 +1,4 @@
namespace HStation.WinFrmUI.Xhs
namespace HStation.WinFrmUI
{
    public partial class FourLinkSingleMatchingForm : DevExpress.XtraEditors.XtraUserControl
    {
@@ -8,16 +8,16 @@
        }
        private FourlinkMatchingViewModel _FourlinkMatchingViewModel;
        private BLL.FourLinkMain _FourLinkBll;
        private BLL.AssetsFourlinkMain _FourLinkBll;
        private List<FourLinkSingleMatchingViewModel> _allBindingList;
        public async void SetBindingData(FourlinkMatchingViewModel FourlinkMatchingViewModel)
        {
            _FourlinkMatchingViewModel = FourlinkMatchingViewModel;
            _allBindingList = new List<FourLinkSingleMatchingViewModel>();
            _FourLinkBll = new BLL.FourLinkMain();
            var allFourLinkMain = await _FourLinkBll.GetAll();
            foreach (var Main in allFourLinkMain)
            _FourLinkBll = new BLL.AssetsFourlinkMain();
            var allAssetsFourlinkMain = await _FourLinkBll.GetAll();
            foreach (var Main in allAssetsFourlinkMain)
            {
                _allBindingList.Add(new FourLinkSingleMatchingViewModel(Main));
            }