voytestdlg.h

来自「机器人UP-VoyagerII源码 基本功能」· C头文件 代码 · 共 84 行

H
84
字号
// VoyTestDlg.h : header file
//

#if !defined(AFX_VOYTESTDLG_H__BE187A2D_27CD_47F5_AA20_7F9D4BB61000__INCLUDED_)
#define AFX_VOYTESTDLG_H__BE187A2D_27CD_47F5_AA20_7F9D4BB61000__INCLUDED_

#include "SerialCom.h"
#include "VoyCmd.h"
#include "Demo.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CVoyTestDlg dialog

class CVoyTestDlg : public CDialog
{
// Construction
public:
	CVoyTestDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CVoyTestDlg)
	enum { IDD = IDD_VOYTEST_DIALOG };
	CListBox	m_cShowList;
	UINT	m_nPort;
	UINT	m_nUSonicTime;
	UINT	m_nInfraRedTime;
	UINT	m_nCmpsTime;
	UINT	m_nStraightSpd;
	UINT	m_nAngel;
	UINT	m_nCircleSpd;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CVoyTestDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	CSerialCom m_Com;
	CVoyCmd m_Cmd;
	CDemo m_Demo;


	// Generated message map functions
	//{{AFX_MSG(CVoyTestDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnOpen();
	afx_msg void OnForward();
	afx_msg void OnBackward();
	afx_msg void OnTurnleft();
	afx_msg void OnTurnright();
	afx_msg void OnBrake();
	afx_msg void OnAutousonic();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnStopusonic();
	afx_msg void OnAutoInfrared();
	afx_msg void OnStopInfrared();
	afx_msg void OnStartBeh();
	afx_msg void OnStopBeh();
	afx_msg void OnAutocmps();
	afx_msg void OnStopcmps();
	afx_msg void OnDemarcate();
	afx_msg void OnStraight();
	afx_msg void OnCircle();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_VOYTESTDLG_H__BE187A2D_27CD_47F5_AA20_7F9D4BB61000__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?