Volume
Short summary
A datatype for volumes based on physical units. It can be converted to other units with the function CNM_RecipeHandling.ConvertVolume.
Access: -
Inherits from: MetricParameter
| Name | Type | Comment |
|---|---|---|
| unit | VolumeUnit | the volume unit |
Code
Declaration
TYPE Volume EXTENDS MetricParameter:
STRUCT
(* the volume unit *)
unit :VolumeUnit := VolumeUnit.CUBIC_METER;
END_STRUCT
END_TYPE