lixiaojun
2024-07-17 a60f3ee45a6b86de936d19a122acdfb30570a867
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
104
105
106
107
108
109
110
namespace Yw.Model
{
    /// <summary>
    /// 运行实时记录
    /// </summary>
    public class RunRealRecord : System.ICloneable
    {
        /// <summary>
        /// 
        /// </summary>
        public RunRealRecord() { }
 
        /// <summary>
        /// 
        /// </summary>
        public RunRealRecord(RunRealRecord rhs)
        {
            this.ObjectType = rhs.ObjectType;
            this.ObjectID = rhs.ObjectID;
            this.DataTime = rhs.DataTime;
            this.RSa = rhs.RSa;
            this.ContinueTime = rhs.ContinueTime;
            this.TotalShutTime = rhs.TotalShutTime;
            this.TotalRunTime = rhs.TotalRunTime;
            this.BootTimes = rhs.BootTimes;
            this.AnalyStatus = rhs.AnalyStatus;
            this.AnalyInfo = rhs.AnalyInfo;
        }
 
        /// <summary>
        /// 
        /// </summary>
        public void Reset(RunRealRecord rhs)
        {
            this.ObjectType = rhs.ObjectType;
            this.ObjectID = rhs.ObjectID;
            this.DataTime = rhs.DataTime;
            this.RSa = rhs.RSa;
            this.ContinueTime = rhs.ContinueTime;
            this.TotalShutTime = rhs.TotalShutTime;
            this.TotalRunTime = rhs.TotalRunTime;
            this.BootTimes = rhs.BootTimes;
            this.AnalyStatus = rhs.AnalyStatus;
            this.AnalyInfo = rhs.AnalyInfo;
        }
 
        /// <summary>
        /// 数据类型
        /// </summary>
        public string ObjectType { get; set; }
 
        /// <summary>
        /// 数据id
        /// </summary>
        public long ObjectID { get; set; }
 
        /// <summary>
        /// 数据时间
        /// </summary>
        public DateTime DataTime { get; set; }
 
        /// <summary>
        /// 开关机状态
        /// </summary>
        public int RSa { get; set; }
 
        /// <summary>
        /// 连续时间(秒)
        /// </summary>
        public int ContinueTime { get; set; }
 
        /// <summary>
        /// 总停机时间(秒)
        /// </summary>
        public int TotalShutTime { get; set; }
 
        /// <summary>
        /// 总运行时间(秒)
        /// </summary>
        public int TotalRunTime { get; set; }
 
        /// <summary>
        /// 开机次数
        /// </summary>
        public int BootTimes { get; set; }
 
        /// <summary>
        /// 分析状态
        /// </summary>
        public int AnalyStatus { get; set; }
 
        /// <summary>
        /// 分析信息
        /// </summary>
        public string AnalyInfo { get; set; }
 
        /// <summary>
        /// 
        /// </summary>
        public RunRealRecord Clone()
        {
            return new RunRealRecord(this);
        }
 
        object ICloneable.Clone()
        {
            return Clone();
        }
    }
}