init
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
|
||||
namespace DatabaseExport
|
||||
{
|
||||
/// <summary>
|
||||
/// Base class for all DAS channels.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class DASChannel //: IXmlSerializable // (subset of sensor class)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Base class for SQUIB channels.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class OutputTOMDigitalChannel : DigitalOutputDASChannel
|
||||
{
|
||||
public enum DigitalOutputMode
|
||||
{
|
||||
NONE = 0, //digital channel's mode not set
|
||||
FVLH = 1 << 0, //set for 5 volt, low-to-high transition
|
||||
FVHL = 1 << 1, //set for 5 volt, high-to-low transition
|
||||
CCNO = 1 << 2, //set to contact closure normally open
|
||||
CCNC = 1 << 3 //set to contact closure normally closed
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Base class for SQUIB channels.
|
||||
/// </summary>
|
||||
[Serializable()]
|
||||
public class OutputSquibChannel //: AnalogOutputDASChannel, IComparable
|
||||
{
|
||||
public enum SquibFireMode
|
||||
{
|
||||
NONE = 1 << 0, //squib's fire mode not set
|
||||
CAP = 1 << 1, //use capacitor discharge
|
||||
CONSTANT = 1 << 2, //use constant current discharge
|
||||
AC = 1 << 3 //use AC discharge
|
||||
};
|
||||
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
|
||||
}
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Base class for output channels.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class OutputDASChannel : DASChannel
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// Digital output channel.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class DigitalOutputDASChannel : OutputDASChannel
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user