From eccc597eb5b29ce1a9982ebf31f0e1272d3db14f Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期三, 09 十月 2024 11:33:45 +0800 Subject: [PATCH] 阀门管理 --- Service/HStation.Service.PhartRelation.Core/05-service/00-core/PerformCurveHelper.cs | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Service/HStation.Service.PhartRelation.Core/05-service/00-core/PerformCurveHelper.cs b/Service/HStation.Service.PhartRelation.Core/05-service/00-core/PerformCurveHelper.cs index 82467cc..2543e0f 100644 --- a/Service/HStation.Service.PhartRelation.Core/05-service/00-core/PerformCurveHelper.cs +++ b/Service/HStation.Service.PhartRelation.Core/05-service/00-core/PerformCurveHelper.cs @@ -4,7 +4,7 @@ /// 鐗规�ф洸绾胯緟鍔╃被 /// </summary> public class PerformCurveHelper - { + { /// <summary> /// 鑾峰彇鎬ц兘鐐瑰垪琛� /// </summary> @@ -43,7 +43,16 @@ pts = curveQE.FeatCurve.GetPointList(pointNumber, minSpace); } } - break; + break; + case eGraphType.ValveQL: + { + var cubic_spline_ql = new Yw.Geometry.CubicSpline2d(geometryInfo); + if (cubic_spline_ql != null) + { + pts = cubic_spline_ql.GetPointList(pointNumber, minSpace); + } + } + break; default: break; } return pts; -- Gitblit v1.9.3