Garmin Fleet Management Controller  2.19.0
CAobrdOdometerDlg.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * CAobrdOdometerDlg.h
5 *
6 * Copyright 2012 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #ifndef CAobrdOdometerDlg_H
11 #define CAobrdOdometerDlg_H
12 
13 #include "FmiApplicationLayer.h"
14 
15 #if( FMI_SUPPORT_A610 )
16 
17 //---------------------------------------------------------------------
20 //---------------------------------------------------------------------
21 class CAobrdOdometerDlg : public CDialog
22 {
23  DECLARE_DYNAMIC( CAobrdOdometerDlg )
24  DECLARE_MESSAGE_MAP()
25 
26 public:
28  (
29  CWnd * aParent,
30  FmiApplicationLayer & aCom
31  );
32  virtual ~CAobrdOdometerDlg();
33 
34 protected:
35  virtual void DoDataExchange
36  (
37  CDataExchange* aDataExchange
38  );
39  afx_msg void OnEnChangeAobrdOdometer();
40  afx_msg void OnBnClickedOk();
41  BOOL OnInitDialog();
42 
45 
47  CString odometer_value;
48 };
49 #endif
50 
51 #endif
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
CAobrdOdometerDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
CString odometer_value
Odometer reading entered by the user.
Modal dialog allowing the user to set AOBRD Odometer value.
FmiApplicationLayer & mCom
Reference to the FMI communication controller that this dialog uses.
Serial communication controller for Garmin and FMI packets.
BOOL OnInitDialog()
Initialize the dialog.
afx_msg void OnBnClickedOk()
Click handler for the OK button.
afx_msg void OnEnChangeAobrdOdometer()
Edit Change handler for AOBRD odometer value text box.
virtual ~CAobrdOdometerDlg()
Destructor.