📄 gpscontrol.h
字号:
/**************************************************************************/
/* */
/* Copyright (c) 2000-2008 YULONG Company */
/* 宇龙计算机通信科技(深圳)有限公司 版权所有 2000-2008 */
/* */
/* PROPRIETARY RIGHTS of YULONG Company are involved in the */
/* subject matter of this material. All manufacturing, reproduction, use,*/
/* and sales rights pertaining to this subject matter are governed by the */
/* license agreement. The recipient of this software implicitly accepts */
/* the terms of the license. */
/* 本软件文档资料是宇龙公司的资产,任何人士阅读和使用本资料必须获得 */
/* 相应的书面授权,承担保密责任和接受相应的法律约束. */
/* */
/**************************************************************************/
//////////////////////////////////////////////////////////////////////////
//
// GpsContor.h: interface for the CGpsContor class.
//
//////////////////////////////////////////////////////////////////////////
#if !defined _GPSCONTOR_H_
#define _GPSCONTOR_H_
#include "GpsDevice.h"
class CGpsControl
{
public:
CGpsControl();
~CGpsControl();
GPS_POSITION* GetAllData();
GPSData* GetUnFiltedData();
void SetMessageWnd( HWND hWnd );
BOOL Config(int nComID/*串口号*/,
int nBaudRate/*波特率*/,
int nByteSize/*字节大小*/);
BOOL PowerReset();
BOOL Create();
void Destroy();
void SetNewHandle(HANDLE hNewHandle);
private:
HWND m_hWnd;
BOOL m_bCreate;
DWORD m_hThreadId;
HANDLE m_hThread;
CGpsDevice m_gpsDevice;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -