章政 8 жил өмнө
parent
commit
cb33979898

+ 2 - 2
UAS_AutoPass/AutoAnalysisXml.cs

@@ -257,7 +257,7 @@ namespace UAS_AutoPass
             //没有条码并且不良进行记录
             else if (sncode == "" && test_result == "NG")
             {
-                LogicHandler.AutoPassLog(sncode, isource, makecode, test_date, istepcode, ilinecode, e.Name, "0");
+                LogicHandler.AutoPassLog(sncode, isource, makecode, test_date, istepcode, ilinecode, e.Name, "1");
             }
             else if (sncode != "")
             {
@@ -309,7 +309,7 @@ namespace UAS_AutoPass
                             default:
                                 break;
                         }
-                        LogicHandler.AutoPassLog(sncode, isource, makecode, test_date, istepcode, ilinecode,e.Name, "0");
+                        LogicHandler.AutoPassLog(sncode, isource, makecode, test_date, istepcode, ilinecode, e.Name, "0");
                     }
                 }
                 else