#pragma once // CDialogMotionTest 对话框 class CDialogMotionTest : public CDialogEx { DECLARE_DYNAMIC(CDialogMotionTest) public: CDialogMotionTest(CWnd* pParent = NULL); // 标准构造函数 virtual ~CDialogMotionTest(); // 对话框数据 enum { IDD = IDD_DIALOG_MOTIONTEST }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 DECLARE_MESSAGE_MAP() private: void SetExamMode(int nMode); public: virtual BOOL OnInitDialog(); afx_msg void OnBnClickedButtonStartlinemotion(); afx_msg void OnBnClickedButtonTubeStoplinemotion(); afx_msg void OnBnClickedButtonTubeRotate(); afx_msg void OnBnClickedButtonTubeStoprotation(); afx_msg void OnBnClickedButtonTubeEncoder(); afx_msg void OnBnClickedButtonTubeEncoderUnbind(); afx_msg void OnBnClickedButtonReset(); afx_msg void OnBnClickedButtonCenterAlign(); afx_msg void OnBnClickedButtonStopmotion(); afx_msg void OnBnClickedButtonSetParams(); afx_msg void OnBnClickedButtonMove2parkingposition(); };