chenluhua1980
2026-01-24 2a7efcf2a4bac5e7f9813975c87683ea09fb984e
SourceCode/Bond/Servo/Common.h
@@ -20,7 +20,11 @@
#define RX_CODE_EQ_ROBOT_TASK         1012
#define RX_CODE_LOADPORT_STATUS_CHANGED   1014
#define RX_CODE_CONTROL_STATE_CHANGED   1015
#define RX_CODE_CONTROLJOB_CHANGED      1016
/* 软件侧 ALID */
#define ALID_SOFTWARE_PAUSE_EVENT      9000
#define ALID_SOFTWARE_TEST_ALARM      9099
/* Channel Name */
#define MC_CHANNEL1_NAME      "McChannel1"
@@ -556,4 +560,25 @@
/* PPID名字最大长度 */
#define PPID_NAME_MAX         80
#define PPID_NAME_MAX         80
/* 解除警告 按钮 */
#define BTN_ALARM_OFF_FRAME_NORMAL      RGB(88, 88, 88)
#define BTN_ALARM_OFF_FRAME_HOVER      RGB(88, 88, 88)
#define BTN_ALARM_OFF_FRAME_PRESS      RGB(88, 88, 88)
#define BTN_ALARM_OFF_BKGND_NORMAL      RGB(255, 127, 39)
#define BTN_ALARM_OFF_BKGND_HOVER      RGB(255, 157, 59)
#define BTN_ALARM_OFF_BKGND_PRESS      RGB(255, 100, 29)
/* 静音按钮 */
#define BTN_SOUND_OFF_FRAME_NORMAL      RGB(88, 88, 88)
#define BTN_SOUND_OFF_FRAME_HOVER      RGB(88, 88, 88)
#define BTN_SOUND_OFF_FRAME_PRESS      RGB(88, 88, 88)
#define BTN_SOUND_OFF_BKGND_NORMAL      RGB(255, 127, 39)
#define BTN_SOUND_OFF_BKGND_HOVER      RGB(255, 157, 59)
#define BTN_SOUND_OFF_BKGND_PRESS      RGB(255, 100, 29)
#define BTN_SOUND_ON_BKGND_NORMAL      RGB(100, 200, 100)
#define BTN_SOUND_ON_BKGND_HOVER      RGB(150, 250, 150)
#define BTN_SOUND_ON_BKGND_PRESS      RGB(50, 150, 50)