| | |
| | | Unknown, |
| | | [Description("未知作业处理程序,作业处理程序类型运行时类型为null")] |
| | | Unhandled, |
| | | [Description("停止")] |
| | | Stop, |
| | | } |
| | | #endregion |
| | | |
| | |
| | | |
| | | public class TrigArgs |
| | | { |
| | | public string ToRunNow { get; set; } |
| | | public string ToRunOnceAt { get; set; } |
| | | public DateTime ToRunOnceAtDt { get; set; } |
| | | public int NowAddMinutes { get; set; } |
| | | public int AndEvery { get; set; } |
| | | public int ToRunEvery { get; set; } |
| | | public int ToRunOnceIn { get; set; } |
| | | public string NonReentrant { get; set; } //Y不重复,N重复 |
| | | public EveryType Type { get; set; } |
| | | public Int64 Milliseconds { get; set; } |
| | | public DateTime ToRunOnceAtDt { get; set; } //上面要运行的时间 |
| | | public int NowAddMinutes { get; set; } //上面时间加多少分钟,表示延迟多少分钟运行 |
| | | public int ToRunEvery { get; set; } //每隔多少运行一回 |
| | | public int ToRunOnceIn { get; set; } //在多少后运行一次 |
| | | public string NonReentrant { get; set; } //Y不重复,N重复。就是是否跟之前的还没运行完的计划同时运行。 |
| | | public EveryType Type { get; set; } //时间类型 |
| | | public RunType runType { get; set; } //运行类型 |
| | | public Int64 Milliseconds { get; set; } |
| | | public int Seconds { get; set; } |
| | | public int Minutes { get; set; } |
| | | public int Hours { get; set; } |
| | |
| | | [Description("月")] |
| | | Months, |
| | | } |
| | | |
| | | public enum RunType |
| | | { |
| | | [Description("马上运行")] |
| | | ToRunNow, |
| | | [Description("在(T)运行")] |
| | | ToRunOnceAt, |
| | | [Description("隔(T)运行")] |
| | | ToRunEvery, |
| | | [Description("(T)后运行")] |
| | | ToRunOnceIn, |
| | | } |
| | | } |
| | | } |