From d815854081d1a37fc40661ac2fc68ac75b09818a Mon Sep 17 00:00:00 2001
From: Administrator <Administrator@DESKTOP-1VKMM8S>
Date: 星期一, 15 三月 2021 19:30:29 +0800
Subject: [PATCH] 1.调整区分刮白区域为可视区或非可视区。

---
 P066.Data/Form1.cs |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/P066.Data/Form1.cs b/P066.Data/Form1.cs
index be15bec..df02e6e 100644
--- a/P066.Data/Form1.cs
+++ b/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;
+                            //}
 
                         }
                     }

--
Gitblit v1.8.0