Module parameter.  
 More...
|  | 
| object | GetData () | 
|  | Gets the data object. 
 | 
|  | 
| T | GetData< T > () | 
|  | If data is stored as a JSON serialized string, use this method to get the object instance specifying its type T.
 | 
|  | 
| void | SetData (object dataObject) | 
|  | Sets the data of this parameter. 
 | 
|  | 
| bool | Is (string name) | 
|  | Determines whether this instance has the given name. 
 | 
|  | 
| bool | WaitUpdate (double timeoutSeconds) | 
|  | Waits until this parameter is updated. 
 | 
|  | 
|  | 
| ValueStatistics | Statistics  [get] | 
|  | Gets the statistics. 
 | 
|  | 
| string | Name  [get, set] | 
|  | Gets the name. 
 | 
|  | 
| string | Value  [get, set] | 
|  | Gets or sets the data of this parameter as string. If the value is a non-primitive object, set using the setDatamethod, then the getter ofValuewill return the JSON serialized data.
 | 
|  | 
| string | Description  [get, set] | 
|  | Gets or sets the description. 
 | 
|  | 
| string | FieldType  [get, set] | 
|  | Gets or sets the type of the field. 
 | 
|  | 
| DateTime | UpdateTime  [get, set] | 
|  | Gets the update time. 
 | 
|  | 
| double | DecimalValue  [get] | 
|  | Gets the decimal value. 
 | 
|  | 
| double | IdleTime  [get] | 
|  | Gets the idle time (time elapsed since last update). 
 | 
|  | 
◆ 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
- trueif this instance is name; otherwise,- false.
- Parameters
- 
  
  
 
 
◆ WaitUpdate()
      
        
          | bool WaitUpdate | ( | double | timeoutSeconds | ) |  | 
      
 
Waits until this parameter is updated. 
- Returns
- true, if it was updated,- falseotherwise.
- 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: