Parameters
- from
- The ribbon pin to reconnect from.
- to
- The ribbon 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. |
OccWsRibbonCable ribbonCable = ...
// The ribbon cable is connected to 'fromPin' but you want to connect it to 'toPin'.
OccWsRibbonPin fromPin = ...
OccWsRibbonPin toPin = ...
ribbonCable.Reconnect(fromPin, toPin);