UnitConversion

An activity which performs unit conversion by calling the OpenSpirit unit service .

General

The General tab contains the following fields.

Field Module Property? Description
Name No The name to be displayed as the label for the activity in the process.

Description

Provide a short description for the activity.

Input

The following is the input for the activity.

Input Item Data Type Description
Parameters Complex Root element for all input elements
TargetUnit OspUnit The unit that the input should be converted to. This must have the same base unit as the input unit(s). E.g. one can convert from feet to meters but not from feet to seconds.
FloatQuantity A sequence of OspFloatQuantity A sequence of OpenSpirit FloatQuantity (float value plus unit) to be converted.
DoubleQuantity A sequence of OspDoubleQuantity A sequence of OpenSpirit DoubleQuantity (double value plus unit) to be converted.
FloatQuantitySeries A sequence of OspFloatQuantitySeries A sequence of OpenSpirit FloatQuantitySeries (float values plus unit and optional null value) to be converted.
DoubleQuantitySeries A sequence of OspDoubleQuantitySeries A sequence of OpenSpirit DoubleQuantitySeries (double values plus unit and optional null value) to be converted.

Output

The following is the output for the activity. The output for this activity mirrors the input but all supplied input values have now been converted to the TargetUnit and all units are now equal to the TargetUnit.

Output Item Data Type Description
OspOutput Complex Root element for all output elements
TargetUnit OspUnit The unit that all inputs have been be converted to.
FloatQuantity A sequence of OspFloatQuantity A sequence of OpenSpirit FloatQuantity (float value plus unit) that has been converted to the TargetUnit (only present if supplied in input)
DoubleQuantity A sequence of OspDoubleQuantity A sequence of OpenSpirit DoubleQuantity (double value plus unit) that has been converted to the TargetUnit (only present if supplied in input)
FloatQuantitySeries OspFloatQuantitySeries A sequence of OpenSpirit FloatQuantitySeries (float values plus unit and optional null value) that has been converted to the TargetUnit (only present if supplied in input)
DoubleQuantitySeries A sequence of OspDoubleQuantitySeries A sequence of OpenSpirit DoubleQuantitySeries (double values plus unit and optional null value) that has been converted to the TargetUnit (only present if supplied in input)

Fault

The Fault tab lists exceptions that are thrown by this activity.

Error Schema Element Datatype Description
msg string The error message returned by the plug-in.
msgCode string The error code returned by the plug-in
Fault Thrown When...