ningshuxia
2022-11-22 4efe844d9bcc03435cbbeb1aedbda5bf6ebf5912
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
102
103
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace IStation.Dto.DispatchAna
{
    /// <summary>
    /// 当前机泵能效分析记录
    /// </summary>
    public class PumpEtaAnaRecord
    {
        /// <summary>
        /// 
        /// </summary>
        public PumpEtaAnaRecord() { }
 
        /// <summary>
        /// 
        /// </summary>
        public PumpEtaAnaRecord(Model.EtaSingleRealRecordPure rhs)
        {
            this.PipeLineID = rhs.ObjectID;
            if(rhs.ObjectType == IStation.ObjectType.Product)
            {
                this.MachineID = rhs.ObjectID ;
            }
            if (rhs.Qa != null)
            {
                this.Q = Math.Round(rhs.Qa.Value, 1);
            }
            if (rhs.Ha != null)
            {
                this.H = Math.Round(rhs.Ha.Value, 1);
            }
            if (rhs.Pa != null)
            {
                this.P = Math.Round(rhs.Pa.Value, 1);
            }
            if (rhs.Ea != null)
            {
                this.E = Math.Round(rhs.Ea.Value, 1);
            }
            if (rhs.WPa != null)
            {
                this.WP = Math.Round(rhs.WPa.Value, 1);
            }
            if (rhs.UWPa != null)
            {
                this.UWP = Math.Round(rhs.UWPa.Value, 1);
            }
            this.HZ = Math.Round(rhs.HZa, 1);
        }
 
        /// <summary>
        /// Machine标识
        /// </summary>
        public long MachineID { get; set; }
        /// <summary>
        /// Machine标识
        /// </summary>
        public long PumpID { get; set; }
 
        /// <summary>
        /// PipeLine标识
        /// </summary>
        public long PipeLineID { get; set; }
        
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 功率
        /// </summary>
        public double? P { get; set; }
        /// <summary>
        /// 流量
        /// </summary>
        public double? Q { get; set; }
        /// <summary>
        /// 扬程
        /// </summary>
        public double? H { get; set; }
        /// <summary>
        /// 效率
        /// </summary>
        public double? E { get; set; }
        /// <summary>
        /// 千吨能耗
        /// </summary>
        public double? WP { get; set; }
        /// <summary>
        /// 单位能耗
        /// </summary>
        public double? UWP { get; set; }
        /// <summary>
        /// 频率
        /// </summary>
        public double HZ { get; set; }
    }
}