You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.2 KiB
46 lines
1.2 KiB
namespace Kingo.ThreadManager |
|
{ |
|
public class TaskInfo |
|
{ |
|
private bool _IsWait = true; |
|
public bool IsWait |
|
{ |
|
get { return _IsWait; } |
|
set |
|
{ |
|
_IsWait = value; |
|
} |
|
} |
|
private bool _IsComplete = false; |
|
public bool IsComplete |
|
{ |
|
get { return _IsComplete; } |
|
set |
|
{ |
|
_IsComplete = value; |
|
} |
|
} |
|
public TaskParameter Parameter { get; set; } |
|
public TaskCallback ExeFun; |
|
public TaskCallback ExeComplatFun; |
|
} |
|
|
|
public class TaskParameter |
|
{ |
|
public int TaskStartIdx { get; set; } |
|
public int TaskEndIdx { get; set; } |
|
public string TaskName { get; set; } |
|
public string TaskCode { get; set; } |
|
public object Data { get; set; } |
|
public object TaskConfig { get; set; } |
|
public TaskParameter SubTask { get; set; } |
|
public TaskResult Result { get; set; } |
|
public virtual string OutPath { get; set; } |
|
} |
|
public class TaskResult |
|
{ |
|
public int Code { get; set; } |
|
public string Message { get; set; } |
|
public object Data { get; set; } |
|
} |
|
}
|
|
|