| | |
| | | /// <summary> |
| | | /// 开始时间 |
| | | /// </summary> |
| | | public static DateTime StartTime { get; set; } |
| | | public DateTime StartTime { get; set; } |
| | | /// <summary> |
| | | /// 保存日志 |
| | | /// </summary> |
| | | public static ApiAction SaveLog(JobExecutingContext context, string remark) |
| | | public ApiAction SaveLog(JobExecutingContext context, string remark) |
| | | { |
| | | ApiAction action = new ApiAction(); |
| | | Type type = Type.GetType(context.JobDetail.JobType, throwOnError: true); |
| | |
| | | /// 判断时间,返回是否可以继续工作任务 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public TskJobInput CheckIFCanGo() |
| | | public TskJobInput CheckHowToDo() |
| | | { |
| | | TskJobInput tskJobInput = new TskJobInput(); |
| | | var dateTime = DateTime.Now; |