Temperature
Short summary
A datatype for temperatures based on temperature scales. It can be converted to other units with the function CNM_RecipeHandling.ConvertTemperature.
Access: -
Inherits from: BaseParameter
| Name | Type | Comment |
|---|---|---|
| unit | TemperatureUnit | the temperature scale |
Code
Declaration
TYPE Temperature EXTENDS BaseParameter:
STRUCT
(* the temperature scale *)
unit :TemperatureUnit := TemperatureUnit.KELVIN;
END_STRUCT
END_TYPE