using System.ComponentModel; namespace DatabaseImport { /// /// these are the different input modes for the data /// [TypeConverter(typeof(EnumDescriptionTypeConverter))] public enum DigitalInputModes { [DescriptionAttribute("Transition low to high")] TLH = 1 << 1, //Transition Low to High [DescriptionAttribute("Transition high to low")] THL = 1 << 2, //Transition High to Low [DescriptionAttribute("Contact closure normally open")] CCNO = 1 << 3, //set to contact closure normally open [DescriptionAttribute("Contact closure normally closed")] CCNC = 1 << 4 //set to contact closure normally closed } }