Class SamplesDataResult
Inheritance
System.Object
SamplesDataResult
Implements
Namespace: MESL.SqlRace.Domain.Infrastructure.DataPipeline
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class SamplesDataResult : Object, ISamplesDataResult
Constructors
SamplesDataResult(Double[], DataStatusType[], Int64[], Int32)
A data result containing array of data with timestamp and data status
Declaration
public SamplesDataResult(double[] data, DataStatusType[] status, long[] timestamps, int sampleCount)
Parameters
Type | Name | Description |
---|---|---|
System.Double[] | data | |
DataStatusType[] | status | |
System.Int64[] | timestamps | |
System.Int32 | sampleCount |
Properties
Data
The data for this result.
Declaration
public double[] Data { get; }
Property Value
Type | Description |
---|---|
System.Double[] |
SampleCount
Gets the sample count.
Declaration
public int SampleCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The sample count. |
Status
Declaration
public DataStatusType[] Status { get; }
Property Value
Type | Description |
---|---|
DataStatusType[] |
Timestamps
The timestamps of the data for this result.
Declaration
public long[] Timestamps { get; }
Property Value
Type | Description |
---|---|
System.Int64[] |