| | |
| | | GuaNum=GuaNum+1; |
| | | filenameDir = "复检中框刮白"; |
| | | filename = "复检中框刮白" + GuaNum; |
| | | judgeList = GetMidLocation(judgeList); |
| | | judgeList = GetBkLocation(judgeList); |
| | | //给镜头区分位置及角度 |
| | | list = GetMidLocation(list); |
| | | list = GetBkLocation(list); |
| | | } |
| | | else if (fileinfos1[i].Name.Contains("初检背板")) |
| | | { |
| | |
| | | if (distance < 20) |
| | | { |
| | | itemToRemove.Add(list2[j]); |
| | | //if (list1[i].PostTreatmentResults=="") |
| | | //{ |
| | | // list1[i].PostTreatmentResults = list2[j].PostTreatmentResults; |
| | | //} |
| | | //else |
| | | //{ |
| | | // list2[j].PostTreatmentResults = list1[i].PostTreatmentResults; |
| | | //} |
| | | } |
| | | } |
| | | } |
| | |
| | | list1[i].JudgmentResult = "NG"; |
| | | list2[j].JudgmentResult = "NG"; |
| | | } |
| | | //if (list1[i].PostTreatmentResults == "") |
| | | //{ |
| | | // list1[i].PostTreatmentResults = list2[j].PostTreatmentResults; |
| | | //} |
| | | //else |
| | | //{ |
| | | // list2[j].PostTreatmentResults = list1[i].PostTreatmentResults; |
| | | //} |
| | | |
| | | } |
| | | } |