Class FieldDouble
FieldDouble, represents a double field type. Implements the FieldType
Inherited Members
Namespace: Mechatronics.SystemGraph
Syntax
[Serializable]
public class FieldDouble : FieldType
Constructors
FieldDouble(INodeEditor, Object)
Initializes a new instance of the FieldDouble class.
Declaration
public FieldDouble(INodeEditor editor, object inData = null)
Parameters
| Type | Name | Description |
|---|---|---|
| INodeEditor | editor | The editor. |
| Object | inData | The data binding. |
Properties
Data
Gets or sets the data.
Declaration
public double Data { get; set; }
Property Value
| Type | Description |
|---|---|
| Double | The data. |
PortType
Gets the type of the port.
Declaration
public PortType<double> PortType { get; }
Property Value
| Type | Description |
|---|---|
| PortType<Double> | The type of the port. |
Methods
OnValueChanged(ChangeEvent<Double>)
Called when [value changed].
Declaration
public void OnValueChanged(ChangeEvent<double> e)
Parameters
| Type | Name | Description |
|---|---|---|
| ChangeEvent<Double> | e | The event. |
SynchronizePortValue()
Synchronizes the port value.
Declaration
public override void SynchronizePortValue()