From 5043208b24f45b3e3c630a596b9e83373096a78a Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期五, 18 十月 2024 12:47:49 +0800 Subject: [PATCH] 优化计算前提,计算逻辑还需要继续优化 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/07-fourlink/01-threelinksinglematching/FourLinkSingleMatchingForm.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/07-fourlink/01-threelinksinglematching/FourLinkSingleMatchingForm.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/07-fourlink/01-threelinksinglematching/FourLinkSingleMatchingForm.cs index 3806198..8b12567 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/07-fourlink/01-threelinksinglematching/FourLinkSingleMatchingForm.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/07-fourlink/01-threelinksinglematching/FourLinkSingleMatchingForm.cs @@ -1,4 +1,4 @@ -锘縩amespace HStation.WinFrmUI.Xhs +锘縩amespace 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)); } -- Gitblit v1.9.3