LAPTOP-T815PCOQ\25526
2024-12-18 b8a705515cd307bd46e04eeccc0bf0e158133402
SourceCode/Bond/BondEq/View/AxisSettingsDlg.h
@@ -4,6 +4,7 @@
#include "BLLabel.h"
#include "RegexEdit.h"
#include "CPLC.h"
#include "CBaseDlg.h"
// 每页定位点显示个数
#define AXIS_PAGE_SIZE   5
@@ -63,7 +64,7 @@
   POSITION_5  // 定位点5
};
class CAxisSettingsDlg : public CDialogEx
class CAxisSettingsDlg : public CBaseDlg
{
   DECLARE_DYNAMIC(CAxisSettingsDlg)
@@ -82,10 +83,6 @@
private:
   UINT FindIDByName(const CString& strControlID);
   CFont* GetOrCreateFont(int nFontSize);
   void SetDefaultFont();
   void AdjustControls(float dScaleX, float dScaleY);
   void AdjustControlFont(CWnd* pWnd, int nWidth, int nHeight);
   void AdjustLabelFont(CBLLabel& label);
   void SetLabelColor(CBLLabel& label, COLORREF color);
   void SetLabelColorBasedOnState(CBLLabel& label, BOOL bState, COLORREF colorTrue, COLORREF colorFalse);
@@ -108,8 +105,6 @@
private:
   CPLC* m_pPLC;
   int m_nInitialWidth;
   int m_nInitialHeight;
   // 当前选中的定位页面索引
   int m_currentPage;
@@ -123,10 +118,6 @@
   CRegexEdit* m_pRegexEdit[EDIT_MAX];
   CComboBox m_comboAxisNO;
   CStatic m_staticAxisNO, m_staticAxisDescription, m_staticStartAddress;
   //CEdit m_editManualSpeed, m_editAutoSpeed, m_editAccelerationTime, m_editDecelerationTime, m_editJogDistance;
   std::map<int, CRect> m_mapCtrlLayouts;
   std::map<int, CFont*> m_mapFonts;
   // 读到的数据
   BOOL m_bSEV;
@@ -151,8 +142,6 @@
   virtual BOOL OnInitDialog();
   virtual BOOL PreTranslateMessage(MSG* pMsg);
   afx_msg void OnSize(UINT nType, int cx, int cy);
   afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
   afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
   afx_msg void OnBnClickedButtonAxisLast();
   afx_msg void OnBnClickedButtonAxisNext();
   afx_msg void OnBnClickedButtonAxisAnchorPointGroup1();