850para.h

来自「850运动控制卡的详细开发资料」· C头文件 代码 · 共 78 行

H
78
字号
#if !defined(AFX_850PARA_H__8B037461_2202_11DB_9DFD_000E1F022A78__INCLUDED_)
#define AFX_850PARA_H__8B037461_2202_11DB_9DFD_000E1F022A78__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 850Para.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// C850Para dialog

class C850Para : public CDialog
{
// Construction
public:
	C850Para(BOOL bEnableAcc,CWnd* pParent = NULL);
	C850Para(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(C850Para)
	enum { IDD = IDD_DLG_SETTING };
	long	m_nStartV_w;
	long	m_nStartV_x;
	long	m_nStartV_y;
	long	m_nStartV_z;
	long	m_nDriveSpeed_w;
	long	m_nDriveSpeed_x;
	long	m_nDriveSpeed_y;
	long	m_nDriveSpeed_z;
	long	m_nRatio_w;
	long	m_nRatio_x;
	long	m_nRatio_y;
	long	m_nRatio_z;
	long	m_nAccVelocity_w;
	long	m_nAccVelocity_x;
	long	m_nAccVelocity_y;
	long	m_nAccVelocity_z;
	long	m_nDecVelocity_w;
	long	m_nDecVelocity_x;
	long	m_nDecVelocity_y;
	long	m_nDecVelocity_z;
	float	m_fAccTime_w;
	float	m_fAccTime_x;
	float	m_fAccTime_y;
	float	m_fAccTime_z;
	//}}AFX_DATA

     BOOL	m_bEnableAcc;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(C850Para)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	CToolTipCtrl* m_pToolTip;

	// Generated message map functions
	//{{AFX_MSG(C850Para)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	
	void EnableAccVelocityWnd(BOOL bIsEnable);
};

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

#endif // !defined(AFX_850PARA_H__8B037461_2202_11DB_9DFD_000E1F022A78__INCLUDED_)

⌨️ 快捷键说明

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