Shuxia Ning
2024-10-14 5fe67195f9623cc6e19354bb55b31f46055a1e2e
WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/01-pump-chart/01-chart/02-variable-speed/PumpSerialParallelViewModel.cs
ÎļþÃû´Ó WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/01-pump-chart/01-chart/02-variable-speed/PumpVariableSpeedViewModel.cs ÐÞ¸Ä
@@ -2,6 +2,20 @@
{
    public class PumpVariableSpeedViewModel
    {
        public PumpVariableSpeedViewModel() { }
        public PumpVariableSpeedViewModel(PumpVariableSpeedViewModel rhs)
        {
            this.Id = rhs.Id;
            this.Name = rhs.Name;
            this.IsBp = rhs.IsBp;
            this.RatedSpeed = rhs.RatedSpeed;
            this.CurrentSpeed = rhs.CurrentSpeed;
            this.CurrentHz = rhs.CurrentHz;
            this.Qh = rhs.Qh;
            this.Qe = rhs.Qe;
            this.Qp = rhs.Qp;
        }
        /// <summary>
        /// æ ‡è¯†
        /// </summary>
@@ -13,9 +27,9 @@
        public string Name { get; set; }
        /// <summary>
        /// é¢œè‰²
        /// æ˜¯å¦å˜é¢‘
        /// </summary>
        public Color Color { get; set; }
        public bool IsBp { get; set; }
        /// <summary>
        /// é¢å®šè½¬é€Ÿ
@@ -26,6 +40,11 @@
        /// å½“前转速
        /// </summary>
        public double CurrentSpeed { get; set; }
        /// <summary>
        /// å½“前频率
        /// </summary>
        public double CurrentHz { get; set; }
         
        /// <summary>
        /// æµé‡æ‰¬ç¨‹çº¿
@@ -41,23 +60,6 @@
        /// æµé‡åŠŸçŽ‡çº¿
        /// </summary>
        public Yw.Geometry.CubicSpline2d Qp { get; set; }
        /// <summary>
        /// æµé‡æ‰¬ç¨‹å®šä¹‰ç‚¹
        /// </summary>
        public List<Yw.Geometry.Point2d> QhDefiningPoints { get; set; }
        /// <summary>
        /// æµé‡æ•ˆçŽ‡å®šä¹‰ç‚¹
        /// </summary>
        public List<Yw.Geometry.Point2d> QeDefiningPoints { get; set; }
        /// <summary>
        /// æµé‡åŠŸçŽ‡å®šä¹‰ç‚¹
        /// </summary>
        public List<Yw.Geometry.Point2d> QpDefiningPoints { get; set; }
    }