📄 simulategps.h
字号:
// SimulateGPS.h : main header file for the SIMULATEGPS application
//
#if !defined(AFX_SIMULATEGPS_H__57B58008_6F6A_45DC_855D_0D8F8E442E6E__INCLUDED_)
#define AFX_SIMULATEGPS_H__57B58008_6F6A_45DC_855D_0D8F8E442E6E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#include "Serial.h"
/////////////////////////////////////////////////////////////////////////////
// CSimulateGPSApp:
// See SimulateGPS.cpp for the implementation of this class
//
class CSimulateGPSApp : public CWinApp
{
public:
CSimulateGPSApp();
CSeWorkSpace m_WorkSpace;
//模拟参数定义
int m_Speed; // 行驶速度
int m_PlaySpeed; // 播放速度
int m_Distance; // 播报距离
int m_GPSPort;
int m_GPSBaud;
int m_InPort;
int m_InBaud;
CSerial m_PlaySerial; // 报播串口
CSerial m_ReceiveSerial;// 接受串口
bool m_bPlayReady; // 报播串口初始化状态
bool m_bReciveReady; // 接受串口初始化状态
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSimulateGPSApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CSimulateGPSApp)
afx_msg void OnAppAbout();
afx_msg void OnAppExit();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SIMULATEGPS_H__57B58008_6F6A_45DC_855D_0D8F8E442E6E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -