From cb3d913e147acce92bfacc34dab441abb9ab8735 Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期二, 04 三月 2025 16:24:52 +0800 Subject: [PATCH] 1.属性页面板增加关闭按钮,关闭时隐藏,默认隐藏。 --- SourceCode/Bond/Servo/Common.h | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/SourceCode/Bond/Servo/Common.h b/SourceCode/Bond/Servo/Common.h index b3f1260..3b33cd4 100644 --- a/SourceCode/Bond/Servo/Common.h +++ b/SourceCode/Bond/Servo/Common.h @@ -9,14 +9,18 @@ #define RX_HSMS_TERMINAL_TEXT 1003 #define RX_CODE_EQ_ALIVE 1004 #define RX_CODE_STEP_EVENT_READDATA 1005 +#define RX_CODE_SELECT_STEP 1006 + /* Channel Name */ #define MC_CHANNEL1_NAME "McChannel1" /* 颜色 */ -#define APPDLG_BACKGROUND_COLOR RGB(255, 255, 255) -#define LOGDLG_BACKGROUND_COLOR RGB(255, 255, 255) +#define APPDLG_BACKGROUND_COLOR RGB(255, 255, 255) +#define LOGDLG_BACKGROUND_COLOR RGB(255, 255, 255) +#define PANEL_MASTER_BACKGROUND_COLOR RGB(255, 255, 255) +#define PANEL_ATTRIBUTES_BACKGROUND_COLOR RGB(255, 255, 255) /* LOG BTN */ @@ -56,3 +60,13 @@ #define BASE_ALARM_EFEM 10000 #define BASE_ALARM_BONDER1 20000 #define BASE_ALARM_BONDER2 30000 + + +/* step event */ +#define STEP_EVENT_READDATA 0x01 +#define STEP_EVENT_COMPLETE 0x02 +#define STEP_EVENT_PROCESS_DATA 0x1001 + + +/* 自定义消息 */ +#define ID_MSG_PANEL_RESIZE WM_USER + 1998 -- Gitblit v1.9.3