예제 #1
0
 /// <summary>
 /// 下一次作业时间
 /// </summary>
 /// <param name="taskNode">任务节点</param>
 /// <param name="excutingNode">执行详情节点</param>
 public virtual TimeSpan NextWorkTimeOnMessageIsWaiting(ITaskschedNode taskNode, IExecutingNode excutingNode)
 {
     return(TimeSpan.FromMinutes(5));
 }
예제 #2
0
 /// <summary>
 /// 下一次作业时间
 /// </summary>
 /// <param name="taskNode">任务节点</param>
 /// <param name="excutingNode">执行详情节点</param>
 /// <param name="ex">异常信息</param>
 /// <returns></returns>
 public virtual TimeSpan NextTime(ITaskschedNode taskNode, IExecutingNode excutingNode, Exception ex)
 {
     return(TimeSpan.FromMinutes(5));
 }