Length
Short summary
A datatype for distances based on physical length units. It can be converted to other units with the function CNM_RecipeHandling.ConvertLength.
Access: -
Inherits from: MetricParameter
| Name | Type | Comment |
|---|---|---|
| unit | LengthUnit | the length unit |
Code
Declaration
TYPE Length EXTENDS MetricParameter:
STRUCT
(* the length unit *)
unit :LengthUnit := LengthUnit.METER;
END_STRUCT
END_TYPE