Shuxia Ning
2024-07-17 fd681339c81201ed6fb3303647ecab89e3e6c0c1
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
namespace IStation.Model
{
    /// <summary>
    /// 水力模型记录
    /// </summary>
    public class HydraulicModelRecord : System.ICloneable
    {
        /// <summary>
        /// 
        /// </summary>
        public HydraulicModelRecord() { }
 
        /// <summary>
        /// 
        /// </summary>
        /// <param name="rhs"></param>
        public HydraulicModelRecord(HydraulicModelRecord rhs)
        {
            this.VerificationID = rhs.VerificationID;
            this.Time = rhs.Time;
            this.ValueType = rhs.ValueType;
            this.ModelId = rhs.ModelId;
            this.ScadaId = rhs.ScadaId;
            this.ModelValue = rhs.ModelValue;
            this.ScadaValue = rhs.ScadaValue;
            this.DifferenceValue = rhs.DifferenceValue;
        }
 
        /// <summary>
        /// 
        /// </summary>
        /// <param name="rhs"></param>
        public void Reset(HydraulicModelRecord rhs)
        {
            this.VerificationID = rhs.VerificationID;
            this.Time = rhs.Time;
            this.ValueType = rhs.ValueType;
            this.ModelId = rhs.ModelId;
            this.ScadaId = rhs.ScadaId;
            this.ModelValue = rhs.ModelValue;
            this.ScadaValue = rhs.ScadaValue;
            this.DifferenceValue = rhs.DifferenceValue;
        }
 
        /// <summary>
        /// 验证标识
        /// </summary>
        public long VerificationID { get; set; }
 
        /// <summary>
        /// 时间
        /// </summary>    
        public DateTime Time { get; set; }
 
        /// <summary>
        /// 值类型
        /// </summary>
        public eValueType ValueType { get; set; }
 
        /// <summary>
        /// 模型标识
        /// </summary>    
        public string ModelId { get; set; }
 
        /// <summary>
        /// Scada标识
        /// </summary>    
        public string ScadaId { get; set; }
 
        /// <summary>
        /// 模型值
        /// </summary>    
        public double? ModelValue { get; set; }
 
        /// <summary>
        /// Scada值
        /// </summary>     
        public double? ScadaValue { get; set; }
 
        /// <summary>
        /// 差值
        /// </summary>     
        public double? DifferenceValue { get; set; }
 
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public HydraulicModelRecord Clone()
        {
            return (HydraulicModelRecord)this.MemberwiseClone();
        }
 
        object ICloneable.Clone()
        {
            return this.MemberwiseClone();
        }
 
    }
}