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