📄 gpstrackerview.h
字号:
// GpsTrackerView.h : interface of the CGpsTrackerView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_GPSTRACKERVIEW_H__B01C2859_B626_419F_9FE7_390947052AAE__INCLUDED_)
#define AFX_GPSTRACKERVIEW_H__B01C2859_B626_419F_9FE7_390947052AAE__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CGpsTrackerView : public CView
{
protected: // create from serialization only
CGpsTrackerView();
DECLARE_DYNCREATE(CGpsTrackerView)
// Attributes
public:
CGpsTrackerDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGpsTrackerView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
//}}AFX_VIRTUAL
// Implementation
public:
CString m_strLongitude;
CString m_strLatitude;
CString m_szODB2Content;
CString m_szSend;
CString m_szGpsContent;
int m_intLongitude;
int m_intLatitude;
int m_y;
int m_x;
int m_SendRead;
virtual ~CGpsTrackerView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CGpsTrackerView)
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnStart();
afx_msg void OnStop();
afx_msg void OnZoomin();
afx_msg void OnZoomout();
afx_msg void OnGps();
afx_msg void OnGpsInfo();
afx_msg void OnOdb2Info();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int m_radius;
bool m_Zoom;
UINT m_nTimer;
};
void PortReadThread(CGpsTrackerView* pView);
void PortReadThread1(CGpsTrackerView* pView);
void PortSendThread(CGpsTrackerView* pView);
void PortSendThread1(CGpsTrackerView* pView);
#ifndef _DEBUG // debug version in GpsTrackerView.cpp
inline CGpsTrackerDoc* CGpsTrackerView::GetDocument()
{ return (CGpsTrackerDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GPSTRACKERVIEW_H__B01C2859_B626_419F_9FE7_390947052AAE__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -