📄 gpsguider1v0doc.h
字号:
// GPSGuider1V0Doc.h : interface of the CGPSGuider1V0Doc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_GPSGUIDER1V0DOC_H__CA17BDE0_2626_4AF5_BE1B_D4AF3954ABFE__INCLUDED_)
#define AFX_GPSGUIDER1V0DOC_H__CA17BDE0_2626_4AF5_BE1B_D4AF3954ABFE__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
typedef struct tagCOMMPARASEUIC
{
//BOOL NeedConfigAtOpen;
int NeedConfigAtOpen;
//WORD PortIndex;
int PortIndex;
//WORD BaudRateIndex;
int BaudRateIndex; //读写文件时WORD类型会出错
} COMMPARASEUIC;
typedef struct tagTIMESEUIC
{
CString hour;
CString minute;
CString second;
} TIMESEUIC;
typedef struct tagDATESEUIC
{
CString year;
CString month;
CString date;
} DATESEUIC;
typedef struct tagLONGITUDESEUIC
{
CString direction;
LONG degree;
LONG minute;
LONG secondinteger;
LONG secondportion;
LONG totalsecond;
} LONGITUDESEUIC;
typedef struct tagLATITUDESEUIC
{
CString direction;
LONG degree;
LONG minute;
LONG secondinteger;
LONG secondportion;
LONG totalsecond;
} LATITUDESEUIC;
typedef struct tagSATELLITEINFOSEUIC
{
LONG id;
LONG elevation;
LONG azimuth;
LONG snr;
} SATELLITEINFOSEUIC;
typedef struct tagSATELLITEINFOARRAYSEUIC
{
LONG satellitenum;
SATELLITEINFOSEUIC satelliteinfoarray[12];
} SATELLITEINFOARRAYSEUIC;
class CGPSGuider1V0Doc : public CDocument
{
protected: // create from serialization only
CGPSGuider1V0Doc();
DECLARE_DYNCREATE(CGPSGuider1V0Doc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGPSGuider1V0Doc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}AFX_VIRTUAL
// Implementation
public:
BOOL m_PelsNew;
DWORD m_TotalNum;
DWORD m_RowNum;
BYTE* m_pPels;
BITMAPINFO m_BitMapInfo;
BITMAPFILEHEADER m_BitMapFileHeader;
CString m_PortArray[8];
DWORD m_BaudRateArray[8];
COMMPARASEUIC m_CommPara;
CFile m_SerialFile;
CString m_strMapFilePath;
CFile m_MapFile;
CFile m_ConfigFile;
CWinThread* m_pCommThread;
DWORD exp2(DWORD i);
virtual ~CGPSGuider1V0Doc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CGPSGuider1V0Doc)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GPSGUIDER1V0DOC_H__CA17BDE0_2626_4AF5_BE1B_D4AF3954ABFE__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -