Garmin Fleet Management Controller  2.19.0
CIftaDlg.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * CIftaDlg.h
5 *
6 * Copyright 2013 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #pragma once
11 
12 #include "FmiApplicationLayer.h"
13 #include "CWndEventListener.h"
14 
15 #if( FMI_SUPPORT_A615 )
16 
17 //----------------------------------------------------------------------
20 //----------------------------------------------------------------------
21 class CIftaDlg : public CDialog, public CWndEventListener
22 {
23  DECLARE_DYNAMIC(CIftaDlg)
24 
25 public:
26  CIftaDlg(
27  CWnd* pParent,
28  FmiApplicationLayer & aCom
29  );
30  virtual ~CIftaDlg();
31 
32 // Dialog Data
33  enum { IDD = IDD_IFTA };
34 
35 protected:
36  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
37 
38  DECLARE_MESSAGE_MAP()
39 
40 private:
41  //event handlers
42  afx_msg void OnBnClickedDataFetch();
43  afx_msg void OnBnClickedDataDelete();
44  afx_msg LRESULT OnEventIftaFileTransferReceived( WPARAM, LPARAM );
45 
46  //control data members
47  COleDateTime mStartDate;
48  COleDateTime mStartTime;
49  COleDateTime mEndDate;
50  COleDateTime mEndTime;
51 
54  };
55 
56 #endif
COleDateTime mEndDate
Definition: CIftaDlg.h:49
COleDateTime mStartDate
Definition: CIftaDlg.h:47
afx_msg void OnBnClickedDataFetch()
Attempt to fetch IFTA data from the device.
Definition: CIftaDlg.cpp:86
COleDateTime mStartTime
Definition: CIftaDlg.h:48
afx_msg LRESULT OnEventIftaFileTransferReceived(WPARAM, LPARAM)
Attempt to unzip received file and shell open the result.
Definition: CIftaDlg.cpp:143
virtual ~CIftaDlg()
Definition: CIftaDlg.cpp:41
Form for interacting with IFTA data on the device.
Definition: CIftaDlg.h:21
Serial communication controller for Garmin and FMI packets.
#define IDD_IFTA
Definition: resource.h:55
EventListener that dispatches a Windows message.
virtual void DoDataExchange(CDataExchange *pDX)
Definition: CIftaDlg.cpp:45
FmiApplicationLayer & mCom
Reference to the FMI communication controller.
Definition: CIftaDlg.h:53
COleDateTime mEndTime
Definition: CIftaDlg.h:50
afx_msg void OnBnClickedDataDelete()
Attempt to delete IFTA data on the device.
Definition: CIftaDlg.cpp:115
CIftaDlg(CWnd *pParent, FmiApplicationLayer &aCom)
Constructor.
Definition: CIftaDlg.cpp:30