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.
public QuantityProperty( double lowerValue, double higherValue, Unit unit )
Exception | Description |
---|---|
EPLAN.Harness.API.Exceptions.WrongUnitException | Thrown when the unit is not valid for this property. |
QuantityProperty quantityProperty = new QuantityProperty(23, 42.0, Unit.X);