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