Skip to main content

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

NameTypeComment
unitTemperatureUnitthe temperature scale

Code

Declaration

TYPE Temperature EXTENDS BaseParameter:
STRUCT
(* the temperature scale *)
unit :TemperatureUnit := TemperatureUnit.KELVIN;
END_STRUCT
END_TYPE