| | |
| | | CAxisSettingsDlg(CWnd* pParent = nullptr); // 标准构造函数 |
| | | virtual ~CAxisSettingsDlg(); |
| | | |
| | | |
| | | private: |
| | | virtual BOOL PreAdjustControl(CWnd* pWnd); |
| | | |
| | | |
| | | // 对话框数据 |
| | | #ifdef AFX_DESIGN_TIME |
| | | enum { IDD = IDD_DIALOG_AXIS_SETTINGS }; |
| | |
| | | void WriteAxisDataToPLC(int nAxisId); |
| | | void HandleAxisOperation(AxisOperationType eOpType, bool bPressed); |
| | | void ReadPLCDataToUI(int nAxisId); |
| | | void ShowTipText(const char* pszText, float sec); |
| | | void HideTip(); |
| | | |
| | | private: |
| | | CPLC* m_pPLC; |
| | | HBRUSH m_hbrTip; |
| | | HFONT m_hTipFont; |
| | | COLORREF m_crTipBack; |
| | | COLORREF m_crTipText; |
| | | |
| | | // 当前选中的定位页面索引 |
| | | int m_currentPage; |
| | |
| | | afx_msg void OnTimer(UINT_PTR nIDEvent); |
| | | afx_msg void OnClose(); |
| | | DECLARE_MESSAGE_MAP() |
| | | public: |
| | | afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); |
| | | afx_msg void OnEnKillfocusEditAxisModitfyMicromentum(); |
| | | }; |