21 lines
786 B
C#
21 lines
786 B
C#
using System.ComponentModel;
|
|
|
|
namespace DatabaseImport
|
|
{
|
|
/// <summary>
|
|
/// these are the different input modes for the data
|
|
/// </summary>
|
|
[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
|
|
}
|
|
}
|