⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 850para.h

📁 850运动控制卡的详细开发资料
💻 H
字号:
#if !defined(AFX_850PARA_H__0AF3FFE1_1278_11DB_9789_000E1F022A78__INCLUDED_)
#define AFX_850PARA_H__0AF3FFE1_1278_11DB_9789_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(CWnd* pParent = NULL);   // standard constructor
	C850Para(BOOL bEnable,BOOL bEnableCurve,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_x;
	float	m_fAccTime_y;
	float	m_fAccTime_z;
	float	m_fAccTime_w;



	//}}AFX_DATA


// 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:
	BOOL	m_bEnable;
	BOOL	m_bEnableCurve;
	CToolTipCtrl*	m_pToolTip;

	// Generated message map functions
	//{{AFX_MSG(C850Para)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	long GetStartV_w() const;
	long GetStartV_z() const;
	long GetStartV_y() const;
	long GetStartV_x() const;
private:
	void CalAccTime();
	void EnableAccVelocityWnd(BOOL bEnable);
};

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

#endif // !defined(AFX_850PARA_H__0AF3FFE1_1278_11DB_9789_000E1F022A78__INCLUDED_)

⌨️ 快捷键说明

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