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/00-core/AssetsMatchingParasHelper.cs |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/00-core/AssetsMatchingParasHelper.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/00-core/AssetsMatchingParasHelper.cs
index ad6f5bf..b62dcb2 100644
--- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/00-core/AssetsMatchingParasHelper.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/00-core/AssetsMatchingParasHelper.cs
@@ -19,7 +19,6 @@
             }
             var input = new AssetsMatchingViewModel();
 
-
             //姘存车
             input.PumpMatchingList = hydroInfo.Pumps?.Select(x => Create(hydroInfo, x)).ToList();
 
@@ -30,7 +29,7 @@
             input.PipeMatchingList = hydroInfo.Pipes?.Select(x => Create(hydroInfo, x)).ToList();
 
             //寮ご
-            input.ElbowsMatchingList = hydroInfo.Elbows?.Select(x => Create(hydroInfo, x)).ToList();
+            input.ElbowMatchingList = hydroInfo.Elbows?.Select(x => Create(hydroInfo, x)).ToList();
 
             //涓夐��
             input.ThreelinkMatchingList = hydroInfo.Threelinks?.Select(x => Create(hydroInfo, x)).ToList();
@@ -474,11 +473,11 @@
             }
 
             //寮ご
-            if (output.ElbowsMatchingList != null && output.ElbowsMatchingList.Count > 0)
+            if (output.ElbowMatchingList != null && output.ElbowMatchingList.Count > 0)
             {
                 if (hydroInfo.Elbows != null && hydroInfo.Elbows.Count > 0)
                 {
-                    foreach (var elbowsMatching in output.ElbowsMatchingList)
+                    foreach (var elbowsMatching in output.ElbowMatchingList)
                     {
                         var elbows = hydroInfo.Elbows.Find(x => x.Code == elbowsMatching.Code);
                         if (elbows != null)

--
Gitblit v1.9.3