lixiaojun
2024-12-11 be1dcb30e552fff6a2cf733d6577b103665edded
WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/00-helper/PhartPerformCurveHelper.cs
@@ -3,7 +3,7 @@
    /// <summary>
    /// 特性曲线工具
    /// </summary> 
    public class PhartPerformCurveHelper
    public class PhartPerformCurveHelper
    {
        /// <summary>
        /// 获取性能点列表
@@ -32,13 +32,13 @@
        /// <summary>
        /// To 存储字符串
        /// </summary> 
        public static string ToDbString(HStation.PhartRelation.eGraphType GraphType, Yw.Pump.eFeatType FeatType,List<Yw.Geometry.Point2d> PointList)
        public static string ToDbString(HStation.PhartRelation.eGraphType GraphType, Yw.Ahart.eFeatType FeatType, List<Yw.Geometry.Point2d> PointList)
        {
            var pts = PointList?.Select(x => new Yw.Geometry.Point2d(x.X, x.Y)).ToList();
            var dbString = HStation.Service.PhartRelation.PerformCurveHelper.ToDbString(GraphType, FeatType, pts);
            return dbString;
        }
    }
}