Browse Source

修改不良日志记录

章政 8 years ago
parent
commit
cb33979898
1 changed files with 2 additions and 2 deletions
  1. 2 2
      UAS_AutoPass/AutoAnalysisXml.cs

+ 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