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

    Parameters

    lowerValue
    The lower boundary of quantity interval.
    higherValue
    The higher boundary of quantity interval.
    unit
    The unit of quantity'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 QuantityProperty with an interval value.
    QuantityProperty quantityProperty = new QuantityProperty(23, 42.0, Unit.X);
    See Also