Files
DP44/Common/DTS.Common.DAS.Concepts/IRealtimeable.cs
2026-04-17 14:55:32 -04:00

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();
}
}