Parameters
- from
- The grouped pin to reconnect from.
- to
- The grouped pin to reconnect to.
Exception | Description |
---|---|
EPLAN.Harness.API.Exceptions.ArgumentException | Argument is invalid. The exception is thrown when a wrong argument is passed to the method or the setter of property. |
EPLAN.Harness.API.Exceptions.ConnectionException | The exception that is thrown when there is a problem with the connection of an occurrence. |
OccWsShield shield = ...
// The shield is connected to 'fromPin' but you want to connect it to 'toPin'.
OccWsGroupedPin fromPin = ...
OccWsGroupedPin toPin = ...
shield.Reconnect(fromPin, toPin);