|
|
|
@ -485,7 +485,7 @@ int QX_Merge_Analysis::Analysis_single_Config(QXAnalysis_Config *pconfig, QX_cha
|
|
|
|
fmaxLen = pqxList->qxList.at(i).length;
|
|
|
|
fmaxLen = pqxList->qxList.at(i).length;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 长度超过阈值
|
|
|
|
// 长度超过阈值
|
|
|
|
if (pqxList->qxList.at(i).length > pconfig->len)
|
|
|
|
if (pconfig->len > 0 && pqxList->qxList.at(i).length > pconfig->len)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
blenerror = true;
|
|
|
|
blenerror = true;
|
|
|
|
pqxList->qxList.at(i).nqx_type = QX_ERROR_TYPE_Len;
|
|
|
|
pqxList->qxList.at(i).nqx_type = QX_ERROR_TYPE_Len;
|
|
|
|
@ -593,7 +593,7 @@ int QX_Merge_Analysis::Analysis_single_Config(QXAnalysis_Config *pconfig, QX_cha
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
int minidx = -1;
|
|
|
|
int minidx = -1;
|
|
|
|
bool bdis = true;
|
|
|
|
bool bdis = (pconfig->dis > 0);
|
|
|
|
double remindis = 0;
|
|
|
|
double remindis = 0;
|
|
|
|
// 对距离有要求
|
|
|
|
// 对距离有要求
|
|
|
|
if (pconfig->dis > 0)
|
|
|
|
if (pconfig->dis > 0)
|
|
|
|
@ -612,6 +612,11 @@ int QX_Merge_Analysis::Analysis_single_Config(QXAnalysis_Config *pconfig, QX_cha
|
|
|
|
allmindis = pqxList->qxList.at(i).tem_dis;
|
|
|
|
allmindis = pqxList->qxList.at(i).tem_dis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
// 无邻近缺陷,距离检查自动通过
|
|
|
|
|
|
|
|
bdis = false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
remindis = pqxList->qxList.at(i).tem_dis;
|
|
|
|
remindis = pqxList->qxList.at(i).tem_dis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|