Files
EF3-Interface/PcDmis/Base/Interfac/Msi/Hsi/Tools/UsbUtility/UsbUtil/AnimaticsUtilityDlg.h
T
2013-05-09 20:29:54 +08:00

115 lines
3.1 KiB
C++

#pragma once
// AnimaticsUtilityDlg dialog
class AnimaticsUtilityDlg : public CDialog
{
DECLARE_DYNAMIC(AnimaticsUtilityDlg)
public:
AnimaticsUtilityDlg(CWnd* pParent = NULL); // standard constructor
virtual ~AnimaticsUtilityDlg();
// Dialog Data
enum { IDD = IDD_ANIMATICS_UTIL_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
public:
CString SpeedParameterX[5];
CString AccelParameterX[5];
CString DecelParameterX[5];
CString SpeedParameterY[5];
CString AccelParameterY[5];
CString DecelParameterY[5];
CString SpeedParameterZ[5];
CString AccelParameterZ[5];
CString DecelParameterZ[5];
CString ScaleResolutionX;
CString ScaleResolutionY;
CString ScaleResolutionZ;
CString NegSoftLimitX;
CString NegSoftLimitY;
CString NegSoftLimitZ;
CString PosSoftLimitX;
CString PosSoftLimitY;
CString PosSoftLimitZ;
CString PosPulseX;
CString PosPulseY;
CString PosPulseZ;
CString PosmmX;
CString PosmmY;
CString PosmmZ;
CString PosmmChangedX;
CString PosmmChangedY;
CString PosmmChangedZ;
CString MoveToDisX;
CString MoveToDisY;
CString MoveToDisZ;
CString RepeTestMoveFromDis;
CString RepeTestMoveToDis;
CString RepeTestTimes;
CString RepeTestInterval;
CEdit RepeTestMsgOut;
CString MsgX,MsgY,MsgZ;
CString SmartMotorSendCmd;
CString SmartMotorGetResponse;
HICON m_hRed;
HICON m_hGreen;
HICON m_hGray;
HICON m_hWhite;
HICON m_hBlack;
CProcessButton MoveX_Left;
CProcessButton MoveX_Right;
CProcessButton MoveY_Front;
CProcessButton MoveY_Back;
CProcessButton MoveZ_Up;
CProcessButton MoveZ_Down;
//=============================
void ChangeParameterOnEdit();
void ShowParameterOnEdit();
void ShowMotorStatusX();
void ShowMotorStatusY();
void ShowMotorStatusZ();
BOOL SmartMotorRepeTest();
void OutputWithScroll(const CString &strNewText,CEdit &edtOutput);
afx_msg void OnBnClickedButtonStartAnimaticsMachine();
afx_msg void OnBnClickedButtonStopAnimaticsMachine();
afx_msg void OnBnClickedCancel();
void ShowWorktableEdit();
afx_msg void OnEnKillfocusEditWorktable();
afx_msg void OnTimer(UINT_PTR nIDEvent);
afx_msg void OnBnClickedButtonAnimaticsMoveToXyz();
afx_msg void OnBnClickedButtonPosSetZero();
afx_msg void OnBnClickedButtonSaveConfig();
afx_msg void OnBnClickedButtonReadConfig();
afx_msg void OnBnClickedRadioAnimaticsSpeedGear1();
afx_msg void OnBnClickedRadioAnimaticsSpeedGear2();
afx_msg void OnBnClickedRadioAnimaticsSpeedGear3();
afx_msg void OnBnClickedRadioAnimaticsSpeedGear4();
afx_msg void OnBnClickedButtonAnimaticsMoveToX();
afx_msg void OnBnClickedButtonAnimaticsMoveToY();
afx_msg void OnBnClickedButtonAnimaticsMoveToZ();
afx_msg void OnEnKillfocusEditAnimaticsCmd();
afx_msg void OnBnClickedButtonBeginRepeTest();
afx_msg void OnBnClickedButtonSaveRepetest();
afx_msg void OnBnClickedButtonAnimaticsHome();
};