Files
DP44/DataPRO/Modules/DatabaseImporter/DatabaseImport/Enums/DigitalInputs.cs
2026-04-17 14:55:32 -04:00

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
}
}