From 6d2faa6e299bdfe545ee339269e64f2900229147 Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期三, 16 七月 2025 17:29:26 +0800 Subject: [PATCH] 添加AGV实时状态反馈接口、看板获取AGV状态接口 --- wms/WCSHelper.cs | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/wms/WCSHelper.cs b/wms/WCSHelper.cs index 5041a23..a26739a 100644 --- a/wms/WCSHelper.cs +++ b/wms/WCSHelper.cs @@ -1,5 +1,4 @@ 锘縰sing HH.WCS.Mobox3.AnGang.models; -using HH.WCS.Mobox3.AnGang.config; using Newtonsoft.Json; using System; using System.Collections.Generic; @@ -65,7 +64,7 @@ public static TN_Task BuildInboundTask(TN_Location startLoc, string endLocCode, string cntId) { var type = TaskName.浜у搧鍏ュ簱; - var endArea = "HJQ"; + var endArea = Settings.Areas[AreaIndex.H璐ф灦鍖篯[0]; // HJQ TN_Task TN_Task = new TN_Task() { S_CODE = GenerateTaskNo(), @@ -101,7 +100,7 @@ var endArea = ""; if (endLoc == null) { if (taskType == TaskName.浜у搧鍏ュ簱) { - endArea = "HJQ"; // 璐ф灦鍖�+ endArea = Settings.Areas[AreaIndex.H璐ф灦鍖篯[0]; // HJQ } else { LogHelper.Info("缁堢偣璐т綅涓嶅瓨鍦紝涓斾换鍔$被鍨嬩笉鏄疨DA璐у搧鍏ュ簱"); -- Gitblit v1.9.1