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.

195 lines
5.6 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_OBJ_IS_MARK,//obj <20><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD>mark <20><>
LAB_OBJ_ARC_START_X,
LAB_OBJ_ARC_START_Y,
LAB_OBJ_ARC_END_X,
LAB_OBJ_ARC_END_Y,
LAB_OBJ_ARC_CENTER_X,
LAB_OBJ_ARC_CENTER_Y,
LAB_OBJ_ARC_EDGE_CNT,
LAB_OBJ_ARC_DIR,
LAB_ADJUST_OFFSET_X,
LAB_ADJUST_OFFSET_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F>ʺŵ<CABA>ѡ<EFBFBD><D1A1>״̬
LAB_RCD_WORK_DATE_TIME_NAME,//<2F><><EFBFBD>ں<EFBFBD>ʱ<EFBFBD><CAB1>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҷ<EFBFBD>Ӧ<EFBFBD>IJ<EFBFBD><C4B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>)
LAB_RCD_END_SCAN_LINE_IDX,////<2F><><EFBFBD><EFBFBD>ɨ<EFBFBD><C9A8>ʱɨ<CAB1><C9A8><EFBFBD>ߵ<EFBFBD><DFB5><EFBFBD><EFBFBD><EFBFBD>ֵ(<28><><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8>жϵ<D0B6><CFB5><EFBFBD><EFBFBD><EFBFBD>)
LAB_RCD_TOTAL_SCAN_LINE_CNT,//ɨ<><C9A8><EFBFBD>ߵ<EFBFBD><DFB5><EFBFBD><EFBFBD><EFBFBD>
LAB_TUIHUO_AUTO_POWER_MODE,//<2F><><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD>ƥ<EFBFBD><C6A5>ģʽ
};
//д<>ɿɶ<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;
}