using System;
using DTS.Common.Utilities;
namespace DTS.Common.DAS.Concepts
{
///
///
/// Representation of data and metadata associated with a TSR event.
///
///
public abstract class TsrEvent : Exceptional, ICloneable
{
///
/// The 1-based identifier for this event.
///
public virtual UInt64 EventId { get; protected set; }
///
/// The containing the date and time of this event.
///
public virtual DateTime TimeStamp { get; protected set; }
///
/// The serial number of the hardware that captured this event.
///
public virtual string SerialNumber { get; protected set; }
///
/// The alternate serial number of the hardware that captured the event.
///
public virtual string AlternateSerialNumber { get; protected set; }
///
/// The duration in seconds of this event.
///
public virtual double DurationSeconds { get; protected set; }
///
/// The maximum sample rate for this event.
///
public virtual double MaxSampleRate { get; protected set; } // note this is the "highest" sample rate
///
/// The temperature (in C).
///
public virtual float TemperatureC { get; protected set; }
///
/// The number of pre-trigger seconds.
///
public virtual double PreTriggerSeconds { get; protected set; }
///
///
/// Generate a shallow copy of this object.
///
/// A shallow copy of this .
///
public abstract object Clone();
}
}