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