ningshuxia
2022-12-01 ad494f13d2ddf31f142cf7fb908b3a6e90395a1a
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace IStation.Application
{
    /// <summary>
    /// 能效运行区间记录
    /// </summary>
    public class EtaRunSpanRecord
    {
        /// <summary>
        /// 
        /// </summary>
        public EtaRunSpanRecord() { }
 
        /// <summary>
        /// 
        /// </summary>
        public EtaRunSpanRecord(Model.EtaBasicRealRecord rhs)
        {
            this.DataTime = rhs.DataTime;
            if (rhs.Qa != null)
            {
                this.Q = Math.Round(rhs.Qa.Value, 1);
            }
            if (rhs.Ha != null)
            {
                this.H = Math.Round(rhs.Ha.Value, 2);
            }
            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, 2);
            }
            if (rhs.UWPa != null)
            {
                this.UWP = Math.Round(rhs.UWPa.Value, 2);
            }
        }
 
        /// <summary>
        /// 数据时间
        /// </summary>
        public DateTime DataTime { get; set; }
 
        /// <summary>
        /// 瞬时流量
        /// </summary>    
        public double? Q { 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? WP { get; set; }
 
        /// <summary>
        /// 单位能耗
        /// </summary>    
        public double? UWP { get; set; }
    }
}