From 7995765ee80e2772a20db9a7687048e6d5e12950 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期四, 05 十二月 2024 21:58:26 +0800
Subject: [PATCH] 修复阀门类型

---
 WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/00-core/HydroMatchingHelper.cs |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/00-core/HydroMatchingHelper.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/00-core/HydroMatchingHelper.cs
index d9cedf2..a25acb8 100644
--- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/00-core/HydroMatchingHelper.cs
+++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/00-core/HydroMatchingHelper.cs
@@ -889,6 +889,25 @@
 
             #endregion
 
+            #region 姘存车
+
+            if (hydroInfo.Pumps != null && hydroInfo.Pumps.Count > 0)
+            {
+                if (matchingInfo.Pumps != null && matchingInfo.Pumps.Count > 0)
+                {
+                    hydroInfo.Pumps.ForEach(x =>
+                    {
+                        var matching = matchingInfo.Pumps.Find(t => t.Code == x.Code);
+                        if (Apply(hydroInfo, x, matching))
+                        {
+                            result = true;
+                        }
+                    });
+                }
+            }
+
+            #endregion
+
             #region 闃�闂�
 
             if (hydroInfo.Valves != null && hydroInfo.Valves.Count > 0)

--
Gitblit v1.9.3