Files
DP44/Common/DTS.Common.DAS.Concepts/DAS/DAS.Channel.ILevelTriggerable.cs

42 lines
1011 B
C#
Raw Permalink Normal View History

2026-04-17 14:55:32 -04:00
/*
* 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
}
}