LAPTOP-SNT8I5JK\Boounion
2025-01-13 b6e370081c3692bdfcdede5106d42734d2c6ef2f
SourceCode/Bond/BoounionPLC/AxisSettingsDlg.h
@@ -72,6 +72,11 @@
   CAxisSettingsDlg(CWnd* pParent = nullptr);   // 标准构造函数
   virtual ~CAxisSettingsDlg();
private:
   virtual BOOL PreAdjustControl(CWnd* pWnd);
// 对话框数据
#ifdef AFX_DESIGN_TIME
   enum { IDD = IDD_DIALOG_AXIS_SETTINGS };
@@ -98,9 +103,15 @@
   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;
@@ -161,4 +172,7 @@
   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();
};