Gets or sets the key press state of the set switch command.
Namespace:
RRAutoLib.Loconet
Assembly:
RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
Syntax Public Property Key As OnOff
Get
Set
public OnOff Key { get; set; }
Property Value
Type:
OnOffOn for key down;
Off for key up.
Remarks
Loconet throttles usually generate pairs of these PkSetSwitch packets for each state change.
One when the Set Switch button is depressed and a second when released with Key values of On and Off respectively.
Similarly, when generating these packets from the PC, this behavior could be simulated through this property.
See Also