@@ -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: 输出文件无产品编号或面别信息");
+ }
string ps_id = "";
string lineId = dh.getFieldDataByCondition("smtlocationinto", "SLI_LANE", "SLI_MCNO='" + MachineName[0] + "'").ToString();