71 lines
2.8 KiB
Plaintext
71 lines
2.8 KiB
Plaintext
|
|
/*
|
||
|
|
* DTS.Slice.Control.Event.Module.AnalogInputChannel.ReviewableMeasuredShuntDeflectionAttribute.cs
|
||
|
|
*
|
||
|
|
* Copyright © 2009
|
||
|
|
* Diversified Technical Systems, Inc.
|
||
|
|
* All Rights Reserved
|
||
|
|
*/
|
||
|
|
|
||
|
|
using System;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using System.Linq;
|
||
|
|
using System.Text;
|
||
|
|
|
||
|
|
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
|
||
|
|
{
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// A reviewable measured shunt deflection attribute attached to a specific channel.
|
||
|
|
/// </summary>
|
||
|
|
public class ReviewableMeasuredShuntDeflectionAttribute
|
||
|
|
: Slice.Control.Event.Module.Channel.ReviewableAttribute
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Initialize an instance of this class.
|
||
|
|
/// </summary>
|
||
|
|
///
|
||
|
|
/// <param name="channel">
|
||
|
|
/// The <see cref="Event.Module.Channel"/> to which this attribute is attached.
|
||
|
|
/// </param>
|
||
|
|
///
|
||
|
|
public ReviewableMeasuredShuntDeflectionAttribute(Event.Module.Channel channel)
|
||
|
|
: base("Measured Shunt Deflection (mV)", delegate { return (channel as DTS.DAS.Concepts.DAS.Channel.IShuntAware).MeasuredShuntDeflectionMv.ToString("F1"); })
|
||
|
|
{
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// A reviewable measured shunt deflection attribute attached to a specific channel.
|
||
|
|
/// </summary>
|
||
|
|
public class ReviewableMeasuredCalSignalAttribute
|
||
|
|
: Slice.Control.Event.Module.Channel.ReviewableAttribute
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Initialize an instance of this class.
|
||
|
|
/// </summary>
|
||
|
|
///
|
||
|
|
/// <param name="channel">
|
||
|
|
/// The <see cref="Event.Module.Channel"/> to which this attribute is attached.
|
||
|
|
/// </param>
|
||
|
|
///
|
||
|
|
public ReviewableMeasuredCalSignalAttribute(Event.Module.Channel channel)
|
||
|
|
: base("Measured Calibration Signal (mV)", delegate { return (channel as DTS.DAS.Concepts.DAS.Channel.ICalSignalAware).MeasuredCalSignalMv.ToString("F1"); })
|
||
|
|
{
|
||
|
|
}
|
||
|
|
}
|
||
|
|
} // *** end Channel ***
|
||
|
|
} // *** end Module ***
|
||
|
|
} // *** end Event ***
|
||
|
|
}
|