Public Member Functions | |
delegate void | updateStatusEventHandler () |
delegate void | updateDataEventHandler () |
delegate void | updateUiEventHandler () |
delegate void | updateErrorEventHandler (Exception error) |
SerialStrategy () | |
string | openPort () |
string | closePort () |
void | setSilentMode (bool silent) |
void | showSerialPort () |
void | sendSerialCommand (char headder, byte command) |
delegate void | updateStatusEventHandler () |
delegate void | updateDataEventHandler () |
delegate void | updateUiEventHandler () |
delegate void | updateErrorEventHandler (Exception error) |
SerialStrategy () | |
string | openPort () |
string | closePort () |
void | setSilentMode (bool silent) |
void | showSerialPort () |
Protected Member Functions | |
delegate void | openSerialPortEventHandler () |
void | updateData () |
void | updateStatus () |
void | updateSilentMode () |
void | updateUi () |
void | updateError (Exception e) |
delegate void | openSerialPortEventHandler () |
void | updateData () |
void | updateStatus () |
void | updateSilentMode () |
void | updateUi () |
void | updateError (Exception e) |
Protected Attributes | |
BitArray | _dataAtom |
double | _outDouble = 0 |
long | _outLong = 0 |
int | _outInt = 0 |
bool | _outBool = false |
string | serialPortName |
RS232MainForm | _rs232 |
string | _status |
string | _error |
Stopwatch | _watchdogTimer |
bool | _silent = true |
Properties | |
string | Status [get] |
string | Error [get] |
Stopwatch | WatchdogTimer [get] |
bool | Silent [get] |
Events | |
updateStatusEventHandler | updateStatusEvent |
updateStatusEventHandler | setSilentModeEvent |
updateDataEventHandler | updateDataEvent |
updateUiEventHandler | updateUiEvent |
updateErrorEventHandler | updateErrorEvent |
openSerialPortEventHandler | openSerialPortEvent |
Definition at line 10 of file SerialStrategy.cs.
RS232Port.SerialStrategy.SerialStrategy | ( | ) |
Definition at line 48 of file SerialStrategy.cs.
RS232Port.SerialStrategy.SerialStrategy | ( | ) |
Definition at line 46 of file SerialStrategy.cs.
string RS232Port.SerialStrategy.closePort | ( | ) |
Definition at line 81 of file SerialStrategy.cs.
string RS232Port.SerialStrategy.closePort | ( | ) |
Definition at line 83 of file SerialStrategy.cs.
string RS232Port.SerialStrategy.openPort | ( | ) |
Definition at line 77 of file SerialStrategy.cs.
string RS232Port.SerialStrategy.openPort | ( | ) |
Definition at line 79 of file SerialStrategy.cs.
delegate void RS232Port.SerialStrategy.openSerialPortEventHandler | ( | ) | [protected] |
delegate void RS232Port.SerialStrategy.openSerialPortEventHandler | ( | ) | [protected] |
void RS232Port.SerialStrategy.sendSerialCommand | ( | char | headder, | |
byte | command | |||
) |
Definition at line 106 of file SerialStrategy.cs.
void RS232Port.SerialStrategy.setSilentMode | ( | bool | silent | ) |
Definition at line 85 of file SerialStrategy.cs.
void RS232Port.SerialStrategy.setSilentMode | ( | bool | silent | ) |
Definition at line 87 of file SerialStrategy.cs.
void RS232Port.SerialStrategy.showSerialPort | ( | ) |
Definition at line 94 of file SerialStrategy.cs.
void RS232Port.SerialStrategy.showSerialPort | ( | ) |
Definition at line 96 of file SerialStrategy.cs.
void RS232Port.SerialStrategy.updateData | ( | ) | [protected] |
Definition at line 50 of file SerialStrategy.cs.
void RS232Port.SerialStrategy.updateData | ( | ) | [protected] |
Definition at line 52 of file SerialStrategy.cs.
delegate void RS232Port.SerialStrategy.updateDataEventHandler | ( | ) |
delegate void RS232Port.SerialStrategy.updateDataEventHandler | ( | ) |
void RS232Port.SerialStrategy.updateError | ( | Exception | e | ) | [protected] |
Definition at line 72 of file SerialStrategy.cs.
void RS232Port.SerialStrategy.updateError | ( | Exception | e | ) | [protected] |
Definition at line 74 of file SerialStrategy.cs.
delegate void RS232Port.SerialStrategy.updateErrorEventHandler | ( | Exception | error | ) |
delegate void RS232Port.SerialStrategy.updateErrorEventHandler | ( | Exception | error | ) |
void RS232Port.SerialStrategy.updateSilentMode | ( | ) | [protected] |
Definition at line 60 of file SerialStrategy.cs.
void RS232Port.SerialStrategy.updateSilentMode | ( | ) | [protected] |
Definition at line 62 of file SerialStrategy.cs.
void RS232Port.SerialStrategy.updateStatus | ( | ) | [protected] |
Definition at line 55 of file SerialStrategy.cs.
void RS232Port.SerialStrategy.updateStatus | ( | ) | [protected] |
Definition at line 57 of file SerialStrategy.cs.
delegate void RS232Port.SerialStrategy.updateStatusEventHandler | ( | ) |
delegate void RS232Port.SerialStrategy.updateStatusEventHandler | ( | ) |
void RS232Port.SerialStrategy.updateUi | ( | ) | [protected] |
Definition at line 65 of file SerialStrategy.cs.
void RS232Port.SerialStrategy.updateUi | ( | ) | [protected] |
Definition at line 67 of file SerialStrategy.cs.
delegate void RS232Port.SerialStrategy.updateUiEventHandler | ( | ) |
delegate void RS232Port.SerialStrategy.updateUiEventHandler | ( | ) |
BitArray RS232Port.SerialStrategy::_dataAtom [protected] |
Definition at line 24 of file SerialStrategy.cs.
string RS232Port.SerialStrategy::_error [protected] |
Definition at line 38 of file SerialStrategy.cs.
bool RS232Port.SerialStrategy._outBool = false [protected] |
Definition at line 28 of file SerialStrategy.cs.
double RS232Port.SerialStrategy::_outDouble = 0 [protected] |
Definition at line 25 of file SerialStrategy.cs.
int RS232Port.SerialStrategy._outInt = 0 [protected] |
Definition at line 27 of file SerialStrategy.cs.
long RS232Port.SerialStrategy._outLong = 0 [protected] |
Definition at line 26 of file SerialStrategy.cs.
RS232MainForm RS232Port.SerialStrategy::_rs232 [protected] |
Definition at line 31 of file SerialStrategy.cs.
bool RS232Port.SerialStrategy::_silent = true [protected] |
Definition at line 91 of file SerialStrategy.cs.
string RS232Port.SerialStrategy::_status [protected] |
Definition at line 33 of file SerialStrategy.cs.
Stopwatch RS232Port.SerialStrategy::_watchdogTimer [protected] |
Definition at line 43 of file SerialStrategy.cs.
string RS232Port.SerialStrategy::serialPortName [protected] |
Definition at line 30 of file SerialStrategy.cs.
string RS232Port.SerialStrategy::Error [get] |
Definition at line 39 of file SerialStrategy.cs.
bool RS232Port.SerialStrategy::Silent [get] |
Definition at line 92 of file SerialStrategy.cs.
string RS232Port.SerialStrategy::Status [get] |
Definition at line 34 of file SerialStrategy.cs.
Stopwatch RS232Port.SerialStrategy::WatchdogTimer [get] |
Definition at line 44 of file SerialStrategy.cs.
openSerialPortEventHandler RS232Port.SerialStrategy::openSerialPortEvent [protected] |
Definition at line 22 of file SerialStrategy.cs.
updateStatusEventHandler RS232Port.SerialStrategy::setSilentModeEvent |
Definition at line 14 of file SerialStrategy.cs.
updateDataEventHandler RS232Port.SerialStrategy::updateDataEvent |
Definition at line 16 of file SerialStrategy.cs.
updateErrorEventHandler RS232Port.SerialStrategy::updateErrorEvent |
Definition at line 20 of file SerialStrategy.cs.
updateStatusEventHandler RS232Port.SerialStrategy::updateStatusEvent |
Definition at line 13 of file SerialStrategy.cs.
updateUiEventHandler RS232Port.SerialStrategy::updateUiEvent |
Definition at line 18 of file SerialStrategy.cs.