Files
DP44/Common/DTS.Common.DAS.Concepts/Interfaces/IRealtimeable.cs

35 lines
754 B
C#
Raw Normal View History

2026-04-17 14:55:32 -04:00
/*
* IRealtimeable.cs
*
* Copyright © 2010
* Diversified Technical Systems, Inc.
* All Rights Reserved.
*/
using System;
namespace DTS.Common.DAS.Concepts
{ ///
/// <summary>
/// Representation of a real-time data sample.
/// </summary>
///
public class RealtimeSample
{
public double[] DataEU; // Note this indexes by channel.
public ulong SampleNumber;
}
///
/// <summary>
/// Representation of the ability to perform "real-time" data capture.
/// </summary>
///
public interface IRealtimeable
{
void StartRealtime(double sampleRate);
void StopRealtime();
RealtimeSample[] GetRealtimeSamples();
}
}