| | |
| | | #endregion |
| | | |
| | | }//endClass |
| | | |
| | | |
| | | public class TrigArgs |
| | | { |
| | | public string ToRunNow { 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 int Seconds { get; set; } |
| | | public int Minutes { get; set; } |
| | | public int Hours { get; set; } |
| | | public int Days { get; set; } |
| | | public int Weekday { get; set; } |
| | | |
| | | public enum EveryType |
| | | { |
| | | [Description("毫秒")] |
| | | Milliseconds, |
| | | [Description("秒")] |
| | | Seconds, |
| | | [Description("分钟")] |
| | | Minutes, |
| | | [Description("小时")] |
| | | Hours, |
| | | [Description("天")] |
| | | Days, |
| | | [Description("周")] |
| | | Weeks, |
| | | [Description("星期几")] |
| | | Weekdays, |
| | | [Description("月")] |
| | | Months, |
| | | } |
| | | } |
| | | } |