SequenceSubstituteSlot Method |
Substitutes slot numbers, of packets, that target command station slots.
Namespace:
RRAutoLib.CTC
Assembly:
RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
SyntaxPublic Function SubstituteSlot (
bytOldSlot As Byte,
bytNewSlot As Byte
) As Boolean
public bool SubstituteSlot(
byte bytOldSlot,
byte bytNewSlot
)
Parameters
- bytOldSlot
- Type: SystemByte
- bytNewSlot
- Type: SystemByte
Return Value
Type:
BooleanReturns
True if slot numbers were successfully substituted;
False if slot numbers could not be substituted because the sequence is currently in a recording state.
RemarksIf the command station's slot number, associated with the engine, targeted by your sequence, has been changed, this method can be used to update the obsolete slot numbers.
See Also