📄 gpssimdlg.h
字号:
// GpsSimDlg.h : header file
//
#if !defined(AFX_GPSSIMDLG_H__80C8E0D3_6331_4273_BDAD_240089BCD17C__INCLUDED_)
#define AFX_GPSSIMDLG_H__80C8E0D3_6331_4273_BDAD_240089BCD17C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "SerialPort.h"
/////////////////////////////////////////////////////////////////////////////
// CGpsSimDlg dialog
class CGpsSimDlg : public CDialog
{
// Construction
public:
CGpsSimDlg(CWnd* pParent = NULL); // standard constructor
CSerialPort m_SerialPort;
// Dialog Data
//{{AFX_DATA(CGpsSimDlg)
enum { IDD = IDD_GPSSIM_DIALOG };
CString m_strGroundDir;
CString m_strGroundSpeed;
CString m_strLAT;
CString m_strLONG;
CString m_strMagAngle;
CString m_strUtcData;
CString m_strUtcTime;
int m_nLatHemishere;
int m_nLongHemishere;
int m_nMagAngleDir;
int m_nPosStatus;
CString m_strSerialPort;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGpsSimDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
public:
HANDLE m_hTime;
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CGpsSimDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBtnUpdata();
afx_msg void OnBtnStartSend();
afx_msg void OnBtnStopSend();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GPSSIMDLG_H__80C8E0D3_6331_4273_BDAD_240089BCD17C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -