Show / Hide Table of Contents

Class CompositeSample

CompositeSample

Inheritance
System.Object
CompositeSample
XAxisSamples
Implements
System.IEquatable<CompositeSample>
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class CompositeSample : Object, IEquatable<CompositeSample>

Constructors

CompositeSample()

Initializes a new instance of the CompositeSample class.

Declaration
public CompositeSample()

CompositeSample(SessionKey, Double[], DataStatusType[])

Initializes a new instance of the CompositeSample class.

Declaration
public CompositeSample(SessionKey key, double[] data, DataStatusType[] status)
Parameters
Type Name Description
MAT.OCS.Core.SessionKey key

The SessionKey

System.Double[] data

Array of data values.

MAT.OCS.Core.DataStatusType[] status

Array of MAT.OCS.Core.DataStatusType.

CompositeSample(SessionKey, Int64[], Double[])

Initializes a new instance of the CompositeSample class.

Declaration
public CompositeSample(SessionKey key, long[] timestamp, double[] data)
Parameters
Type Name Description
MAT.OCS.Core.SessionKey key

The SessionKey

System.Int64[] timestamp

Array of timestamps

System.Double[] data

Array of data values.

CompositeSample(SessionKey, Int64[], Double[], DataStatusType[])

Initializes a new instance of the CompositeSample class.

Declaration
public CompositeSample(SessionKey key, long[] timestamp, double[] data, DataStatusType[] status)
Parameters
Type Name Description
MAT.OCS.Core.SessionKey key

The SessionKey

System.Int64[] timestamp

Array of timestamps

System.Double[] data

Array of data values.

MAT.OCS.Core.DataStatusType[] status

Array of MAT.OCS.Core.DataStatusType.

Properties

Data

Data Values

Declaration
public double[] Data { get; set; }
Property Value
Type Description
System.Double[]

SessionKey

Gets or Sets the Key of the Session that provided this data

Declaration
public SessionKey SessionKey { get; set; }
Property Value
Type Description
MAT.OCS.Core.SessionKey

Status

MAT.OCS.Core.DataStatusType
Declaration
public DataStatusType[] Status { get; set; }
Property Value
Type Description
MAT.OCS.Core.DataStatusType[]

Timestamp

Timestamps

Declaration
public long[] Timestamp { get; set; }
Property Value
Type Description
System.Int64[]

Methods

Equals(CompositeSample)

Equalses the specified other.

Declaration
public virtual bool Equals(CompositeSample other)
Parameters
Type Name Description
CompositeSample other

The other.

Returns
Type Description
System.Boolean

Equals(Object)

Determines whether the specified System.Object, is equal to this instance.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

The System.Object to compare with this instance.

Returns
Type Description
System.Boolean

true if the specified System.Object is equal to this instance; otherwise, false.

GetHashCode()

Returns a hash code for this instance.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

ToString()

Returns a System.String that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
System.String

A System.String that represents this instance.

Operators

Equality(CompositeSample, CompositeSample)

Implements the operator ==.

Declaration
public static bool operator ==(CompositeSample left, CompositeSample right)
Parameters
Type Name Description
CompositeSample left

The left.

CompositeSample right

The right.

Returns
Type Description
System.Boolean

The result of the operator.

Inequality(CompositeSample, CompositeSample)

Implements the operator !=.

Declaration
public static bool operator !=(CompositeSample left, CompositeSample right)
Parameters
Type Name Description
CompositeSample left

The left.

CompositeSample right

The right.

Returns
Type Description
System.Boolean

The result of the operator.

Implements

System.IEquatable<>
Back to top Generated by DocFX