#pragma once
|
|
|
/* Rx Code */
|
#define RX_CODE_TEST 0
|
#define RX_CODE_LOG 1000
|
#define RX_CODE_PASSIVE_STATUS_CHANGED 1001
|
#define RX_CODE_MES_MESSAGE 1002
|
#define RX_HSMS_TERMINAL_TEXT 1003
|
#define RX_CODE_EQ_ALIVE 1004
|
#define RX_CODE_STEP_EVENT_READDATA 1005
|
#define RX_CODE_SELECT_EQUIPMENT 1006
|
#define RX_CODE_SELECT_STEP 1007
|
#define RX_CODE_ALARM_SET 1008
|
#define RX_CODE_ALARM_CLEAR 1009
|
|
|
/* Channel Name */
|
#define MC_CHANNEL1_NAME "McChannel1"
|
|
|
/* ÑÕÉ« */
|
#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)
|
#define PANEL_EQUIPMENT_BACKGROUND_COLOR RGB(255, 255, 255)
|
#define PAGE_GRPAH1_BACKGROUND_COLOR RGB(255, 255, 255)
|
#define PAGE_GRPAH2_BACKGROUND_COLOR RGB(255, 255, 255)
|
#define EQ_BOX_OFFLINE RGB(222, 222, 222)
|
#define EQ_BOX_ONLINE RGB(0, 176, 80)
|
#define EQ_BOX_FRAME1 RGB(22, 22, 22)
|
#define EQ_BOX_FRAME2 RGB(255, 127, 39)
|
|
|
/* LOG BTN */
|
#define BTN_LOG_FRAME_NORMAL RGB(88, 88, 88)
|
#define BTN_LOG_FRAME_HOVER RGB(88, 88, 88)
|
#define BTN_LOG_FRAME_PRESS RGB(88, 88, 88)
|
#define BTN_LOG_BKGND_NORMAL RGB(232, 232, 232)
|
#define BTN_LOG_BKGND_HOVER RGB(153, 217, 234)
|
#define BTN_LOG_BKGND_PRESS RGB(133, 203, 225)
|
|
/* ALARM BTN */
|
#define BTN_ALARM_FRAME_NORMAL RGB(88, 88, 88)
|
#define BTN_ALARM_FRAME_HOVER RGB(88, 88, 88)
|
#define BTN_ALARM_FRAME_PRESS RGB(88, 88, 88)
|
#define BTN_ALARM_BKGND_NORMAL RGB(232, 232, 232)
|
#define BTN_ALARM_BKGND_HOVER RGB(153, 217, 234)
|
#define BTN_ALARM_BKGND_PRESS RGB(133, 203, 225)
|
|
/* Equipment ID */
|
#define EQ_ID_EFEM 1
|
#define EQ_ID_Bonder1 2
|
#define EQ_ID_Bonder2 3
|
#define EQ_ID_LOADPORT1 4
|
#define EQ_ID_LOADPORT2 5
|
#define EQ_ID_LOADPORT3 6
|
#define EQ_ID_LOADPORT4 7
|
|
|
/* step name */
|
#define STEP_MODE _T("EQMode")
|
#define STEP_STATUS _T("EQStatus")
|
#define STEP_ALARM_START _T("EQAlarm")
|
#define STEP_ALARM_BLOCK1 _T("EQAlarm1")
|
#define STEP_ALARM_BLOCK2 _T("EQAlarm2")
|
#define STEP_ALARM_BLOCK3 _T("EQAlarm3")
|
#define STEP_ALARM_BLOCK4 _T("EQAlarm4")
|
#define STEP_ALARM_BLOCK5 _T("EQAlarm5")
|
#define STEP_PROCESS _T("EQProcess")
|
#define STEP_CIM_MODE_CHANGE _T("EQCimModeChange")
|
#define STEP_EQ_MODE_CHANGE _T("EQModeChange")
|
#define STEP_CIM_MESSAGE_CMD _T("EQCimMessageCmd")
|
#define STEP_CIM_MESSAGE_CLEAR _T("EQCimMessageClear")
|
#define STEP_DATETIME_SET_CMD _T("EQDateTimeSetCmd")
|
#define STEP_EQ_VCR_ENABLE _T("EQVCREnable")
|
|
|
/* base alarm */
|
#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
|
|
|
/* Á÷³Ì¿ØÖÆÏà¹Ø´úÂë */
|
#define FLOW_REJECT 0x0
|
#define FLOW_ACCEPT 0x1
|
#define FLOW_TEST 0x1000
|
#define FLOW_SIGNAL 0x1001
|
#define FLOW_DATA 0x1002
|
#define FLOW_MOVE_MATERIAL 0x1003
|