master
liuwf 2 years ago
parent f83c712cd5
commit 6e1ff812fe

@ -227,6 +227,9 @@ namespace Khd.Core.Wcs.Wcs
} }
} }
if (Convert.ToInt32(agvGetValue) == 1 && !string.IsNullOrEmpty(rfidValue))//小包出口成品入口 if (Convert.ToInt32(agvGetValue) == 1 && !string.IsNullOrEmpty(rfidValue))//小包出口成品入口
{
bool canCreate = dbContext.WcsTask.Where(t => t.nextPointId == 8).Any();//有没有生成任务
if (!canCreate)
{ {
lock (SystemData.SecondTaskLock) lock (SystemData.SecondTaskLock)
{ {
@ -332,6 +335,8 @@ namespace Khd.Core.Wcs.Wcs
} }
} }
} }
}
} }
} }
catch (Exception ex) catch (Exception ex)

Loading…
Cancel
Save