LoconetServiceComPort Property |
Gets or sets the communication port number of the Loconet interface.
Namespace:
RRAutoLib.Loconet
Assembly:
RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
SyntaxPublic Property ComPort As Byte
Get
Set
public byte ComPort { get; set; }
Property Value
Type:
ByteDefault value is 1.
RemarksIf the LoconetService is started, setting this property will not take effect until the service is stopped and restarted.
ExamplesSee the
Start method for a code example.
See Also