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.
25 lines
742 B
25 lines
742 B
1 year ago
|
using System.ComponentModel;
|
||
|
|
||
|
namespace CK.SCP.Models
|
||
|
{
|
||
|
public enum EnumTaskState
|
||
|
{
|
||
|
|
||
|
[Description("未读取")] Unread = 0,
|
||
|
[Description("执行中")] Processing = 1,
|
||
|
[Description("成功")] Success = 2,
|
||
|
[Description("失败")] Failed = 3,
|
||
|
[Description("部分失败")] PartialFailed = 4,
|
||
|
[Description("手动设置")] Menual = 5,
|
||
|
[Description("已取消")] Cancelled = 9,
|
||
|
}
|
||
|
|
||
|
public enum EnumCommandType
|
||
|
{
|
||
|
[Description("读取")] R = 0, //Read
|
||
|
[Description("添加")] A = 1, //Add
|
||
|
[Description("更新")] U = 2, //Update
|
||
|
[Description("添加或更新")] AU = 3, //AddOrUpdate
|
||
|
[Description("删除")] D = 9, //Delete
|
||
|
}
|
||
|
}
|