duheng
2024-12-11 2e8e85f65748ee5a5adf0dcda864aa4167cbf2ef
Service/HStation.Service.PhartRelation.Core/05-service/00-core/PerformCurveHelper.cs
@@ -75,25 +75,25 @@
        /// <summary>
        /// to 存储字符串
        /// </summary>
        public static string ToDbString(eGraphType graphType, Yw.Pump.eFeatType featType, List<Yw.Geometry.Point2d> pts)
        public static string ToDbString(eGraphType graphType, Yw.Ahart.eFeatType featType, List<Yw.Geometry.Point2d> pts)
        {
            var dbString = string.Empty;
            if (pts == null || pts.Count < 1)
            {
                return dbString;
            }
            Yw.Pump.IFeatCurve featCurve = null;
            Yw.Ahart.IFeatCurve featCurve = null;
            switch (featType)
            {
                case Yw.Pump.eFeatType.Polynomial:
                case Yw.Ahart.eFeatType.Polynomial:
                    {
                        featCurve = new Yw.Pump.PolynomialCurve(pts);
                        featCurve = new Yw.Ahart.PolynomialCurve(pts);
                    }
                    break;
                case Yw.Pump.eFeatType.Cubic:
                case Yw.Ahart.eFeatType.Cubic:
                    {
                        featCurve = new Yw.Pump.CubicCurve(pts);
                        featCurve = new Yw.Ahart.CubicCurve(pts);
                    }
                    break;