RS232Port.RS232MainForm Class Reference

List of all members.

Public Types

enum  debugTerminalMode { silent, quiet, verbose }

Public Member Functions

delegate void receiveDataEventHandler ()
delegate void pinChangedEventHandler ()
delegate void updateStatusEventHandler ()
delegate void updateErrorEventHandler (Exception error)
 RS232MainForm ()
void setPortName (string name)
string initializeComPort ()
string closePort ()
void clearDebugTextBox ()
void updateStatusMessage (string update)
void updatePortSettings ()
void transmit (string data)
void exitGracefully ()
void sendSerialCommand (char headder, byte command)

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used.


byte[] SerialBytes [get, set]
bool Silent [get, set]
debugTerminalMode DebugMode [get, set]
string Status [get]
SerialPort Port [get]
string[] PortNames [get]
string SerialData [get]
bool CtsState [get]
bool DsrState [get]
int RecieveDelayMs [get, set]


updateErrorEventHandler updateErrorEvent
receiveDataEventHandler receiveDataEvent
pinChangedEventHandler ctsChangedEvent
pinChangedEventHandler dsrChangedEvent
updateStatusEventHandler setSilentModeEvent

Detailed Description

Definition at line 14 of file RS232MainForm.cs.

Member Enumeration Documentation


Definition at line 47 of file RS232MainForm.cs.

Constructor & Destructor Documentation

RS232Port.RS232MainForm.RS232MainForm (  ) 

Definition at line 122 of file RS232MainForm.cs.

Member Function Documentation

void RS232Port.RS232MainForm.clearDebugTextBox (  ) 

Definition at line 367 of file RS232MainForm.cs.

string RS232Port.RS232MainForm.closePort (  ) 

Definition at line 189 of file RS232MainForm.cs.

override void RS232Port.RS232MainForm.Dispose ( bool  disposing  )  [protected]

Clean up any resources being used.

disposing true if managed resources should be disposed; otherwise, false.

Definition at line 12 of file RS232MainForm.Designer.cs.

void RS232Port.RS232MainForm.exitGracefully (  ) 

Definition at line 510 of file RS232MainForm.cs.

string RS232Port.RS232MainForm.initializeComPort (  ) 

Definition at line 157 of file RS232MainForm.cs.

delegate void RS232Port.RS232MainForm.pinChangedEventHandler (  ) 
delegate void RS232Port.RS232MainForm.receiveDataEventHandler (  ) 
void RS232Port.RS232MainForm.sendSerialCommand ( char  headder,
byte  command 

Definition at line 542 of file RS232MainForm.cs.

void RS232Port.RS232MainForm.setPortName ( string  name  ) 

Definition at line 139 of file RS232MainForm.cs.

void RS232Port.RS232MainForm.transmit ( string  data  ) 

Definition at line 475 of file RS232MainForm.cs.

delegate void RS232Port.RS232MainForm.updateErrorEventHandler ( Exception  error  ) 
void RS232Port.RS232MainForm.updatePortSettings (  ) 

Definition at line 379 of file RS232MainForm.cs.

delegate void RS232Port.RS232MainForm.updateStatusEventHandler (  ) 
void RS232Port.RS232MainForm.updateStatusMessage ( string  update  ) 

Definition at line 372 of file RS232MainForm.cs.

Property Documentation

bool RS232Port.RS232MainForm.CtsState [get]

Definition at line 107 of file RS232MainForm.cs.

debugTerminalMode RS232Port.RS232MainForm.DebugMode [get, set]

Definition at line 74 of file RS232MainForm.cs.

bool RS232Port.RS232MainForm.DsrState [get]

Definition at line 112 of file RS232MainForm.cs.

SerialPort RS232Port.RS232MainForm.Port [get]

Definition at line 88 of file RS232MainForm.cs.

string [] RS232Port.RS232MainForm.PortNames [get]

Definition at line 94 of file RS232MainForm.cs.

int RS232Port.RS232MainForm.RecieveDelayMs [get, set]

Definition at line 117 of file RS232MainForm.cs.

byte [] RS232Port.RS232MainForm.SerialBytes [get, set]

Definition at line 23 of file RS232MainForm.cs.

string RS232Port.RS232MainForm.SerialData [get]

Definition at line 100 of file RS232MainForm.cs.

bool RS232Port.RS232MainForm.Silent [get, set]

Definition at line 54 of file RS232MainForm.cs.

string RS232Port.RS232MainForm.Status [get]

Definition at line 84 of file RS232MainForm.cs.

Event Documentation

pinChangedEventHandler RS232Port.RS232MainForm.ctsChangedEvent

Definition at line 39 of file RS232MainForm.cs.

pinChangedEventHandler RS232Port.RS232MainForm.dsrChangedEvent

Definition at line 40 of file RS232MainForm.cs.

receiveDataEventHandler RS232Port.RS232MainForm.receiveDataEvent

Definition at line 38 of file RS232MainForm.cs.

updateStatusEventHandler RS232Port.RS232MainForm.setSilentModeEvent

Definition at line 41 of file RS232MainForm.cs.

updateErrorEventHandler RS232Port.RS232MainForm.updateErrorEvent

Definition at line 33 of file RS232MainForm.cs.

The documentation for this class was generated from the following files:
Generated on Sun Nov 7 03:27:45 2010 for system_controller by  doxygen 1.6.3