namespace IStation.Entity { /// /// 调度组合日志 /// [SugarTable("ScheduleCombineLog")] public class ScheduleCombineLog : BaseEntity { public ScheduleCombineLog() { } public ScheduleCombineLog(long scheduleCombineID, string flag, int count, DateTime start, DateTime end) { this.ScheduleCombineID = scheduleCombineID; this.RunFlag = flag; this.RunCount = count; this.TotalSeconds = (end - start).TotalSeconds; this.CreateTime = DateTime.Now; } /// /// 调度组合标识 /// public long ScheduleCombineID { get; set; } /// /// 运行标志 /// public string RunFlag { get; set; } /// /// 运行数量 /// public int RunCount { get; set; } /// /// 分析用时(秒) /// public double TotalSeconds { get; set; } /// /// 生成时间 /// public DateTime CreateTime { get; set; } } }