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

    Parameters

    lowerValue
    The lower boundary of temperature interval.
    higherValue
    The higher boundary of temperature interval.
    unit
    The unit of temperature's lowerValue and higherValue.
    Exceptions
    ExceptionDescription
    Thrown when the unit is not valid for this property.
    Example
    The following example shows how to create a new TemperatureProperty with interval value.
    TemperatureProperty temperatureProperty = new TemperatureProperty(23, 42.0, Unit.Kelvin);
    See Also