Interface ITemperature
- All Known Implementing Classes:
DefaultTemperature
public interface ITemperature
Indicates if something has a temperature.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
Zero degrees Celcius in Kelvin. -
Method Summary
Modifier and TypeMethodDescriptiondouble
A default temperature is active in the target's default state, for example if a machine has just been created and has its default temperature.double
double
double
-
Field Details
-
ZERO_CELCIUS
static final double ZERO_CELCIUSZero degrees Celcius in Kelvin.- See Also:
-
-
Method Details
-
getTemperature
double getTemperature()- Returns:
- The current temperature in degrees Kelvin.
-
getMaximumTemperature
double getMaximumTemperature()- Returns:
- The maximum temperature the target can have.
-
getMinimumTemperature
double getMinimumTemperature()- Returns:
- The minimum temperature the target can have.
-
getDefaultTemperature
double getDefaultTemperature()A default temperature is active in the target's default state, for example if a machine has just been created and has its default temperature.- Returns:
- The default temperature the target has.
-