35 lines
750 B
C#
35 lines
750 B
C#
/*
|
|
* IRealtimeable.cs
|
|
*
|
|
* Copyright © 2010
|
|
* Diversified Technical Systems, Inc.
|
|
* All Rights Reserved.
|
|
*/
|
|
|
|
using System;
|
|
|
|
namespace DTS.DAS.Concepts
|
|
{ ///
|
|
/// <summary>
|
|
/// Representation of a real-time data sample.
|
|
/// </summary>
|
|
///
|
|
public class RealtimeSample
|
|
{
|
|
public double[] DataEU; // Note this indexes by channel.
|
|
public UInt64 SampleNumber;
|
|
}
|
|
|
|
///
|
|
/// <summary>
|
|
/// Representation of the ability to perform "real-time" data capture.
|
|
/// </summary>
|
|
///
|
|
public interface IRealtimeable
|
|
{
|
|
void StartRealtime( double sampleRate );
|
|
void StopRealtime();
|
|
RealtimeSample[] GetRealtimeSamples();
|
|
}
|
|
}
|