init
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System.ComponentModel;
|
||||
using DTS.Common.Converters;
|
||||
using DTS.Common.Base.Classes;
|
||||
|
||||
namespace DTS.Common.Enums
|
||||
{
|
||||
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||||
public enum DigitalOutputModes
|
||||
{
|
||||
[Description("Off")]
|
||||
NONE = 0, //digital channel's mode not set
|
||||
[DescriptionResource("DigitalOutputMode_FVLH")]
|
||||
FVLH = 1 << 0, //set for 5 volt, low-to-high transition
|
||||
[DescriptionResource("DigitalOutputMode_FVHL")]
|
||||
FVHL = 1 << 1, //set for 5 volt, high-to-low transition
|
||||
[DescriptionResource("DigitalOutputMode_CCNO")]
|
||||
CCNO = 1 << 2, //set to contact closure normally open
|
||||
[DescriptionResource("DigitalOutputMode_CCNC")]
|
||||
CCNC = 1 << 3 //set to contact closure normally closed
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user