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

📄 csudlg.h

📁 三轴车床的控制系统
💻 H
字号:
// CSUDlg.h : header file
//

#if !defined(AFX_CSUDLG_H__A041EF15_BC77_4334_8A94_981ED546F6AE__INCLUDED_)
#define AFX_CSUDLG_H__A041EF15_BC77_4334_8A94_981ED546F6AE__INCLUDED_

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

#define Pmm  2500   //一毫米相当于2500个脉冲
#define Vmms 0.5  //mm/s相当于0.5Pluse/ST

/////////////////////////////////////////////////////////////////////////////
// CCSUDlg dialog

class CCSUDlg : public CDialog
{
// Construction
public:
	void Tmotion(double Pos, double speed);
	int Mflag;
	int flag;
	int Indenx[7];
	CCSUDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CCSUDlg)
	enum { IDD = IDD_CSU_DIALOG };
	CComboBox	m_Mstyle;
	CComboBox	m_Dir;
	double	m_angle;
	double	m_enter;
	double	m_radius;
	double	m_speed;
	double	m_xcenter;
	double	m_xendpos;
	double	m_ycenter;
	double	m_yendpos;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CCSUDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBUTTONallzero();
	afx_msg void OnBUTTONbeginrun();
	afx_msg void OnBUTTONcircle();
	afx_msg void OnBUTTONdot();
	afx_msg void OnBUTTONline();
	afx_msg void OnBUTTONxminus();
	afx_msg void OnBUTTONxmzero();
	afx_msg void OnBUTTONxplus();
	afx_msg void OnBUTTONxpzero();
	afx_msg void OnBUTTONyminus();
	afx_msg void OnBUTTONymzero();
	afx_msg void OnBUTTONyplus();
	afx_msg void OnBUTTONypzero();
	afx_msg void OnBUTTONzminus();
	afx_msg void OnBUTTONzmzero();
	afx_msg void OnBUTTONzplus();
	afx_msg void OnBUTTONzpzero();
	afx_msg void OnSelchangeCOMBOMStyle();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CSUDLG_H__A041EF15_BC77_4334_8A94_981ED546F6AE__INCLUDED_)

⌨️ 快捷键说明

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