Show / Hide Table of Contents

Class VirtualSample

The function sample.

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

Constructors

VirtualSample(Int64, Double, DataStatusType)

Initialises a new instance of the VirtualSample class.

Declaration
public VirtualSample(long timestamp, double dataValue, DataStatusType status)
Parameters
Type Name Description
System.Int64 timestamp

The timestamp.

System.Double dataValue

The data value.

MAT.OCS.Core.DataStatusType status

The status.

VirtualSample(Int64, Double, Double, DataStatusType)

Initialises a new instance of the VirtualSample class.

Declaration
public VirtualSample(long timestamp, double dataMinValue, double dataMaxValue, DataStatusType status)
Parameters
Type Name Description
System.Int64 timestamp

The timestamp.

System.Double dataMinValue

The data minimum value.

System.Double dataMaxValue

The data maximum value.

MAT.OCS.Core.DataStatusType status

The status.

Properties

Data

Gets or sets the data.

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

The data.

MaxData

Gets or sets the data.

Declaration
public double MaxData { get; set; }
Property Value
Type Description
System.Double

The data.

MinData

Gets or sets the data.

Declaration
public double MinData { get; set; }
Property Value
Type Description
System.Double

The data.

Status

Gets or sets the status.

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

The status.

Timestamp

Gets or sets the timestamp.

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

The timestamp.

Methods

Equals(VirtualSample)

The equals.

Declaration
public bool Equals(VirtualSample other)
Parameters
Type Name Description
VirtualSample other

The other.

Returns
Type Description
System.Boolean

The System.Boolean.

Equals(Object)

The equals.

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

The FunctionSchedule object.

Returns
Type Description
System.Boolean

The System.Boolean.

GetHashCode()

The get hash code.

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

The System.Int32.

ToString()

The to string.

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

The System.String.

Operators

Equality(VirtualSample, VirtualSample)

The == operator.

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

Left FunctionSchedule.

VirtualSample right

Right FunctionSchedule.

Returns
Type Description
System.Boolean

True if equal.

Inequality(VirtualSample, VirtualSample)

The != operator.

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

Left FunctionSchedule.

VirtualSample right

Right FunctionSchedule.

Returns
Type Description
System.Boolean

True if not equal.

Implements

System.IEquatable<>
Back to top Generated by DocFX