init
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using System;
|
||||
|
||||
namespace DTS.DASLib.Service.StateMachine
|
||||
{
|
||||
public class Realtime : DASState
|
||||
{
|
||||
public override State State => State.Realtime;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user