#pragma once
|
|
|
/* Rx Code */
|
#define RX_CODE_TEST 0
|
#define RX_CODE_LOG 1000
|
#define RX_CODE_ADD_PLC 1001
|
#define RX_CODE_REMOVE_PLC 1002
|
#define RX_CODE_SELECT_PLC 1003
|
#define RX_CODE_ALARM_ON 1004
|
#define RX_CODE_ALARM_OFF 1005
|
#define RX_CODE_ACTIVATE 1006 // Æô¶¯
|
#define RX_CODE_AUTO 1007 // ×Ô¶¯
|
#define RX_CODE_PUASE 1008 // ÔÝÍ£
|
#define RX_CODE_MANUAL 1009 // ÊÖ¶¯
|
#define RX_CODE_BEEP 1010 // ¾²Òô
|
#define RX_CODE_RESETTING 1011 // ¸´Î»
|
#define RX_CODE_STOP 1012 // ֹͣ
|
#define RX_CODE_VELOCITY_RATIO 1013 // ËٶȱÈÀý
|
#define RX_CODE_TACT_TIME 1014 // ½ÚÅÄʱ¼ä
|
#define RX_CODE_DAY_SHIFT_CAPACTITY 1015 // °×°à²úÁ¿
|
#define RX_CODE_NIGHT_SHIFT_CAPACTITY 1016 // Ò¹°à²úÁ¿
|
|
|
/* ¶¨ÖÆÑÕÉ« */
|
#define APP_MAIN_DLG_BACKGROUND RGB(255, 255, 255)
|
#define TOP_TOOLBAR_BACKGROUND RGB(240, 240, 240)
|
#define PAGE_PLC_LIST_BACKGROUND RGB(245, 245, 250)
|
#define MAIN_CONTAINER_BACKGROUND RGB(252, 252, 255)
|
#define BASE_VIEW_BACKGROUND RGB(252, 252, 255)
|
#define PLC_VIEW_BACKGROUND RGB(252, 252, 255)
|
#define LOGCAT_BACKGROUND_COLOR RGB(252, 252, 255)
|
|
/* PLCVIEW°´Å¥ */
|
#define BTN_PLCVIEW_FRAME_NORMAL RGB(88, 88, 88)
|
#define BTN_PLCVIEW_FRAME_HOVER RGB(88, 88, 88)
|
#define BTN_PLCVIEW_FRAME_PRESS RGB(88, 88, 88)
|
#define BTN_PLCVIEW_OFF_BKGND_NORMAL RGB(255, 127, 39)
|
#define BTN_PLCVIEW_OFF_BKGND_HOVER RGB(255, 157, 59)
|
#define BTN_PLCVIEW_OFF_BKGND_PRESS RGB(255, 100, 29)
|
#define BTN_PLCVIEW_ON_BKGND_NORMAL RGB(100, 200, 100)
|
#define BTN_PLCVIEW_ON_BKGND_HOVER RGB(150, 250, 150)
|
#define BTN_PLCVIEW_ON_BKGND_PRESS RGB(50, 150, 50)
|
|
/* ½â³ý¾¯¸æ °´Å¥ */
|
#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)
|
|
|
/* °´Å¥id */
|
#define VIEW_TOOL_BTN_CLOSE 0x1016
|
|
|
/* ¹ã²¥´úÂë */
|
#define BC_CODE_ALARM_ON 1
|
#define BC_CODE_ALARM_OFF 2
|
|
|
/* ¼à¿ØÊý¾Ýid */
|
#define MONITOR_ID_ALARM 1001
|