Shuxia Ning
2024-12-11 f2cc8078a00824a319dab44841f7cb64fdee76b0
WinFrmUI/Yw.WinFrmUI.Phart.Core/01-pump/00-/PumpChartEquipViewModel.cs
@@ -11,8 +11,10 @@
            this.Id = rhs.Id;
            this.CurveName = rhs.CurveName; 
            this.Color = rhs.Color;
            this.StartH= rhs.StartH;
            this.PipeQ= rhs.PipeQ;
            this.PipeH= rhs.PipeH;
            this.CurveEquip = rhs.CurveEquip;
            this.PointEquip = rhs.PointEquip;
        }
@@ -32,16 +34,24 @@
        public Color? Color { get; set; }
        /// <summary>
        /// 起始扬程
        /// </summary>
        public double StartH { get; set; }
        /// <summary>
        /// 总管流量
        /// </summary>
        public double PipeQ { get; set; }
        /// <summary>
        /// 总管扬程
        /// </summary>
        public double PipeH { get; set; }
        /// <summary>
        /// 装置线
        /// </summary>
        public List<Yw.Geometry.Point2d> CurveEquip { get; set; }
        /// <summary>
        /// 装置点
        /// </summary>
        public Yw.Geometry.Point2d PointEquip { get; set; }
        public bool IsValid()
        {