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