Files

24 lines
928 B
C#
Raw Permalink Normal View History

2026-04-17 14:55:32 -04:00
using System.ComponentModel;
namespace DatabaseImport
{
[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
[DescriptionAttribute("Capacitor discharge")]
CAP = 1 << 1, //use capacitor discharge
[DescriptionAttribute("Constant current")]
CONSTANT = 1 << 2, //use constant current discharge
AC = 1 << 3 //use AC discharge
}
}