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