Class OnlinerReal
Class providing access to the REAL type online variable.
Implements
Inherited Members
Namespace: Vortex.Connector.ValueTypes
Assembly: Vortex.Connector.dll
Syntax
public class OnlinerReal : OnlinerBaseType<float>, IValueTag, ITwinPrimitive, IVortexElement, INotifyPropertyChanged, IValueBoundaries<float>, IOnlineReal, IOnline<float>, IShadowReal, IShadow<float>
Constructors
OnlinerReal()
Initializes a new instance of the OnlinerReal class.
Declaration
public OnlinerReal()
OnlinerReal(IVortexObject, String, String)
Initializes a new instance of the OnlinerReal class.
Declaration
public OnlinerReal(IVortexObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
IVortexObject | parent | Parent object of this instance. |
System.String | readableTail | Human readable tail of this instance. |
System.String | symbolTail | Symbol tail of this instance. |
Fields
epsilon
Declaration
const float epsilon = 1E-05F
Field Value
Type | Description |
---|---|
System.Single |
Properties
InstanceMaxValue
Gets the max value for this instance.
Declaration
public override float InstanceMaxValue { get; }
Property Value
Type | Description |
---|---|
System.Single |
Overrides
InstanceMinValue
Gets the min value for this instance.
Declaration
public override float InstanceMinValue { get; }
Property Value
Type | Description |
---|---|
System.Single |
Overrides
MaxValue
Gets the max value of OnlinerReal.
Declaration
public static float MaxValue { get; }
Property Value
Type | Description |
---|---|
System.Single |
MinValue
Gets the min value of OnlinerReal.
Declaration
public static float MinValue { get; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
IsCyclicNearlyEqualTo(Single)
Determines whether this 'Cyclic' value is nearly equal to number argument.
Declaration
public bool IsCyclicNearlyEqualTo(float number)
Parameters
Type | Name | Description |
---|---|---|
System.Single | number | Number to compare. |
Returns
Type | Description |
---|---|
System.Boolean | True when 'Cyclic' is nearly equal. |
IsCyclicNearlyEqualTo(Single, Single)
Determines whether this 'Cyclic' value is nearly equal to number argument.
Declaration
public bool IsCyclicNearlyEqualTo(float number, float epsilon)
Parameters
Type | Name | Description |
---|---|---|
System.Single | number | Number to compare. |
System.Single | epsilon | Precision. |
Returns
Type | Description |
---|---|
System.Boolean | True when 'Cyclic' is nearly equal. |
IsSynchronNearlyEqualTo(Single)
Determines whether this 'Synchron' value is nearly equal to number argument.
Declaration
public bool IsSynchronNearlyEqualTo(float number)
Parameters
Type | Name | Description |
---|---|---|
System.Single | number | Number to compare. |
Returns
Type | Description |
---|---|
System.Boolean | True when 'Synchron' is nearly equal. |
IsSynchronNearlyEqualTo(Single, Single)
Determines whether this 'Synchron' value is nearly equal to number argument.
Declaration
public bool IsSynchronNearlyEqualTo(float number, float epsilon)
Parameters
Type | Name | Description |
---|---|---|
System.Single | number | Number to compare. |
System.Single | epsilon | Precision. |
Returns
Type | Description |
---|---|
System.Boolean | True when 'Synchron' is nearly equal. |