Velocity
Short summary
A datatype for velocities based on physical units. It can be converted to other units with the function CNM_RecipeHandling.ConvertVelocity.
Access: -
Inherits from: BaseParameter
| Name | Type | Comment |
|---|---|---|
| distanceUnit | LengthUnit | - |
| distancePrefix | MetricPrefixes | - |
| timeUnit | DurationUnit | - |
| timePrefix | MetricPrefixes | - |
Code
Declaration
TYPE Velocity EXTENDS BaseParameter:
STRUCT
distanceUnit :LengthUnit := LengthUnit.METER;
distancePrefix :MetricPrefixes := MetricPrefixes.NONE;
timeUnit :DurationUnit := DurationUnit.SECONDS;
timePrefix :MetricPrefixes := MetricPrefixes.NONE;
END_STRUCT
END_TYPE