init
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user