| ¶Ô±ÈÐÂÎļþ |
| | |
| | | #pragma once |
| | | #include "afxdialogex.h" |
| | | #include "GridCtrl.h" |
| | | |
| | | |
| | | // CAxisDetailSettingsDlg å¯¹è¯æ¡ |
| | | |
| | | class CAxisDetailSettingsDlg : public CDialogEx |
| | | { |
| | | DECLARE_DYNAMIC(CAxisDetailSettingsDlg) |
| | | |
| | | public: |
| | | CAxisDetailSettingsDlg(const CString& strRecipeName, int nAxisNO, CWnd* pParent = nullptr); // æ åæé 彿° |
| | | virtual ~CAxisDetailSettingsDlg(); |
| | | |
| | | public: |
| | | void SetPLC(CPLC* pPLC); |
| | | |
| | | // å¯¹è¯æ¡æ°æ® |
| | | #ifdef AFX_DESIGN_TIME |
| | | enum { IDD = IDD_DIALOG_AXIS_DETAIL_SETTINGS }; |
| | | #endif |
| | | |
| | | private: |
| | | void InitAnchorPontManager(); |
| | | void FillAnchorPontManager(); |
| | | void UpdateAxisDetailSettings(); |
| | | |
| | | |
| | | private: |
| | | CPLC* m_pPLC; |
| | | int m_nInitialWidth; |
| | | int m_nInitialHeight; |
| | | |
| | | // æ°æ® |
| | | int m_nAxisNO; |
| | | CString m_strRecipeName; |
| | | |
| | | // æ§ä»¶ |
| | | CStatic m_staticAxisNO, m_staticAxisDescription, m_staticStartAddress; |
| | | CGridCtrl m_grid; |
| | | |
| | | protected: |
| | | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV æ¯æ |
| | | virtual BOOL OnInitDialog(); |
| | | afx_msg void OnGridItemChanged(NMHDR* pNotifyStruct, LRESULT* pResult); |
| | | afx_msg void OnBnClickedButtonAxisDetailSettingsSave(); |
| | | afx_msg void OnBnClickedButtonSetAxisPositioningPoints(); |
| | | DECLARE_MESSAGE_MAP() |
| | | }; |