You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

149 lines
4.2 KiB
C

#pragma once
//<2F><>д<EFBFBD>ļ<EFBFBD><C4BC>ı<EFBFBD>ǩ<EFBFBD><C7A9>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>дmak <20>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD>Ӱ<EFBFBD><D3B0>֮ǰ<D6AE><C7B0>mak <20>ļ<EFBFBD>
//<2F>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͱ<EFBFBD><CDB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD><DABA><EFBFBD><E6A3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĵ<EFBFBD><C4B5><EFBFBD><EFBFBD>ܶ<EFBFBD>ȡ
enum LAB_TYPE
{
LAB_NULL = 0,//Ҳ<><D2B2><EFBFBD>Բ<EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>κα<CEBA>ǩ<EFBFBD><C7A9><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD><EFBFBD>
LAB_MODULE_START,//ģ<>ʼ,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ
LAB_MODULE_END,//ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
LAB_MODULE_TYPE,//ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
//ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD>ݵı<DDB5>ǩ-----------------------------------
LAB_TEMPLATE_START,//ģ<>ʼ
LAB_TEMPLATE_END,//ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
LAB_OBJ_START,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ
LAB_OBJ_END,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
LAB_OBJ_TYPE,//obj <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
LAB_PEN_NUM,//obj <20><><EFBFBD><EFBFBD><EFBFBD>ıʺ<C4B1>
LAB_POINT_START,//obj <20><><EFBFBD>ݵ㿪ʼ
LAB_POINT_END,//obj <20><><EFBFBD>ݵ<EFBFBD><DDB5><EFBFBD><EFBFBD><EFBFBD>
LAB_POINT_X,//<2F><><EFBFBD>ݵ<EFBFBD><DDB5><EFBFBD>X <20><><EFBFBD><EFBFBD>
LAB_POINT_Y,//<2F><><EFBFBD>ݵ<EFBFBD><DDB5><EFBFBD>Y <20><><EFBFBD><EFBFBD>
LAB_POINT_IS_NODE,//<2F><><EFBFBD>ݵ<EFBFBD><DDB5>Ƿ<EFBFBD>Ϊ<EFBFBD>ڵ<EFBFBD>
LAB_SIZE_W,//<2F>ߴ<EFBFBD><DFB4><EFBFBD><EFBFBD><EFBFBD>
LAB_SIZE_H,//<2F>ߴ<EFBFBD><DFB4>߶<EFBFBD>
LAB_MARK_PAR_START,//<2F>񾵲<EFBFBD><F1BEB5B2><EFBFBD>
LAB_MARK_PAR_END,//<2F>񾵲<EFBFBD><F1BEB5B2><EFBFBD>
LAB_MARK_AREA_START,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
LAB_MARK_AREA_END,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
LAB_PRODUCT_START,//<2F><>Ʒ
LAB_PRODUCT_END,//<2F><>Ʒ
LAB_OBJ_IS_CIRCLE,//ԭ<><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD>ΪԲ<CEAA><D4B2>
LAB_CIRCLE_R,//Բ<>
LAB_CIRCLE_D,//Բֱ<D4B2><D6B1>
LAB_CIRCLE_EDGE_CNT,//Բ<><D4B2><EFBFBD><EFBFBD>
//<2F><><EFBFBD><EFBFBD>ʿ<EFBFBD><CABF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˻<EFBFBD><CBBB>豸-----------------------------------------------
LAB_TH_START,//<2F><><EFBFBD><EFBFBD><EFBFBD>˻<EFBFBD>
LAB_TH_END,//<2F><><EFBFBD><EFBFBD><EFBFBD>˻<EFBFBD>
LAB_TH_SCAN_OVERLAP,//ɨ<><C9A8><EFBFBD>ص<EFBFBD><D8B5><EFBFBD>
LAB_TH_SCAN_LINE_START,//ɨ<><C9A8><EFBFBD><EFBFBD>START
LAB_TH_SCAN_LINE_END,//ɨ<><C9A8><EFBFBD><EFBFBD>END
LAB_TH_SCAN_LINE_SPT_X,//<2F><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>X
LAB_TH_SCAN_LINE_SPT_Y,//<2F><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>Y
LAB_TH_SCAN_LINE_EPT_X,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>X
LAB_TH_SCAN_LINE_EPT_Y,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Y
LAB_TH_SCAN_LINE_SPOT_DIA,//<2F><><EFBFBD><EFBFBD>ֱ<EFBFBD><D6B1>
LAB_TH_SCAN_LINE_BSCAN,//<2F>Ƿ<EFBFBD><C7B7><EFBFBD>ɨ<EFBFBD><C9A8><EFBFBD><EFBFBD>
LAB_TH_M_PT_START,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>START
LAB_TH_M_PT_END,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>END
LAB_TH_M_PT_X,//<2F><><EFBFBD><EFBFBD>X
LAB_TH_M_PT_Y,//<2F><><EFBFBD><EFBFBD>Y
LAB_TH_M_PT_TMP,//<2F><EFBFBD>
LAB_TH_M_PT_POWER,//<2F><><EFBFBD><EFBFBD>
LAB_TH_M_PT_OBJ_IDX,//OBJ <20><><EFBFBD><EFBFBD>ֵ
LAB_TH_LOT_ID,//lot ID
LAB_TH_WAFER_ID,//<2F><>ԲID
LAB_TH_LASER_808_V,//808 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĵ<EFBFBD>ѹ
//<2F><><EFBFBD>ɿ<EFBFBD>CO2 <20>豸--------------------------------------------------------
LAB_UPK_PRODUCT_THICKNESS,//<2F><>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD>
LAB_UPK_PRODUCT_DIA,//<2F><>Ʒֱ<C6B7><D6B1>
LAB_UPK_HOLE_WIDTH,//<2F><><EFBFBD>׿<EFBFBD><D7BF><EFBFBD>
LAB_UPK_HOLE_DIA,//<2F><><EFBFBD><EFBFBD>ֱ<EFBFBD><D6B1>
LAB_UPK_LASER_POWER,//<2F><><EFBFBD><EFBFBD><E2B9A6>
LAB_ADJUST_OFFSET_X,
LAB_ADJUST_OFFSET_Y,
LAB_ADJUST_SIZE_X,
LAB_ADJUST_SIZE_Y,
LAB_ROTATO_ADJUST,
LAB_ONE_OBJ_CUT_TIMES,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>и<EFBFBD><D0B8><EFBFBD><EFBFBD><EFBFBD>
LAB_SPECIAL_ONE_OBJ_CUT_TIMES,//<2F><><EFBFBD><EFBFBD><E2B5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>и<EFBFBD><D0B8><EFBFBD><EFBFBD><EFBFBD>
LAB_ONE_AREA_CUT_TIMES,//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѭ<EFBFBD><D1AD><EFBFBD>и<EFBFBD><D0B8><EFBFBD><EFBFBD><EFBFBD>
LAB_ONE_CUT_SPEED,//<2F>и<EFBFBD><D0B8>ٶ<EFBFBD>
LAB_OBJ_RECT_OFFSET_X,//<2F><><EFBFBD>ζ<EFBFBD><CEB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƫ<EFBFBD><C6AB>X
LAB_OBJ_RECT_OFFSET_Y,//<2F><><EFBFBD>ζ<EFBFBD><CEB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƫ<EFBFBD><C6AB>Y
LAB_OBJ_IS_OFFSET_RECT,
};
//д<>ɿɶ<C9BF><C9B6><EFBFBD>txt <20>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>Ҫ
inline CString GetLabTypeStr(LAB_TYPE type)
{
CString str;
switch(type)
{
case LAB_MODULE_START:
str = "LAB_MODULE_START";
break;
case LAB_MODULE_END:
str = "LAB_MODULE_END";
break;
case LAB_TEMPLATE_START:
str = "LAB_TEMPLATE_START";
break;
case LAB_TEMPLATE_END:
str = "LAB_TEMPLATE_END";
break;
case LAB_MARK_PAR_START:
str = "LAB_MARK_PAR_START";
break;
case LAB_MARK_PAR_END:
str = "LAB_MARK_PAR_END";
break;
case LAB_MARK_AREA_START:
str = "LAB_MARK_AREA_START";
break;
case LAB_MARK_AREA_END:
str = "LAB_MARK_AREA_END";
break;
case LAB_OBJ_START:
str = "LAB_OBJ_START";
break;
case LAB_OBJ_END:
str = "LAB_OBJ_END";
break;
case LAB_OBJ_TYPE:
str = "LAB_OBJ_TYPE";
break;
case LAB_PEN_NUM:
str = "LAB_PEN_NUM";
break;
case LAB_POINT_START:
str = "LAB_POINT_START";
break;
case LAB_POINT_END:
str = "LAB_POINT_END";
break;
case LAB_POINT_X:
str = "LAB_POINT_X";
break;
case LAB_POINT_Y:
str = "LAB_POINT_Y";
break;
case LAB_POINT_IS_NODE:
str = "LAB_POINT_IS_NODE";
break;
default:
str = "LAB_NULL";
break;
}
return str;
}