Shuxia Ning
2024-10-14 c7e02f7991407f48a377b47ad2599f52017e8d55
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));
            }