using System.ComponentModel; namespace ChangkeTec.SDMS.Model.Enums { 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 } }