/// <summary> /// 初始化基础任务类 /// </summary> /// <param name="name">任务名称</param> /// <param name="condition">任务条件,一般用于检索任务</param> /// <param name="returnFuc">任务结束后的返回函数</param> public TaskBase(String name, ConditionBase condition, UpdateDataDelegate returnFuc) { Name = name; UpdateDataData = returnFuc; Condition = condition; result = 0; Time = DateTime.Now; }
public TaskFetchNodes(String name, ConditionBase condition, UpdateDataDelegate returnFuc) : base(name, condition, returnFuc) { }