Garmin Fleet Management Controller  2.19.0
CDashcamNtfctnFromClient.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * CDashcamNtfctnFromClient.h
5 *
6 * Copyright 2015 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #pragma once
11 
12 #include "EventId.h"
13 #include "FmiApplicationLayer.h"
14 
15 #if( FMI_SUPPORT_A622 )
16 
17 //----------------------------------------------------------------------
24 //----------------------------------------------------------------------
25 class CDashcamNtfctnFromClient : public CDialog
26 {
27  DECLARE_DYNAMIC( CDashcamNtfctnFromClient )
28  DECLARE_MESSAGE_MAP()
29 
30 public:
32  (
33  CWnd * aParent,
34  FmiApplicationLayer & aCom,
36  );
37 
39  (
40  CWnd * aParent,
41  FmiApplicationLayer & aCom,
43  );
44 
45  virtual ~CDashcamNtfctnFromClient();
46 
47 protected:
48  virtual void DoDataExchange
49  (
50  CDataExchange * aDataExchange
51  );
52 
53  void init
54  (
55  time_type origination_time,
56  sc_position_type scposn,
57  uint8 ntfctn_type
58  );
59 
62 
64  CString mLongitude;
65  CString mLatitude;
66  CString mType;
68 };
69 
70 #endif
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
Data type for Dashcam Notification Packet ID (0X160C) from client to server (request) ...
Definition: fmi.h:2337
Data type for Dashcam Notification Packet ID (0X1606) from client to server (request) ...
Definition: fmi.h:2328
FmiApplicationLayer & mCom
Reference to the FMI communication controller.
void init(time_type origination_time, sc_position_type scposn, uint8 ntfctn_type)
Initialize the field data.
virtual ~CDashcamNtfctnFromClient()
Destructor.
Serial communication controller for Garmin and FMI packets.
CDashcamNtfctnFromClient(CWnd *aParent, FmiApplicationLayer &aCom, const fmi_dashcam_ntfctn_req_data_type &aEvent)
Constructor.
Indicates a latitude and longitude in semicircles.
Definition: garmin_types.h:124
unsigned char uint8
8-bit unsigned integer
Definition: garmin_types.h:62
Modal pop up dialog displaying a client to server dashcam notification.
uint32 time_type
Absolute time (number of seconds since 12/31/1989 12:00 am UTC)
Definition: garmin_types.h:97