Class PdaCurrentPosition
The PDA Current Position.
Inheritance
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class PdaCurrentPosition : Object
Constructors
PdaCurrentPosition()
Declaration
public PdaCurrentPosition()
Properties
DoubleValue
Gets the PdaCurrentPosition value when the X Axis is not Time.
Declaration
public double DoubleValue { get; }
Property Value
Type | Description |
---|---|
System.Double | The PdaCurrentPosition value. |
HasValue
Gets a value indicating whether this PdaCurrentPosition has a value.
Declaration
public bool HasValue { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
LongValue
Gets the PdaCurrentPosition value when the X Axis is Time.
Declaration
public long LongValue { get; }
Property Value
Type | Description |
---|---|
System.Int64 | The PdaCurrentPosition value. |
Methods
Create(Double)
Create a new PdaCurrentPosition instance.
Declaration
public static PdaCurrentPosition Create(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | The non-time X-Axis value. |
Returns
Type | Description |
---|---|
PdaCurrentPosition | A PdaCurrentPosition Instance. |
Create(Int64)
Create a new PdaCurrentPosition instance.
Declaration
public static PdaCurrentPosition Create(long value)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | value | The time X-Axis value. |
Returns
Type | Description |
---|---|
PdaCurrentPosition | A PdaCurrentPosition Instance. |
Create(Int64, Double)
Create a new PdaCurrentPosition instance.
Declaration
public static PdaCurrentPosition Create(long lngValue, double dblValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | lngValue | The long value. |
System.Double | dblValue | The double value. |
Returns
Type | Description |
---|---|
PdaCurrentPosition | The PdaCurrentPosition. |
IncrementBy(Double)
Increments the PdaCurrentPosition by the non-time value
.
Declaration
public void IncrementBy(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | The non-time value to increment by. |
IncrementBy(Int64)
Increments the PdaCurrentPosition by the time value
.
Declaration
public void IncrementBy(long value)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | value | The time value to increment by. |
Set(Double)
Sets the PdaCurrentPosition value when the X Axis is not Time.
Declaration
public void Set(double pos)
Parameters
Type | Name | Description |
---|---|---|
System.Double | pos | The X Axis Non-Time value |
Set(Int64)
Sets the PdaCurrentPosition value when the X Axis is Time.
Declaration
public void Set(long pos)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | pos | The X Axis time value. |
ToString()
The to string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | The System.String. |