点巡检 设备模具保养执行修改

This commit is contained in:
2024-08-08 09:29:59 +08:00
parent 18f052cefd
commit 06c870c5a1
10 changed files with 137 additions and 10 deletions

View File

@@ -137,12 +137,14 @@ namespace Tnb.ProductionMgr
throw Oops.Bah($"{eqpEquipment.name}未设置原料条码数据采集项");
}
BasMaterial basMaterial = await _db.Queryable<BasMaterial>().SingleAsync(x => x.id == item.material_id);
Dictionary<string, string> dicCommand3 = new(StringComparer.OrdinalIgnoreCase)
{
["DevName"] = eqpDaq.equip_code,
["token"] = _eleCtlCfg.token,
["TagName"] = eqpDaq.label_name,
["Value"] = item.material_id,
["Value"] = basMaterial?.code ?? "",
};
Log.Information($"注塑主控柜{eqpDaq.label_name}更新参数:{JsonConvert.SerializeObject(dicCommand3)}");
string responseresult3 =