36 lines
1015 B
C#
36 lines
1015 B
C#
|
|
using DTS.Common.Interface.DASFactory;
|
|||
|
|
using System;
|
|||
|
|
|
|||
|
|
namespace DTS.DASLib.Service
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Digital output channel.
|
|||
|
|
/// </summary>
|
|||
|
|
[Serializable]
|
|||
|
|
public class TOMModule : DASModule
|
|||
|
|
{
|
|||
|
|
public enum TomTriggerType
|
|||
|
|
{
|
|||
|
|
NONE = 0, //module trigger type not known
|
|||
|
|
BUS_ONLY, //TOM will only by triggered by rack bus
|
|||
|
|
PANEL_ONLY, //TOM will only be triggered by pannel trigger
|
|||
|
|
BUS_PANEL //TOM will only be triggered when both the rack bus and panel are triggered
|
|||
|
|
}
|
|||
|
|
private TomTriggerType _triggerType;
|
|||
|
|
public TomTriggerType TriggerType
|
|||
|
|
{
|
|||
|
|
get => _triggerType;
|
|||
|
|
set => _triggerType = value;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public TOMModule()
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public TOMModule(int moduleArrayIdx, IDASCommunication _OwningDAS)
|
|||
|
|
: base(moduleArrayIdx, _OwningDAS)
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|