Module parameter.
More...
|
| object | GetData () |
| | Gets the data object. More...
|
| |
| T | GetData< T > () |
| | If data is stored as a JSON serialized string, use this method to get the object instance specifying its type T. More...
|
| |
| void | SetData (object dataObject) |
| | Sets the data of this parameter. More...
|
| |
| bool | Is (string name) |
| | Determines whether this instance has the given name. More...
|
| |
| bool | WaitUpdate (double timeoutSeconds) |
| | Waits until this parameter is updated. More...
|
| |
◆ GetData()
Gets the data object.
- Returns
◆ GetData< T >()
If data is stored as a JSON serialized string, use this method to get the object instance specifying its type T.
- Template Parameters
-
- Returns
- The data object as type
T.
Example:
parameter.Value = "{ \"foo\": \"bar\", \"pippo\": \"pluto\" }";
var data = parameter.GetData<Dictionary<string,string>>();
foreach(var item in data) {
}
◆ SetData()
| void SetData |
( |
object |
dataObject | ) |
|
Sets the data of this parameter.
- Parameters
-
◆ Is()
Determines whether this instance has the given name.
- Returns
true if this instance is name; otherwise, false.
- Parameters
-
◆ WaitUpdate()
| bool WaitUpdate |
( |
double |
timeoutSeconds | ) |
|
Waits until this parameter is updated.
- Returns
true, if it was updated, false otherwise.
- Parameters
-
| timeoutSeconds | Timeout seconds. |
◆ Statistics
Gets the statistics.
The statistics.
◆ Name
◆ Value
Gets or sets the data of this parameter as string. If the value is a non-primitive object, set using the setData method, then the getter of Value will return the JSON serialized data.
The string value.
◆ Description
Gets or sets the description.
The description.
◆ FieldType
Gets or sets the type of the field.
The type of the field.
◆ UpdateTime
Gets the update time.
The update time.
◆ DecimalValue
Gets the decimal value.
The decimal value.
◆ IdleTime
Gets the idle time (time elapsed since last update).
The idle time.
The documentation for this class was generated from the following file: