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