现场问题处理

This commit is contained in:
2024-09-12 14:07:03 +08:00
parent df00f0b1e2
commit c1b4d60778
10 changed files with 406 additions and 100 deletions

View File

@@ -92,9 +92,9 @@ namespace Tnb.WarehouseMgr
{
Logger.Information($"【LoadConfirm】接收到WCS取货确认信号.................. {JsonConvert.SerializeObject(input)}");
var dis = _db.Queryable<WmsDistaskH>().Where(P => P.bill_code == input.taskCode).First();
try
{
var dis = _db.Queryable<WmsDistaskH>().Where(P => P.bill_code == input.taskCode).First();
if (dis.area_code == "ZSCJ001")
{
var flag = await _wareHouseService.Check(dis.startlocation_code, "LOAD");
@@ -900,6 +900,11 @@ namespace Tnb.WarehouseMgr
_ = await _db.Deleteable(elevatorQueueItem).ExecuteCommandAsync();
}
// 三楼出库取货完成时呼叫电梯
if (disTask.area_code == "FC")
{
_wareHouseService.CallingLanding(new List<WmsDistaskH?>() { disTask });
}
// 中储仓KIVA取货确认后不需要再发送信号给输送线
if (disTask.startlocation_code == "ZSSSXCTU01" || disTask.startlocation_code == "ZSSSXCTU02")