11
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MyCode.Project.Infrastructure.Enumeration
|
||||
{
|
||||
/// <summary>
|
||||
/// 执行状态
|
||||
/// </summary>
|
||||
public enum FuncStatus
|
||||
{
|
||||
/// <summary>
|
||||
/// 等待
|
||||
/// </summary>
|
||||
Waiting = 0,
|
||||
/// <summary>
|
||||
/// 运行中
|
||||
/// </summary>
|
||||
Running = 1,
|
||||
/// <summary>
|
||||
/// 暂停
|
||||
/// </summary>
|
||||
Pause = 2,
|
||||
/// <summary>
|
||||
/// 停止
|
||||
/// </summary>
|
||||
Stop = 3,
|
||||
/// <summary>
|
||||
/// 异常停止
|
||||
/// </summary>
|
||||
ExceptionStop = 4,
|
||||
/// <summary>
|
||||
/// 完成
|
||||
/// </summary>
|
||||
Complete = 5
|
||||
}
|
||||
}
|
||||
@@ -10,9 +10,12 @@ namespace MyCode.Project.Infrastructure.Enumeration
|
||||
public enum FuncType
|
||||
{
|
||||
/// <summary>
|
||||
/// 方法非存储过程
|
||||
/// 类方法
|
||||
/// </summary>
|
||||
[Description("方法")]
|
||||
Function = 1
|
||||
Method = 1,
|
||||
/// <summary>
|
||||
/// 存储过程
|
||||
/// </summary>
|
||||
Proc = 2
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user