From cae9e1ebdb3f65c75aba5f703c97a857c6e44f38 Mon Sep 17 00:00:00 2001
From: Shuxia Ning <NingShuxia0927@outlook.com>
Date: 星期一, 13 一月 2025 16:00:15 +0800
Subject: [PATCH] 阀门图表导入bug 修复

---
 Service/HStation.Service.PhartRelation.Core/05-service/00-core/PhartGraphHelper.cs |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Service/HStation.Service.PhartRelation.Core/05-service/00-core/PhartGraphHelper.cs b/Service/HStation.Service.PhartRelation.Core/05-service/00-core/PhartGraphHelper.cs
index 145e630..a26b61c 100644
--- a/Service/HStation.Service.PhartRelation.Core/05-service/00-core/PhartGraphHelper.cs
+++ b/Service/HStation.Service.PhartRelation.Core/05-service/00-core/PhartGraphHelper.cs
@@ -15,8 +15,7 @@
             if (string.IsNullOrEmpty(geometryInfo))
             {
                 return default;
-            }
-
+            } 
             Yw.Ahart.PerformCurveBase performCurve = null;
             switch ((eGeometryStyle)geometryStyle)
             {
@@ -230,7 +229,7 @@
             {
                 case eGeometryStyle.FeatCurve:
                     {
-                        obj = Model.FeatCurveGeometryParasModel.ToModel(geometryParas);
+                        obj = CurveGeometryParasModel.ToModel(geometryParas);
                     }
                     break;
                 default: break;
@@ -285,7 +284,7 @@
                         featCurve = new Yw.Ahart.CubicCurve(pts);
                     }
                     break;
-                case Yw.Ahart.eFeatType.Through2d:
+                case Yw.Ahart.eFeatType.Through:
                     {
                         featCurve = new Yw.Ahart.ThroughCurve(pts);
                     }

--
Gitblit v1.9.3