C# Class ClientApp.Communication

Datei anzeigen Open project: projectgroepA1/ProjectgroepA1 Class Usage Examples

Public Properties

Property Type Description
port System.IO.Ports.SerialPort

Public Methods

Method Description
Communication ( string com ) : System
sendCommand ( string command ) : void

Private Methods

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

Method Details

Communication() public method

public Communication ( string com ) : System
com string
return System

sendCommand() public method

public sendCommand ( string command ) : void
command string
return void

Property Details

port public_oe property

public SerialPort,System.IO.Ports port
return System.IO.Ports.SerialPort