ningshuxia
2025-04-03 4917fb959e2befec07a693e72d7010c09494ec7c
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
using System;
 
namespace IStation.Model
{
    /// <summary>
    /// 曲线分析点
    /// </summary>    
    public class CurveAnalyzePoint
    {
        public CurveAnalyzePoint() { }
        public CurveAnalyzePoint(CurveAnalyzePoint rhs)
        {
            Time = rhs.Time;
            Q = rhs.Q;
            P1 = rhs.P1;
            P2 = rhs.P2;
            H = rhs.H;
            P = rhs.P;
            E = rhs.E;
            N = rhs.N;
            HZ = rhs.HZ;
            Status = rhs.Status;
        }
        public void Reset(CurveAnalyzePoint rhs)
        {
            Time = rhs.Time;
            Q = rhs.Q;
            P1 = rhs.P1;
            P2 = rhs.P2;
            H = rhs.H;
            P = rhs.P;
            E = rhs.E;
            N = rhs.N;
            HZ = rhs.HZ;
            Status = rhs.Status;
        }
 
        public void Round()
        {
            Q = Math.Round(Q, 1);
            P1 = Math.Round(P1, 3);
            P2 = Math.Round(P2, 3);
            H = Math.Round(H, 1);
            P = Math.Round(P, 1);
            E = Math.Round(E, 1);
            N = Math.Round(N, 0);
            HZ = Math.Round(HZ, 1);
        }
 
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime Time { get; set; }
 
        /// <summary>
        /// 流量
        /// </summary>
        public double Q { get; set; }
 
        /// <summary>
        /// 进口压力
        /// </summary>
        public double P1 { get; set; }
 
        /// <summary>
        /// 出口压力
        /// </summary>
        public double P2 { get; set; }
 
        /// <summary>
        /// 扬程
        /// </summary>
        public double H { get; set; }
 
        /// <summary>
        /// 功率
        /// </summary>
        public double P { get; set; }
 
        /// <summary>
        /// 效率
        /// </summary>
        public double E { get; set; }
 
        /// <summary>
        /// 转速
        /// </summary>
        public double N { get; set; }
 
        /// <summary>
        /// 频率
        /// </summary>
        public double HZ { get; set; }
 
        /// <summary>
        /// 分析状态
        /// </summary>
        public int Status { get; set; } = 1;
 
    }
}