فهرست منبع

Merge repos.ubtob.net:usoft/mes-client

callm 3 ماه پیش
والد
کامیت
2862b5c0bc
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 6 0
      UAS_MES_BG/FunctionCode/Make/Make_ParseLog.cs

+ 6 - 0
UAS_MES_BG/FunctionCode/Make/Make_ParseLog.cs

@@ -758,8 +758,14 @@ namespace UAS_MES_NEW.Make
                                 if (ConsoleLog(xmlContent, file))
                                 {
                                     File.Delete(file);
+                                    continue;
                                 }
                             }
+                            if (string.IsNullOrEmpty(Part_) || string.IsNullOrEmpty(Side_))
+                            {
+                                LogMessage($"Error: 输出文件无产品编号或面别信息");
+                                continue;
+                            }
 
                             string ps_id = "";
                             string lineId = dh.getFieldDataByCondition("smtlocationinto", "SLI_LANE", "SLI_MCNO='" + MachineName[0] + "'").ToString();