From 5907cf5775de374722d62648413fd46ca71cc396 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 17 一月 2025 10:34:19 +0800
Subject: [PATCH] 1.reply系列函数,修改为统一参数IMessage; 2.增加U2数据类型支持;
---
SourceCode/Bond/BoounionPLC/AxisSettingsDlg.h | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/BoounionPLC/AxisSettingsDlg.h b/SourceCode/Bond/BoounionPLC/AxisSettingsDlg.h
index 0f0d198..240812f 100644
--- a/SourceCode/Bond/BoounionPLC/AxisSettingsDlg.h
+++ b/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();
};
--
Gitblit v1.9.3