Parameters
- value
- The value of temperature.
- unit
- The unit of temperature value.
Exception | Description |
---|---|
EPLAN.Harness.API.Exceptions.WrongUnitException | Thrown when the unit is not valid for this property. |
TemperatureProperty temperatureProperty = new TemperatureProperty(42.0, Unit.Kelvin);