Administrator
2021-03-15 d815854081d1a37fc40661ac2fc68ac75b09818a
P066.Data/Form1.cs
@@ -125,9 +125,9 @@
                        GuaNum=GuaNum+1;
                        filenameDir = "复检中框刮白";
                        filename = "复检中框刮白" + GuaNum;
                    judgeList = GetMidLocation(judgeList);
                    judgeList = GetBkLocation(judgeList);
                    //给镜头区分位置及角度
                    list = GetMidLocation(list);
                    list = GetBkLocation(list);
                }
               else if (fileinfos1[i].Name.Contains("初检背板"))
                {
@@ -321,6 +321,14 @@
                        if (distance < 20)
                        {
                            itemToRemove.Add(list2[j]);
                            //if (list1[i].PostTreatmentResults=="")
                            //{
                            //    list1[i].PostTreatmentResults = list2[j].PostTreatmentResults;
                            //}
                            //else
                            //{
                            //    list2[j].PostTreatmentResults = list1[i].PostTreatmentResults;
                            //}
                        }
                    }
                }
@@ -409,6 +417,14 @@
                                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;
                            //}
                        }
                    }