Duration
Short summary
A datatype for durations based on physical time units. It can be converted to other units with the function CNM_RecipeHandling.ConvertDuration.
Access: -
Inherits from: MetricParameter
| Name | Type | Comment |
|---|---|---|
| unit | DurationUnit | the time unit |
Code
Declaration
TYPE Duration EXTENDS MetricParameter :
STRUCT
(* the time unit *)
unit :DurationUnit := DurationUnit.SECONDS;
END_STRUCT
END_TYPE