Class QuerySample
QuerySample
Inheritance
System.Object
QuerySample
Implements
System.IEquatable<QuerySample>
Namespace: MESL.SqlRace.Domain.Query
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class QuerySample : Object, IEquatable<QuerySample>
Constructors
QuerySample()
Default Constructor
Declaration
public QuerySample()
QuerySample(Int64, Double, String)
Constructor
Declaration
public QuerySample(long timestamp, double data, string displayData)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | timestamp | |
System.Double | data | |
System.String | displayData |
QuerySample(Int64, Double, String, DataStatusType)
Constructor
Declaration
public QuerySample(long timestamp, double data, string displayData, DataStatusType sampleDataType)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | timestamp | |
System.Double | data | |
System.String | displayData | |
DataStatusType | sampleDataType |
Properties
Data
Data Value
Declaration
public double Data { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
DisplayData
Converted Value
Declaration
public string DisplayData { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SampleDataType
Sample Type
Declaration
public DataStatusType SampleDataType { get; set; }
Property Value
Type | Description |
---|---|
DataStatusType |
Timestamp
Timestamp
Declaration
public long Timestamp { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
Equals(QuerySample)
Equals
Declaration
public bool Equals(QuerySample other)
Parameters
Type | Name | Description |
---|---|---|
QuerySample | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Equals
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode()
GetHashCode
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
ToString()
ToString
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Operators
Equality(QuerySample, QuerySample)
Overloaded == Operator
Declaration
public static bool operator ==(QuerySample left, QuerySample right)
Parameters
Type | Name | Description |
---|---|---|
QuerySample | left | |
QuerySample | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(QuerySample, QuerySample)
Overloaded != Operator
Declaration
public static bool operator !=(QuerySample left, QuerySample right)
Parameters
Type | Name | Description |
---|---|---|
QuerySample | left | |
QuerySample | right |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.IEquatable<>