42 lines
1011 B
Plaintext
42 lines
1011 B
Plaintext
|
|
/*
|
||
|
|
* DAS.Channel.ILevelTriggerable.cs
|
||
|
|
*
|
||
|
|
* Copyright © 2009
|
||
|
|
* Diversified Technical Systems, Inc.
|
||
|
|
* All Rights Reserved
|
||
|
|
*/
|
||
|
|
|
||
|
|
using System;
|
||
|
|
|
||
|
|
namespace DTS.DAS.Concepts.DAS.Channel
|
||
|
|
{
|
||
|
|
///
|
||
|
|
/// <summary>
|
||
|
|
/// Definition of the concept of level triggerability.
|
||
|
|
/// </summary>
|
||
|
|
///
|
||
|
|
public interface ILevelTriggerable
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Get/set the "trigger below" threshold. Set to "null" to deactivate.
|
||
|
|
/// </summary>
|
||
|
|
double? TriggerBelowThresholdEu { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Get/set the "trigger above" threshold. Set to "null" to deactivate.
|
||
|
|
/// </summary>
|
||
|
|
double? TriggerAboveThresholdEu { get; set; }
|
||
|
|
|
||
|
|
LevelTriggerTypes LevelTriggerType { get; set; }
|
||
|
|
}
|
||
|
|
[Flags]
|
||
|
|
public enum LevelTriggerTypes
|
||
|
|
{
|
||
|
|
NONE = 0x00,
|
||
|
|
OutsideWindow = 0x01,
|
||
|
|
InsideWindow = 0x02,
|
||
|
|
LessThan = 0x04,
|
||
|
|
GreaterThan = 0x08
|
||
|
|
}
|
||
|
|
}
|