sat23 hace 3 años
padre
commit
c2ea160559
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Views/OperationPanel.cs

+ 1 - 1
Views/OperationPanel.cs

@@ -5059,7 +5059,7 @@ namespace MOKA_Factory_Tools
             }
             // 上报抄写结果到MES系统中;
             string strOutMsg;
-            if ( !CommonMethod.ReportDataBurningResultToMES(SN, "", TestResult ? "Pass" : "Fail", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff"), errorDBNow, out strOutMsg) )
+            if ( !CommonMethod.ReportDataBurningResultToMES(SN, keyInfo.DSN, TestResult ? "" : "", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff"), errorDBNow, out strOutMsg) )
             {
                 MessageBox.Show("上报抄写结果到MES失败,请紧急处理:" + strOutMsg);
             }