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