From 7079cbb505471a8d3251cac4e27c7a3841f8e656 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期三, 04 十二月 2024 22:51:37 +0800
Subject: [PATCH] 修改单独匹配界面

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/06-threelink/01-threelinksinglematching/ThreeLinkSingleMatchingForm.cs |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 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..52048a3 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 HydroThreelinkMatchingViewModel _pipeMatchingViewModel;
+        private BLL.AssetsThreelinkMain _ThreeLinkBll;
         private List<ThreeLinkSingleMatchingViewModel> _allBindingList;
 
-        public async void SetBindingData(ThreelinkMatchingViewModel PipeMatchingViewModel)
+        public async void SetBindingData(HydroThreelinkMatchingViewModel 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