duheng
2025-03-28 9be9ba4e159969fb5e32648c2c34e912ccc3ae6d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
namespace Yw.WinFrmUI.Phart
{
    /// <summary>
    /// 
    /// </summary>
    public class QPViewModel : Yw.Pump.CurveQP
    {
        public QPViewModel() { }
 
        public QPViewModel(Yw.Pump.CurveQP qh) : base(qh)
        {
 
        }
 
        public QPViewModel(Yw.Ahart.eFeatType feat_type, List<Yw.Geometry.Point2d> pt_list) : base(feat_type, pt_list)
        {
 
        }
 
        public QPViewModel(Yw.Pump.CurveQP curve, QPGraphParasViewModel graph_paras, CurveGeometryParasViewModel geometry_paras) : base(curve)
        {
            this.Hz = graph_paras.Hz;
            this.N = graph_paras.N;
            this.DefinePoints = geometry_paras.DefinePoints;
        }
 
        /// <summary>
        /// 转速
        /// </summary> 
        public double N { get; set; }
 
        /// <summary>
        /// 频率
        /// </summary>
        public double Hz { get; set; }
 
        /// <summary>
        /// 定义点列表
        /// </summary>
        public List<Yw.Geometry.Point2d> DefinePoints { get; set; }
    }
 
}