📄 monitoraxis.h
字号:
#if !defined(AFX_MONITORAXIS_H__3CA82BF7_299A_4756_9316_BEA07EB9C4AB__INCLUDED_)
#define AFX_MONITORAXIS_H__3CA82BF7_299A_4756_9316_BEA07EB9C4AB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MonitorAxis.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMonitorAxis dialog
class CMonitorAxis : public CPropertyPage
{
DECLARE_DYNCREATE(CMonitorAxis)
// Construction
private:
int m_ERR;
int m_DRV;
int m_CMPP ;
int m_CMPM ;
int m_ASND ;
int m_CNST ;
int m_DSND ;
int m_AASND ;
int m_ACNST ;
int m_ADSND ;
CString m_strACC;
CString m_strWhyEnd;
CString m_strWhatErr;
CString m_strIntSrc;
int m_IO;
int m_OUTL;
int m_OUTH;
int m_LP;
int m_LPArray[4];
int m_EP;
int m_CV;
int m_CA;
public:
void GoHome();
void EmergencyStop();
void SpeedDownStop();
void UpdateLP (int Value);
void UpdateEP (int Value);
void UpdateCV (int Value);
void UpdateCA (int Value);
void UpdateERR(int Value);
void UpdateDRV(int Value);
void UpdateACC(int Value);
void UpdateWhyEnd(int Value);
void UpdateWhatErr(int Value);
void UpdateIntSrc(int Value);
void UpdateIO(int Value);
void UpdateOUTL(int Value);
void UpdateOUTH(int Value);
int GetLP(int Axis);
CMonitorAxis();
~CMonitorAxis();
// Dialog Data
//{{AFX_DATA(CMonitorAxis)
enum { IDD = IDD_MONITOR_AXIS_DLG };
// NOTE - ClassWizard will add data members here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CMonitorAxis)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CMonitorAxis)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MONITORAXIS_H__3CA82BF7_299A_4756_9316_BEA07EB9C4AB__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -