| | |
| | | /// <summary> |
| | | /// 特性曲线工具 |
| | | /// </summary> |
| | | public class PhartPerformCurveHelper |
| | | public class PhartPerformCurveHelper |
| | | { |
| | | /// <summary> |
| | | /// 获取性能点列表 |
| | |
| | | /// <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; |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | } |