LAPTOP-SNT8I5JK\Boounion
2025-05-27 e42e8364112e97d89eeaecd13f043dff42179949
SourceCode/Bond/BoounionPLC/Common.h
@@ -20,6 +20,7 @@
#define RX_CODE_TACT_TIME            1014 // 节拍时间
#define RX_CODE_DAY_SHIFT_CAPACTITY      1015 // 白班产量
#define RX_CODE_NIGHT_SHIFT_CAPACTITY   1016 // 夜班产量
#define RX_PLC_STATE_CHANGED         1017   /* PLC状态改变 */
/* 定制颜色 */
@@ -47,6 +48,7 @@
/* 轴设定页面颜色定义 */
/* 5个按钮页, 按钮背景色,正常状态*/
#define BTN_PAGE_FRAME_COLOR         RGB(58, 58, 58)
#define BTN_PAGE_FACE_NORMAL_COLOR      RGB(0, 168, 0)
#define BTN_PAGE_FACE_SELECT_COLOR      RGB(0, 232, 0)
#define BTN_PAGE_TEXT_NORMAL_COLOR      RGB(22, 22, 22)
@@ -80,9 +82,10 @@
#define BTN_OPR_FRAME_NORMAL         RGB(88, 88, 88)
#define BTN_OPR_FRAME_HOVER            RGB(88, 88, 88)
#define BTN_OPR_FRAME_PRESS            RGB(88, 88, 88)
#define BTN_OPR_BKGND_NORMAL         RGB(222, 222, 222)
#define BTN_OPR_BKGND_HOVER            RGB(208, 208, 222)
#define BTN_OPR_BKGND_PRESS            RGB(0, 232, 0)
#define BTN_OPR_BKGND_NORMAL         RGB(0, 168, 0)
#define BTN_OPR_BKGND_HOVER            RGB(255, 160, 64)
#define BTN_OPR_BKGND_PRESS            RGB(250, 155, 60)
#define BTN_OPR_BKGND_TEST            RGB(0, 255, 0)
/* 定位按钮 */
#define BTN_POINT_FRAME_NORMAL         RGB(88, 88, 88)
@@ -113,6 +116,12 @@
#define BTN_SOUND_ON_BKGND_HOVER      RGB(150, 250, 150)
#define BTN_SOUND_ON_BKGND_PRESS      RGB(50, 150, 50)
/* 树控件小圆点 */
#define TREE_BADGE_BACKGROUND         RGB(34, 177, 76)
#define TREE_BADGE_FOREGROUND         RGB(222, 222, 222)
#define TREE_BADGE2_BACKGROUND         RGB(255, 127, 39)
#define TREE_BADGE2_FOREGROUND         RGB(222, 222, 222)
/* 按钮id */
#define VIEW_TOOL_BTN_CLOSE            0x1016