bluetoothgps.h
来自「一个mapxmobile+gps的小程序,需要先安装mapx mobile」· C头文件 代码 · 共 56 行
H
56 行
// bluetoothgps.h
#ifndef _BLUETOOTHGPS_H__
#define _BLUETOOTHGPS_H__
#pragma once
#include "SerialPort.h"
#include "GpsData.HPP"
// build by brent.
class CBlueToothGPS : public CWnd
{
public:
CBlueToothGPS();
virtual ~CBlueToothGPS(){ m_Comm.Close();}
bool OpenGPS();
public:
//{{AFX_VIRTUAL(CBlueToothGPS)
public:
//}}AFX_VIRTUAL
protected:
//{{AFX_MSG(CBlueToothGPS)
//}}AFX_MSG
afx_msg LONG OnRecvMessage(WPARAM ch, LPARAM port);
DECLARE_MESSAGE_MAP()
private:
HWND hwParentWindow;
CCommCE m_Comm;
char m_MainMsg[MAX_PATH];
GPS_TYPE CurrentType;
MyData* m_GpsData;
void ParseData();
GPS_TYPE IsValid();
public:
void Clear();
double GetMapPosX();
double GetMapPosY();
double GetUTCTime();
double GetSpeed();
float GetDirection();
int GetStarNumber();
// still Coding yet.by brent.
};
//{{AFX_INSERT_LOCATION}}
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?