?? 頭文件.txt
字號:
// CommPort.h: interface for the CCommPort class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_COMMPORT_H__296B5A90_EA73_48BE_BE0C_2E7BBD98D279__INCLUDED_)
#define AFX_COMMPORT_H__296B5A90_EA73_48BE_BE0C_2E7BBD98D279__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
struct BLCO
{
double B;
double L;
};
struct GPSInfo
{
BLCO co;
unsigned short sn;
short speed;
short direction;
};
class CCommPort
{
public:
void ClearCommBuf(int iType);
void ShowSatPos();
void StartRead();
void ClosePort();
void SendByte(HANDLE hPort,BYTE Byte);
BOOL InitGPS();
CString FindGPSPort();
GPSInfo ReadPortData();
CCommPort();
GPSInfo gpsinfo;
virtual ~CCommPort();
};
#endif // !defined(AFX_COMMPORT_H__296B5A90_EA73_48BE_BE0C_2E7BBD98D279__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -