📄 basisdata.h
字号:
#if !defined(AFX_BASISDATA_H__95EE27A8_AFC6_440D_BFDD_43A8FBAA04D3__INCLUDED_)
#define AFX_BASISDATA_H__95EE27A8_AFC6_440D_BFDD_43A8FBAA04D3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BasisData.h : header file
//
#include "GPS.h"
/////////////////////////////////////////////////////////////////////////////
//float basis_long,basis_lat;
// CBasisData dialog
class CBasisData : public CDialog
{
// Construction
public:
CBasisData(CWnd* pParent = NULL); // standard constructor
CSerial mygps;
double distance_d(
double longgitude1,double lattitude1,
double longitude2, double latitude2,
double *angle);
double distance(
float longitude1, float latitude1,
float longitude2, float latitude2,
double *angle);
// Dialog Data
//{{AFX_DATA(CBasisData)
enum { IDD = IDD_BODENPOS };
CComboBox m_port;
CEdit m_showdata;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBasisData)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CBasisData)
afx_msg void OnSelchangeCmbport();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnBtnDist();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BASISDATA_H__95EE27A8_AFC6_440D_BFDD_43A8FBAA04D3__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -