C# Class X13.Periphery.MsDevice.MsGSerial

Inheritance: IMsGate
Afficher le fichier Open project: X13home/X13.Host

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AddNode ( MsDevice dev ) : void
dev MsDevice
Résultat void

Addr2If() public méthode

public Addr2If ( byte addr ) : string
addr byte
Résultat string

Close() public static méthode

public static Close ( ) : void
Résultat void

MsGSerial() public méthode

public MsGSerial ( SerialPort port ) : System
port System.IO.Ports.SerialPort
Résultat System

Open() public static méthode

public static Open ( ) : void
Résultat void

RemoveNode() public méthode

public RemoveNode ( MsDevice dev ) : void
dev MsDevice
Résultat void

Rescan() public static méthode

public static Rescan ( ) : void
Résultat void

SendGw() public méthode

public SendGw ( MsDevice dev, MsMessage msg ) : void
dev MsDevice
msg MsMessage
Résultat void

SendGw() public méthode

public SendGw ( byte addr, MsMessage msg ) : void
addr byte
msg MsMessage
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void