Shuxia Ning
2024-12-19 b0c978129ba55cf81e8470b6c9326745a5dbc7d1
WinFrmUI/Yw.WinFrmUI.Phart.Core/01-pump/00-/PumpChartEqualEffViewModel.cs
@@ -12,6 +12,8 @@
            this.CurveName = rhs.CurveName; 
            this.Color = rhs.Color;
            this.CurveEqualEff = rhs.CurveEqualEff;
            this.Tension = rhs.Tension;
            this.IsClosed = rhs.IsClosed;
        }
         
        /// <summary>
@@ -29,11 +31,22 @@
        /// </summary>
        public Color? Color { get; set; }
        /// <summary>
        /// 等效线
        /// </summary>
        public List<Yw.Geometry.Point2d> CurveEqualEff { get; set; }
          
        /// <summary>
        /// 张力
        /// </summary>
        public double Tension { get; set; }
        /// <summary>
        /// 是否封闭
        /// </summary>
        public bool IsClosed { get; set; }
        public bool IsValid()
        {
            if (this.CurveEqualEff == null)