Class CompositeSample
CompositeSample
Implements
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class CompositeSample : Object, IEquatable<CompositeSample>
Constructors
CompositeSample()
Initializes a new instance of the Composite
Declaration
public CompositeSample()
CompositeSample(SessionKey, Double[], DataStatusType[])
Initializes a new instance of the Composite
Declaration
public CompositeSample(SessionKey key, double[] data, DataStatusType[] status)
Parameters
Type | Name | Description |
---|---|---|
MAT. |
key | The Session |
System. |
data | Array of data values. |
MAT. |
status | Array of MAT. |
CompositeSample(SessionKey, Int64[], Double[])
Initializes a new instance of the Composite
Declaration
public CompositeSample(SessionKey key, long[] timestamp, double[] data)
Parameters
Type | Name | Description |
---|---|---|
MAT. |
key | The Session |
System. |
timestamp | Array of timestamps |
System. |
data | Array of data values. |
CompositeSample(SessionKey, Int64[], Double[], DataStatusType[])
Initializes a new instance of the Composite
Declaration
public CompositeSample(SessionKey key, long[] timestamp, double[] data, DataStatusType[] status)
Parameters
Type | Name | Description |
---|---|---|
MAT. |
key | The Session |
System. |
timestamp | Array of timestamps |
System. |
data | Array of data values. |
MAT. |
status | Array of MAT. |
Properties
Data
Data Values
Declaration
public double[] Data { get; set; }
Property Value
Type | Description |
---|---|
System. |
SessionKey
Gets or Sets the Key of the Session that provided this data
Declaration
public SessionKey SessionKey { get; set; }
Property Value
Type | Description |
---|---|
MAT. |
Status
Declaration
public DataStatusType[] Status { get; set; }
Property Value
Type | Description |
---|---|
MAT. |
Timestamp
Timestamps
Declaration
public long[] Timestamp { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
Equals(CompositeSample)
Equalses the specified other.
Declaration
public virtual bool Equals(CompositeSample other)
Parameters
Type | Name | Description |
---|---|---|
Composite |
other | The other. |
Returns
Type | Description |
---|---|
System. |
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj | The System. |
Returns
Type | Description |
---|---|
System. |
|
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
ToString()
Returns a System.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
A System. |
Operators
Equality(CompositeSample, CompositeSample)
Implements the operator ==.
Declaration
public static bool operator ==(CompositeSample left, CompositeSample right)
Parameters
Type | Name | Description |
---|---|---|
Composite |
left | The left. |
Composite |
right | The right. |
Returns
Type | Description |
---|---|
System. |
The result of the operator. |
Inequality(CompositeSample, CompositeSample)
Implements the operator !=.
Declaration
public static bool operator !=(CompositeSample left, CompositeSample right)
Parameters
Type | Name | Description |
---|---|---|
Composite |
left | The left. |
Composite |
right | The right. |
Returns
Type | Description |
---|---|
System. |
The result of the operator. |