using System.ComponentModel; using DTS.Common.Base.Classes; using DTS.Common.Converters; namespace DTS.Common.Enums { [TypeConverter(typeof(EnumDescriptionTypeConverter))] public enum SquibMeasurementType { NONE = 0, //the squib's measurement mode has not been set CURRENT = 1 << 0, //the squib's current will be recorded INIT_SIGNAL = 1 << 1, //the squib's initiation indicator will be recorded VOLTAGE = 1 << 2, //the squib's voltage will be recorded } [TypeConverter(typeof(EnumDescriptionTypeConverter))] public enum SquibFireMode { NONE = 1 << 0, //squib's fire mode not set [DescriptionResource("SquibFireMode_Cap")] CAP = 1 << 1, //use capacitor discharge [DescriptionResource("SquibFireMode_CC")] CONSTANT = 1 << 2, //use constant current discharge AC = 1 << 3 //use AC discharge } }