lixiaojun
2024-12-02 dbcef6befb123066754141adef6dc3ef6653b6ce
WinFrmUI/Yw.WinFrmUI.Phart.Core/v2/02-pump/99-viewmodel/PumpChartViewModel.cs
ÎļþÃû´Ó WinFrmUI/Yw.WinFrmUI.Phart.Core/v2/02-pump/99-viewmodel/PumpSerialParallelViewModel.cs ÐÞ¸Ä
@@ -1,26 +1,25 @@
namespace Yw.WinFrmUI.Phart
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yw.WinFrmUI.Phart
{
    public class PumpSerialParallelViewModel
    public class PumpChartViewModel
    {
        public PumpSerialParallelViewModel() { }
        public PumpSerialParallelViewModel(PumpSerialParallelViewModel rhs)
        public PumpChartViewModel() { }
        public PumpChartViewModel(PumpChartViewModel rhs)
        {
            this.ID = rhs.ID;
            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>
        public long ID { get; set; }
        }
        /// <summary>
        /// æ ‡è¯†
@@ -31,17 +30,12 @@
        /// åç§°
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// ç¼–码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// æ˜¯å¦å˜é¢‘
        /// </summary>
        public bool IsBp { get; set; }
        /// <summary>
        /// é¢å®šè½¬é€Ÿ
        /// </summary>
@@ -50,12 +44,7 @@
        /// <summary>
        /// å½“前转速
        /// </summary>
        public double CurrentSpeed { get; set; }
        /// <summary>
        /// å½“前频率
        /// </summary>
        public double CurrentHz { get; set; }
        public double CurrentSpeed { get; set; }
        /// <summary>
        /// æµé‡æ‰¬ç¨‹çº¿
@@ -72,7 +61,26 @@
        /// </summary>
        public Yw.Geometry.CubicSpline2d Qp { get; set; }
        /// <summary>
        /// æµé‡æ‰¬ç¨‹çº¿(计算)
        /// </summary>
        public Yw.Geometry.CubicSpline2d QhCalc { get; set; }
        /// <summary>
        /// æµé‡æ•ˆçŽ‡çº¿(计算)
        /// </summary>
        public Yw.Geometry.CubicSpline2d QeCalc { get; set; }
        /// <summary>
        /// æµé‡åŠŸçŽ‡çº¿(计算)
        /// </summary>
        public Yw.Geometry.CubicSpline2d QpCa { get; set; }
        public void Calc()
        {
        }
    }
}