메소드 | 설명 | |
---|---|---|
OnWindowClosing ( object sender, CancelEventArgs e ) : void |
Close port if port is open when user closes MainWindow.
|
|
SerialCommViewModel ( ) : System |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |