Skip to main content

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

NameTypeComment
unitVolumeUnitthe volume unit

Code

Declaration

TYPE Volume EXTENDS MetricParameter:
STRUCT
(* the volume unit *)
unit :VolumeUnit := VolumeUnit.CUBIC_METER;
END_STRUCT
END_TYPE