This commit is contained in:
2025-07-07 13:54:21 +08:00
parent e1e5a82566
commit 38140986e4
18 changed files with 1103 additions and 284 deletions

View File

@@ -9,17 +9,30 @@ namespace MyCode.Project.Infrastructure.Enumeration
{
public enum WorkProcessStatus
{
[Description("初始化")]
Init = 0,
[Description("执行中")]
/// <summary>
/// 等待
/// </summary>
Waiting = 0,
/// <summary>
/// 运行中
/// </summary>
Running = 1,
[Description("执行完成")]
Finished = 9,
[Description("因错暂停")]
Stop = 2
/// <summary>
/// 暂停
/// </summary>
Pause = 2,
/// <summary>
/// 停止
/// </summary>
Stop = 3,
/// <summary>
/// 异常停止
/// </summary>
ExceptionStop = 4,
/// <summary>
/// 完成
/// </summary>
Complete = 5
}