10 #ifndef CFmiPcAppDlg_H 11 #define CFmiPcAppDlg_H 81 CDataExchange * aDataExchange
122 BOOL aOpenOther =
FALSE 192 #if (FMI_SUPPORT_A606) 207 #if( FMI_SUPPORT_A608 ) 210 #if( FMI_SUPPORT_A609 ) 217 #if( FMI_SUPPORT_A610 ) 227 #if( FMI_SUPPORT_A611 ) 230 #if( FMI_SUPPORT_A612 ) 233 #if( FMI_SUPPORT_A613 ) 236 #if( FMI_SUPPORT_A615 ) 242 #if( FMI_SUPPORT_A616 ) 247 #if( FMI_SUPPORT_A617 ) 251 #if( FMI_SUPPORT_A619 ) 255 afx_msg LRESULT OnCDTPingReceived( WPARAM, LPARAM );
256 afx_msg LRESULT OnCDTPacketReceived( WPARAM, LPARAM );
257 afx_msg
void OnToolsCDTChat();
258 afx_msg
void OnToolsCDTPingOnce();
259 afx_msg
void OnToolsCDTPingTool();
261 #if( FMI_SUPPORT_A619 ) 264 #if( FMI_SUPPORT_A622 ) 271 #if( FMI_SUPPORT_A623 ) 454 CCdtChatDlg * mCdtChatDlg;
459 CCdtPingDlg * mCdtPingDlg;
afx_msg void OnBnClickedMsgThrottling()
Click handler for the Message Throttling button.
afx_msg LRESULT OnEventCommErrorDlgClosed(WPARAM, LPARAM)
Handle the Comm Error Dlg Closed event.
afx_msg void OnUpdateFileViewlog(CCmdUI *aCmdUI)
ON_UPDATE_COMMAND_UI handler for File > View Log menu item.
afx_msg void OnBnClickedSpeedLimit()
Click handler for the FMI Speed Limit Alerts button.
afx_msg LRESULT OnEventStopDone(WPARAM, LPARAM)
Handler for the Stop Done event from Com.
CString mEtaLatitude
Contents of the ETA Latitude text box (latitude of destination)
afx_msg void OnToolsFileConverter()
Handler for the Tools > File Converter action.
CWaypointDlg * mWaypointDlg
Pointer to the Waypoints dialog, or NULL if no such dialog is displayed.
CString mSupportedProtocols
Contents of Protocols text box.
afx_msg LRESULT OnEventStopListDlgClosed(WPARAM, LPARAM)
Handler for Stop List Dialog Closed event.
LogParser * mLogParser
The log parser to use.
CString mPvtLatitude
Contents of PVT text box: Latitude.
afx_msg LRESULT OnEventCannedMessageDlgClosed(WPARAM, LPARAM)
Handler for Canned Text Message Dialog Closed event.
afx_msg LRESULT OnEventMainDlgInit(WPARAM, LPARAM)
Handler for Main Dialog Init question.
afx_msg HCURSOR OnQueryDragIcon()
The system calls this function to obtain the cursor to display while the user drags the minimized win...
Browser-based container for listing the Dashcam library.
afx_msg void OnToolsConfigureHosPeriodicUpdates()
Handler for the HOS Periodic Updates configuration button.
CFmiPcAppDlg(id_type freeformFmiPacketId, CWnd *aParent=NULL)
Constructor.
afx_msg LRESULT OnEventWaypointDlgClosed(WPARAM, LPARAM)
Handler for Stop List Dialog Closed event.
CFileConverterDlg * mFileConverterDlg
Pointer to the File Converter dailog, or NULL if no such dialog is displayed.
afx_msg void OnTimer(UINT aTimerId)
WM_TIMER event handler.
Browser-based container for listing the Custom Avoidances library.
afx_msg void OnBnClickedDelData()
Click handler for the Delete Data button.
Dialog allowing the user to manage canned responses.
afx_msg void OnBnClickedManageCannedMsg()
Click handler for the Canned Messages button.
Modeless dialog allowing the user to manage the A603 stops on the client device.
afx_msg LRESULT OnEventTextMsgAck(WPARAM, LPARAM aEventDataPtr)
Handler for the Text Message Ack Received event from Com.
CString mUpDownVelocity
Contents of PVT text box: Up-Down velocity.
afx_msg void OnToolsHOS8HourRuleDisable()
Disable the HOS 8 Hour Rule on the device.
afx_msg void OnToolsCameraNtfctn()
Handler for the Tools > Camera > Notifications action.
afx_msg LRESULT OnEventFmiSafeModeError(WPARAM, LPARAM)
Handler for the FMI Safe Mode event from Com.
afx_msg void OnViewlog(BOOL aOpenOther=FALSE)
Display the log viewer.
Modal pop-up dialog displaying the status of a server to client text message.
Abstract base class for log item parsers.
CString m2DVelocity
Contents of PVT text box: 2-D velocity.
void doOpenLogFileQuestion()
Ask the user whether to open a log file.
BOOL mPvtChecked
If true, the Enable PVT check box is selected.
afx_msg void OnFileAOBRDDrivers()
Handler for the File > AOBRD Drivers.
afx_msg void OnBnClickedIdStatus()
Click handler for the Driver ID and Status button.
afx_msg void OnBnClickedCheckPVT()
Click handler for the Enable PVT check box.
CCannedTxtMsgDlg * mCannedTxtMsgDlg
Pointer to the Canned Text Message dialog, or NULL if no such dialog is displayed.
uint8 id_type
Garmin packet ID.
Form for sending A617 alerts to the device.
Dialog allowing the user to manage the list of canned messages on the client.
afx_msg LRESULT OnEventEtaModeReceived(WPARAM, LPARAM)
Handler for the ETA Mode Received event from Com.
CTxtMsgStatusDlg * mTxtMsgStatusDlg
Pointer to the message status dialog, or NULL if no text message status dialog is displayed...
CStopListDlg * mStopListDlg
Pointer to the stop list dialog, or NULL if the dialog is not open.
Modeless log viewer dialog.
CWordArray mRemainingRates
List of rates to try when first establishing communication.
afx_msg LRESULT OnEventAobrdFileTransferReceived(WPARAM, LPARAM)
Attempt to convert received file into human-readable CSV.
afx_msg void OnBnClickedManageStops()
Click handler for the Manage Stops button.
CString mPvtDate
Contents of PVT text box: Date.
CString getProductName(uint16 aProductId)
Translate a product ID into a display name.
afx_msg void OnToolsHOS8HourRuleEnable()
Enable the HOS 8 Hour Rule on the device.
CString mUnitId
Contents of the Unit ID (ESN) text box.
virtual BOOL OnInitDialog()
Initialize the dialog.
afx_msg void OnBnClickedChgAutoArvl()
Click handler for the Change Auto-Arrival button.
void doComPortQuestion()
Ask the user to select a mCom port.
Browser-based container for listing the Dashcam library.
bool mEtaTimerEnabled
If true, mEtaTimer is a valid timer ID.
CString mEtaDistance
Contents of the ETA Distance text box (distance to destination)
afx_msg void OnBnClickedSendAlert()
Handler for the Send Alert button.
afx_msg LRESULT OnEventDashcamNtfctnFromClient(WPARAM, LPARAM)
Handler for the Dashcam Notification Received event from Com.
CString mEtaTime
Contents of the ETA Time text box (arrival time at destination)
CString mEtaMode
Contents of the ETA Mode text box.
afx_msg LRESULT OnEventMsgThrottleFailed(WPARAM, LPARAM)
Handler for the Message Throttle Failed event from Com.
CManageCannedResponseDlg * mCannedResponseDlg
Pointer to the Canned Response dialog, or NULL if no such dialog is displayed.
Modeless dialog allowing the user to manage waypoints.
afx_msg void OnUpdateFileRebootDevice(CCmdUI *aCmdUI)
ON_UPDATE_COMMAND_UI handler for File > Reboot Device menu item.
CLogViewerDlg * mLogViewerDlg
Pointer to the log viewer dialog, or NULL if the dialog is not open.
afx_msg void OnBnClickedAobrdOdometer()
Click handler for the AOBRD Set Odometer button.
afx_msg LRESULT OnEventLogViewerClosed(WPARAM, LPARAM)
Handler for Log Viewer Closed event.
HICON mIconHandle
Handle to the dialog's icon.
afx_msg LRESULT OnEventCannedResponseDlgClosed(WPARAM, LPARAM)
Handler for Canned Response Dialog Closed event.
afx_msg void OnToolsCustomForms()
Handler for the Tools > Custom Forms action.
afx_msg void OnFileClearPacketLog()
Handler for the File > Clear Packet Log action.
afx_msg void OnToolsCameraSettings()
Handler for the Tools > Camera > Settings action.
afx_msg void OnBnClickedMsgDelete()
Click handler for the Message Delete button.
Form for interacting with IFTA data on the device.
afx_msg void OnBnClickedCannedResponses()
Click handler for the Canned Responses button.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
afx_msg LRESULT OnEventUserInterfaceTextChangeFailed(WPARAM, LPARAM)
Handler for the UI Text Change Failed event from Com.
afx_msg LRESULT OnEventCannedRespListReceiptError(WPARAM aResultCode, LPARAM)
Handler for the Canned Response List Rcpt Error event.
afx_msg void OnPaint()
Handler for WM_PAINT message. If the dialog is minimized, draw the icon centered in the client rectan...
UINT_PTR mEtaTimer
Pointer to the timer ID for the ETA timer (used to disable the timer when needed) ...
afx_msg LRESULT OnEventDriverIdAndStatusDlgClosed(WPARAM, LPARAM)
Handler for Driver ID and Status Dialog Closed event.
std::map< uint16, CString > mProductNames
Map of numeric product IDs to displayable names.
CString mPvtLongitude
Contents of PVT text box: Longitude.
afx_msg void OnBnClickedAutoStatusUpdates()
Handler for the Auto Status Updates button.
CMapViewerDlg * mMapViewerDlg
Pointer to the Map Viewer dailog, or NULL if no such dialog is displayed.
CString mGpsFix
Contents of PVT text box: GPS fix.
BOOL mResolvingCommRate
flag for determining if communication rate is being resolved
CSendSensorDlg * mSendSensorDlg
Pointer to the Add/Delete Sensor dailog, or NULL if no such dialog is displayed.
CString mPvtTime
Contents of PVT text box: Time.
afx_msg void OnBnClickedViewlog()
Click handler for the View Packet Log button.
bool tryNextCommRate()
Used in conjunction with mRemainingRates to cycle through available rates when initializing communica...
Serial communication controller for Garmin and FMI packets.
CString mEtaLongitude
Contents of the ETA Longitude text box (longitude of destination)
afx_msg LRESULT OnEventLongTextMsgError(WPARAM, LPARAM)
Handler for the Server to Client Long Text Message Error event from Com.
afx_msg LRESULT OnEventProductIdReceived(WPARAM, LPARAM)
Handler for the Product ID Received event from Com.
afx_msg void OnBnClickedUiTxtChg()
Click handler for the Change UI Text button.
afx_msg void OnBnClickedChgComPort()
Click handler for the Change Com Port button.
afx_msg LRESULT OnEventCommTimeout(WPARAM, LPARAM)
Display the Com Time Out error dialog.
#define FMI_SUPPORT_A602
If true, app was build with support for A602 protocols.
File conversion tool to support various GPS file formats.
FmiApplicationLayer mCom
The FmiApplicationLayer object used to communicate with the client.
EventListener that dispatches a Windows message.
Modeless dialog allowing the user to query and update Driver ID and Status on the client...
unsigned short int uint16
16-bit unsigned integer
afx_msg void OnFileClose()
Handler for the File > Close action. Close the app.
afx_msg void OnBnClickedSend()
Click handler for the Send (FMI Packet) button.
CString mPacketData
Contents of the FMI Packet (payload) edit box.
CCustomFormsDlg * mCustomFormsDlg
Pointer to the Custom Forms dailog, or NULL if no such dialog is displayed.
afx_msg LRESULT OnEventEsnReceived(WPARAM, LPARAM)
Handler for the Unit ID (ESN) Received event from Com.
afx_msg LRESULT OnEventProtocolsReceived(WPARAM, LPARAM)
Handler for the Protocols Received event from Com.
afx_msg void OnBnClickedReqETA()
Click handler for the Request ETA button.
afx_msg void OnBnClickedSendSensor()
Handler for the Add/Delete Sensor button.
afx_msg void OnUpdateFileAOBRDDrivers(CCmdUI *aCmdUI)
ON_UPDATE_COMMAND_UI handler for File > AOBRD Drivers menu item.
CString mEastWestVelocity
Contents of PVT text box: East-West velocity.
CString mProductId
Contents of Product ID text box.
afx_msg void OnBnClickedWaypoints()
Click handler for the Waypoints button.
Modal dialog displaying a communication error.
CIftaDlg * mIftaDlg
Pointer to the IFTA dailog, or NULL if no such dialog is displayed.
afx_msg LRESULT OnEventDriverStatusListDeleteFailed(WPARAM, LPARAM)
Handler for the Delete Driver Status Failed event from Com.
afx_msg void OnBnClickedFileTrans()
Click handler for the Transfer File button.
afx_msg void OnBnClickedPing()
Click handler for the Ping button.
afx_msg LRESULT OnEventFmiDisabled(WPARAM, LPARAM)
Set FMI as disabled.
afx_msg void OnToolsIfta()
Handler for the Tools > IFTA.
afx_msg void OnBnClickedChangeBaudRate()
Handler for the Change Baud Rate button.
CSendAlertDlg * mSendAlertDlg
Pointer to the Send Alert dailog, or NULL if no such dialog is displayed.
afx_msg void OnHelpAbout()
Opens the About Dialog box.
afx_msg LRESULT OnEventOpenTextMsgError(WPARAM, LPARAM aEventDataPtr)
Handler for the Server to Client Text Message Error event from Com.
CString mNorthSouthVelocity
Contents of PVT text box: North-South velocity.
BOOL selectComPort()
Show the Select Comm Port dialog.
int mBaudRateSyncRetries
Used to retry baud rate synchronization packets.
afx_msg LRESULT OnEventBaudRateSynchronizing(WPARAM, LPARAM)
BOOL mAutoEtaChecked
If TRUE, the Auto ETA Request text box is checked.
void initProductNames()
Initialize the list of product names.
afx_msg LRESULT OnEventTxtMsgFromClient(WPARAM, LPARAM aEventDataPtr)
Handler for the Text Message Received event from Com.
CDriverIdAndStatusDlg * mDriverIdAndStatusDlg
Pointer to the Driver ID and Status dialog, or NULL if no such dialog is displayed.
afx_msg LRESULT OnEventDeleteTextMessageStatus(WPARAM aEventData, LPARAM)
Handler for the Delete Text Message Status event from Com.
afx_msg void OnBnClickedMsgStatus()
Click handler for the Message Status button.
Form for sending A617 sensor popups to the device.
afx_msg LRESULT OnEventBaudRateSynchronized(WPARAM, LPARAM)
afx_msg void OnToolsMapViewer()
Handler for the Tools > Map Viewer action.
CDashcamDlg * mDashcamDlg
Pointer to the Dashcam dialog, or NULL if no such dialog is displayed.
afx_msg void OnBnClickedEnable()
Click handler for the Send Enable button.
afx_msg void OnBnClickedETAMode()
Click handler for the ETA Mode button.
afx_msg LRESULT OnEventPvtReceived(WPARAM, LPARAM)
Handler for the PVT Data Received event from Com.
afx_msg void OnBnClickedAutoETA()
Event handler for Auto ETA Request check box.
afx_msg void OnFileRebootDevice()
Handler for the File > Reboot Device.
afx_msg void OnBnClickedOk()
Click handler for the OK button. Close the app.
void initStopList()
Initialize the stop list.
CString mAltitude
Contents of PVT text box: Altitude.
afx_msg void OnBnClickedGpiQuery()
Click handler for the GPI Query button.
CDashcamNtfctnDlg * mDashcamNtfctnDlg
CString mSoftwareVersion
Contents of Software Version text box.
CCommErrorDlg * mCommErrorDlg
Pointer to the comm error dialog, or NULL if the dialog is not open.
~CFmiPcAppDlg()
Destructor.
afx_msg void OnBnClickedSafeMode()
Click handler for the FMI Safe Mode button.
afx_msg LRESULT OnEventDashcamIncidentFileNtfctnFromClient(WPARAM, LPARAM)
Handler for the Dashcam Incident File Notification Received event from Com.
CString mPacketId
Contents of the FMI Packet ID edit box.
afx_msg void OnBnClickedTxt()
Click handler for the Send Text Message button.
afx_msg void OnSysCommand(UINT nID, LPARAM lParam)
Called when the user selects a command from the Control menu, or when the user selects the Maximize o...
BOOL mComPortSelected
If TRUE, the user has selected a FmiApplicationLayer port.
afx_msg LRESULT OnEventEtaReceived(WPARAM, LPARAM)
Handler for the ETA Received event from Com.
afx_msg void OnToolsHOSSetStartTimeOfDay()
BOOL mIgnoreTimer
If TRUE, all timers should be ignored.
afx_msg LRESULT OnEventTxtMsgStatus(WPARAM, LPARAM)
Handler for the Text Message Status Received event from Com.