📄 gpsloggerdlg.h
字号:
// GPSLoggerDlg.h : header file
//
#if !defined(AFX_GPSLOGGERDLG_H__E0C076B9_F192_4A43_81B1_FFA1520743F4__INCLUDED_)
#define AFX_GPSLOGGERDLG_H__E0C076B9_F192_4A43_81B1_FFA1520743F4__INCLUDED_
#include "GPS.H" // Added by ClassView
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CGPSLoggerDlg dialog
class CGPSLoggerDlg : public CDialog
{
private:
static void GpsEventProc(int code,
int h,int m,int s,int ms,
double longitude, double latitude,
double height,
double valicity,
double direction,
LPVOID userptr);
// Construction
public:
void GetLastLogFile();
CGPSLoggerDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CGPSLoggerDlg)
enum { IDD = IDD_GPSLOGGER_DIALOG };
double m_fLongitude;
double m_fLatitude;
CString m_strPort;
BOOL m_bDatavalid;
double m_fAltitude;
double m_fDirection;
double m_fVelocity;
CString m_strTime;
BOOL m_bAdjust;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGPSLoggerDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CGPSLoggerDlg)
virtual BOOL OnInitDialog();
afx_msg void OnBtnscan();
afx_msg void OnBtnopen();
afx_msg void OnDestroy();
afx_msg void OnGps(WPARAM wParam,LPARAM lParam);
afx_msg void OnCkadjust();
afx_msg void OnPower();
afx_msg void OnHotkey(WPARAM wParam,LPARAM lParam);
afx_msg void OnBtnnewfile();
afx_msg void OnBtnmakelayer();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
GPS m_gps;
BOOL m_bIsGPSRunning;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GPSLOGGERDLG_H__E0C076B9_F192_4A43_81B1_FFA1520743F4__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -