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