/* * DTS.Slice.Control.Event.Module.AnalogInputChannel.ReviewableMinMaxEuAttribute.cs * * Copyright © 2009 * Diversified Technical Systems, Inc. * All Rights Reserved */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using DTS.Utilities; namespace DTS.Slice.Control { // *** see DTS.Slice.Control.Event.cs *** public partial class Event { // *** see DTS.Slice.Control.Event.Module.cs *** public partial class Module { // *** see DTS.Slice.Control.Event.Module.AnalogInputChannel.cs *** public partial class AnalogInputChannel { /// /// A reviewable min/max EU attribute attached to a specific channel. /// public class ReviewableMinMaxEuAttribute : Slice.Control.Event.Module.Channel.ReviewableAttribute { /// /// Initialize an instance of this class. /// /// /// /// The to which this attribute is attached. /// /// public ReviewableMinMaxEuAttribute(Event.Module.Channel channel) : base("Max/Min (EU)", delegate { return channel.DataMaxFilteredEu.ToString("F1") + "/" + channel.DataMinFilteredEu.ToString("F1"); }) { } } } // *** end Channel *** } // *** end Module *** } // *** end Event *** }