C# Class Robot.CommunicationObject

Inheritance: ISender, IDisposable
Exibir arquivo Open project: evilmachina/theMachine

Public Methods

Method Description
CommunicationObject ( string comPortName ) : System
Dispose ( ) : void
Open ( ) : void
Send ( byte bytes ) : void

Private Methods

Method Description
SetupComPort ( string comPortName ) : void
port_DataReceived ( object sender, System.IO.Ports.SerialDataReceivedEventArgs e ) : void

Method Details

CommunicationObject() public method

public CommunicationObject ( string comPortName ) : System
comPortName string
return System

Dispose() public method

public Dispose ( ) : void
return void

Open() public method

public Open ( ) : void
return void

Send() public method

public Send ( byte bytes ) : void
bytes byte
return void