C# Class X13.Periphery.MsDevice.MsGSerial

Inheritance: IMsGate
Mostra file Open project: X13home/X13.Host

Public Methods

Method Description
AddNode ( MsDevice dev ) : void
Addr2If ( byte addr ) : string
Close ( ) : void
MsGSerial ( SerialPort port ) : System
Open ( ) : void
RemoveNode ( MsDevice dev ) : void
Rescan ( ) : void
SendGw ( MsDevice dev, MsMessage msg ) : void
SendGw ( byte addr, MsMessage msg ) : void
Stop ( ) : void

Private Methods

Method Description
CommThread ( object o ) : void
Dispose ( ) : void
GetPacket ( SerialPort port, int &length, byte buf, int &cnt, bool &escChar ) : bool
MsGSerial ( ) : System
ScanPorts ( object o, bool b ) : void
SendRaw ( MsGSerial g, MsMessage msg, byte tmp ) : void
SendRaw ( SerialPort port, byte buf, byte tmp ) : void

Method Details

AddNode() public method

public AddNode ( MsDevice dev ) : void
dev MsDevice
return void

Addr2If() public method

public Addr2If ( byte addr ) : string
addr byte
return string

Close() public static method

public static Close ( ) : void
return void

MsGSerial() public method

public MsGSerial ( SerialPort port ) : System
port System.IO.Ports.SerialPort
return System

Open() public static method

public static Open ( ) : void
return void

RemoveNode() public method

public RemoveNode ( MsDevice dev ) : void
dev MsDevice
return void

Rescan() public static method

public static Rescan ( ) : void
return void

SendGw() public method

public SendGw ( MsDevice dev, MsMessage msg ) : void
dev MsDevice
msg MsMessage
return void

SendGw() public method

public SendGw ( byte addr, MsMessage msg ) : void
addr byte
msg MsMessage
return void

Stop() public method

public Stop ( ) : void
return void