From ddea52cb5c957705b1ed4e004de65e1a3f5ad129 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期五, 27 九月 2024 15:04:22 +0800
Subject: [PATCH] elbows修改

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/00-core/XhsProjectSimulationMatchingListCtrl.cs |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/00-core/XhsProjectSimulationMatchingListCtrl.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/00-core/XhsProjectSimulationMatchingListCtrl.cs
index be17132..5ee8e15 100644
--- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/00-core/XhsProjectSimulationMatchingListCtrl.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/00-core/XhsProjectSimulationMatchingListCtrl.cs
@@ -15,12 +15,12 @@
 
         private void RowClickEvent(string code)
         {
-            FormRowClickEvent.Invoke(code);
+            HydroClickEvent.Invoke(code);
         }
 
-        public event Action<string> FormRowClickEvent = null;
+        public event Action<string> HydroClickEvent;
 
-        public event Func<AssetsMatchingViewModel, bool> RelaodEvent = null;
+        public event Func<AssetsMatchingViewModel, bool> ApplyMatchingEvent;
 
         private BLL.PumpMain _pumpMain = null;
 
@@ -35,7 +35,7 @@
         public async void SetBindingData(AssetsMatchingViewModel inputViewModel)
         {
             _assetsAutoMatching = inputViewModel;
-            this.elbowsMatchingCtrl1.SetBindingData(inputViewModel.ElbowsMatchingList);
+            this.elbowsMatchingCtrl1.SetBindingData(inputViewModel.ElbowMatchingList);
             this.pipeLineMatchingCtrl1.SetBindingData(inputViewModel.PipeMatchingList);
             this.pumpMatchingCtrl1.SetBindingData(inputViewModel.PumpMatchingList);
             this.threeLinkMatchingCtrl1.SetBindingData(inputViewModel.ThreelinkMatchingList);
@@ -71,12 +71,12 @@
             //闃�闂ㄥ尮閰�
             var valveMatching = this.valveMatchingCtrl1.SetMatching(input.ValveMatchingList, allValve);
             //寮ご鍖归厤
-            var elbowsMatching = this.elbowsMatchingCtrl1.SetMatching(input.ElbowsMatchingList, allAdapting);
+            var elbowsMatching = this.elbowsMatchingCtrl1.SetMatching(input.ElbowMatchingList, allAdapting);
 
             assetsAutoMatching.PumpMatchingList = pumpMatching;
             assetsAutoMatching.ThreelinkMatchingList = threeLinkMatching;
             assetsAutoMatching.FourlinkMatchingList = fourLinkMatching;
-            assetsAutoMatching.ElbowsMatchingList = elbowsMatching;
+            assetsAutoMatching.ElbowMatchingList = elbowsMatching;
             assetsAutoMatching.PipeMatchingList = pipeLineMatching;
             assetsAutoMatching.ValveMatchingList = valveMatching;
             return assetsAutoMatching;
@@ -85,7 +85,7 @@
         //纭畾
         private void btnComplete_Click(object sender, EventArgs e)
         {
-            if (RelaodEvent.Invoke(_assetsAutoMatching))
+            if (ApplyMatchingEvent.Invoke(_assetsAutoMatching))
             {
                 TipFormHelper.ShowSucceed("淇敼鎴愬姛!");
             }

--
Gitblit v1.9.3