中储仓KIVA取货确认后不需要再发送信号给输送线

This commit is contained in:
2024-04-11 16:12:17 +08:00
parent cdcc576b95
commit f6eaa2f481
2 changed files with 11 additions and 3 deletions

View File

@@ -434,9 +434,17 @@ namespace Tnb.WarehouseMgr
{ {
_ = await _db.Deleteable(elevatorQueueItem).ExecuteCommandAsync(); _ = await _db.Deleteable(elevatorQueueItem).ExecuteCommandAsync();
} }
await _wareHouseService.SsxControl(disTask, "LOAD");
// 中储仓KIVA取货确认后不需要再发送信号给输送线
if (disTask.startlocation_code == "ZSSSXCTU01" || disTask.startlocation_code == "ZSSSXCTU02")
{
}
else
{
await _wareHouseService.SsxControl(disTask, "LOAD");
}
} }
else if (input.action == "UNLOAD") else if (input.action == "UNLOAD")
{ {

View File

@@ -2,8 +2,8 @@
"ConnectionStrings": { "ConnectionStrings": {
"ConfigId": "default", "ConfigId": "default",
"DBType": "PostgreSQL", //MySql;SqlServer;Oracle;PostgreSQL;Dm;Kdbndp;Sqlite; "DBType": "PostgreSQL", //MySql;SqlServer;Oracle;PostgreSQL;Dm;Kdbndp;Sqlite;
//"Host": "192.168.11.109",
"Host": "localhost", "Host": "localhost",
//"Host": "127.0.0.1",
"Port": "5432", "Port": "5432",
//"DBName": "tianyi_db", //"DBName": "tianyi_db",
//"UserName": "postgres", //"UserName": "postgres",