Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / TemperatureProperty Class / TemperatureProperty Constructor / TemperatureProperty Constructor(Double,Unit)
The value of temperature.
The unit of temperature value.
Example
In This Topic
    TemperatureProperty Constructor(Double,Unit)
    In This Topic
    Creates a new instance of the TemperatureProperty with the specified value and unit.
    Syntax
    public TemperatureProperty( 
       double value,
       Unit unit
    )

    Parameters

    value
    The value of temperature.
    unit
    The unit of temperature value.
    Exceptions
    ExceptionDescription
    Thrown when the unit is not valid for this property.
    Example
    The following example shows how to create a new TemperatureProperty.
    TemperatureProperty temperatureProperty = new TemperatureProperty(42.0, Unit.Kelvin);
    See Also