Unit Converter
This action is used to retrieve multiplier information from the UnitConversions
table, apply the multiplier to the incoming value, and return a result.
You can edit the table and add your own multipliers. To access unit converter, you open any object in MII Workbench and navigate to .
Example
The following line is included in the XML file:
<Conversion From="lb" To="kg" Multiplier="0.453592"/>
If the From property value is "lb" and the To property value is "kg" in the configuration, the above multiplier is used. The value is multiplied by 0.453592, and the result is shown in the Result
property.
There is no configuration screen for this action; all configuration is done through links in the Link Editor
screen.
The properties for this action are listed in the following table:
Property | Data Type | Access | Use |
|---|---|---|---|
| Double | In and out | The multiplier is applied to this value. |
| String | In and out | You convert the value from this unit. |
| String | In and out | You convert the value to this unit. |
| Double | Out | The result of the conversion of the value. |
| Boolean | Out | Indicates whether the action succeeded or failed. If it failed, errors are displayed in the server trace log. |