public override int Update(FormM form, DFDictionary entity, ref string message) { var dfTaskId = entity["dfTaskId"]; TaskHelper.AbortTask(dfTaskId); SendMsg(dfTaskId, string.Format("任务 {0} 成功结束", dfTaskId)); return(DFPub.EXECUTE_SUCCESS); }
public override int Update(FormM form, DFDictionary entity, ref string message) { var dfTaskId = entity["dfTaskId"]; TaskHelper.AbortTask(dfTaskId); SendMsg(dfTaskId, string.Format("任务 {0} 成功结束", dfTaskId)); return(DFPub.EXECUTE_SUCCESS); }