Method | Description | |
---|---|---|
OnWindowClosing ( object sender, CancelEventArgs e ) : void |
Close port if port is open when user closes MainWindow.
|
|
SerialCommViewModel ( ) : System |
Method | Description | |
---|---|---|
ChangeFileLocationMethod ( ) : void | ||
DataReceivedEvent ( object sender, System.IO.Ports.SerialDataReceivedEventArgs e ) : void |
Receive data event from serial port.
|
|
ExportFileCanExecute ( ) : bool | ||
ExportFileMethod ( ) : void | ||
GetConnectionStatus ( ) : string |
Get connection/communication status.
|
|
RefreshPortsMethod ( ) : void |
Rescan avaiable ports
|
|
StartListening ( ) : void |
Initiate serial port communication.
|
|
StartListeningCanExecute ( ) : bool |
Allow/disallow StartListening() to be executed.
|
|
StartTimer ( int duration ) : void | ||
StopListening ( ) : void |
Terminate serial port communication.
|
|
TimerTick ( object send, |
||
WriteData ( ) : void |
Send data to serial port.
|
public OnWindowClosing ( object sender, CancelEventArgs e ) : void | ||
sender | object | |
e | CancelEventArgs | |
return | void |