生产提报获取下料库位
This commit is contained in:
@@ -228,7 +228,7 @@ namespace Tnb.ProductionMgr
|
||||
BasFactoryConfig config = await _db.Queryable<BasFactoryConfig>().FirstAsync(x => x.enabled == 1 && x.key == FactoryConfigConst.DOMAIN);
|
||||
foreach (var equipment in equipments)
|
||||
{
|
||||
EqpDaq eqpDaq = eqpDaqs.First(x => x.equip_id == equipment.id);
|
||||
EqpDaq eqpDaq = eqpDaqs.FirstOrDefault(x => x.equip_id==equipment.id);
|
||||
if (eqpDaq == null)
|
||||
{
|
||||
Log.Error($"{equipment.name}没配置允许入空箱");
|
||||
|
||||
Reference in New Issue
Block a user