From 0ff5ca350625b1e9af061be4abb53f7490330611 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期六, 16 十一月 2024 15:06:50 +0800 Subject: [PATCH] 界面逻辑的修改 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/06-threelink/01-threelinksinglematching/ThreeLinkSingleMatchingForm.cs | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/06-threelink/01-threelinksinglematching/ThreeLinkSingleMatchingForm.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/06-threelink/01-threelinksinglematching/ThreeLinkSingleMatchingForm.cs index 30016df..4c3fd09 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/06-threelink/01-threelinksinglematching/ThreeLinkSingleMatchingForm.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/06-threelink/01-threelinksinglematching/ThreeLinkSingleMatchingForm.cs @@ -1,23 +1,24 @@ -锘縩amespace HStation.WinFrmUI.Xhs +锘縩amespace HStation.WinFrmUI { public partial class ThreeLinkSingleMatchingForm : DevExpress.XtraEditors.XtraUserControl { public ThreeLinkSingleMatchingForm() { InitializeComponent(); + this.gridView3.SetNormalView(); } private ThreelinkMatchingViewModel _pipeMatchingViewModel; - private BLL.ThreeLinkMain _ThreeLinkBll; + private BLL.AssetsThreelinkMain _ThreeLinkBll; private List<ThreeLinkSingleMatchingViewModel> _allBindingList; public async void SetBindingData(ThreelinkMatchingViewModel PipeMatchingViewModel) { _pipeMatchingViewModel = PipeMatchingViewModel; _allBindingList = new List<ThreeLinkSingleMatchingViewModel>(); - _ThreeLinkBll = new BLL.ThreeLinkMain(); - var allThreeLinkMain = await _ThreeLinkBll.GetAll(); - foreach (var Main in allThreeLinkMain) + _ThreeLinkBll = new BLL.AssetsThreelinkMain(); + var allAssetsThreelinkMain = await _ThreeLinkBll.GetAll(); + foreach (var Main in allAssetsThreelinkMain) { _allBindingList.Add(new ThreeLinkSingleMatchingViewModel(Main)); } -- Gitblit v1.9.3