-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathIDiscreteUnitOfOutput.cs
More file actions
34 lines (31 loc) · 1.14 KB
/
IDiscreteUnitOfOutput.cs
File metadata and controls
34 lines (31 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// =================================================================================================================================
using System;
namespace RapidField.SolidInstruments.SignalProcessing
{
/// <summary>
/// Represents a discrete unit of output from an <see cref="IChannel" />.
/// </summary>
/// <typeparam name="T">
/// The type of the associated channel's output value.
/// </typeparam>
public interface IDiscreteUnitOfOutput<T>
{
/// <summary>
/// Gets the zero-based index for the current <see cref="IDiscreteUnitOfOutput{T}" /> within the associated channel's output
/// stream.
/// </summary>
public Int32 ChannelReadIndex
{
get;
}
/// <summary>
/// Gets the output value.
/// </summary>
public T Value
{
get;
}
}
}