using System.ComponentModel; namespace ZJ_BYD.Enums { /// /// 状态枚举 /// public enum StatusEnum { [Description("OK")] OK = 1, [Description("NG")] NG = 2, [Description("UNDEFINED")] UNDEFINED = 0 } }