Garmin Fleet Management Controller
2.19.0
|
#include <CChangeBaudRateDlg.h>
Public Types | |
enum | { IDD = IDD_CHANGE_BAUD_RATE } |
Public Member Functions | |
CChangeBaudRateDlg (CWnd *pParent, FmiApplicationLayer &aCom) | |
Constructor. More... | |
virtual | ~CChangeBaudRateDlg () |
virtual afx_msg void | OnOK () |
Click handler for OK button. More... | |
Public Attributes | |
int | mCurrentRate |
Protected Member Functions | |
virtual void | DoDataExchange (CDataExchange *pDX) |
Protected Attributes | |
FmiApplicationLayer & | mCom |
Reference to the FMI communication controller. More... | |
int | mNewRate |
Definition at line 18 of file CChangeBaudRateDlg.h.
anonymous enum |
Enumerator | |
---|---|
IDD |
Definition at line 33 of file CChangeBaudRateDlg.h.
CChangeBaudRateDlg::CChangeBaudRateDlg | ( | CWnd * | pParent, |
FmiApplicationLayer & | aCom | ||
) |
Constructor.
aParent | The parent window |
aCom | Reference to the FMI communication controller |
Definition at line 26 of file CChangeBaudRateDlg.cpp.
|
virtual |
Definition at line 36 of file CChangeBaudRateDlg.cpp.
|
protectedvirtual |
Definition at line 40 of file CChangeBaudRateDlg.cpp.
References IDC_CURRENT_BAUD_RATE, IDC_NEW_BAUD_RATE, mCurrentRate, and mNewRate.
|
virtual |
Click handler for OK button.
Build and send a SET baud rate packet based on the state of the fields
Definition at line 57 of file CChangeBaudRateDlg.cpp.
References fmi_set_baud_request::baud_rate_type, FMI_BAUD_NEW_RATE_REQUEST, FMI_BAUD_RATE_38400, FMI_BAUD_RATE_57600, FMI_BAUD_RATE_9600, FMI_SET_BAUD_REQUEST, mCom, mNewRate, fmi_set_baud_request::request_type, and FmiApplicationLayer::sendFmiPacket().
|
protected |
Reference to the FMI communication controller.
Definition at line 41 of file CChangeBaudRateDlg.h.
Referenced by OnOK().
int CChangeBaudRateDlg::mCurrentRate |
Definition at line 45 of file CChangeBaudRateDlg.h.
Referenced by DoDataExchange().
|
protected |
Definition at line 42 of file CChangeBaudRateDlg.h.
Referenced by DoDataExchange(), and OnOK().