From 1e20867615150dce50f2a834cfe277bfa4749dbb Mon Sep 17 00:00:00 2001 From: hudong <Administrator@PC-20250329JZUF> Date: 星期一, 30 六月 2025 17:25:04 +0800 Subject: [PATCH] 1.分拣接口拆分出回库接口 2.自动回库接口逻辑完成 --- dispatch/NDC.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dispatch/NDC.cs b/dispatch/NDC.cs index ae83b31..3d55e6e 100644 --- a/dispatch/NDC.cs +++ b/dispatch/NDC.cs @@ -79,11 +79,12 @@ } } + private static string GetReqStr(int ts, Dictionary<string, string> param) { //< Order TS = '60' Pri = '" + mst.CN_N_PRIORITY.ToString() + "' From = '" + start.CN_N_AGV_TN_Location + "' To = '" + end.CN_N_AGV_TN_Location + "' No = '" + mst.S_CODE + "_1' Ext1 = '1' Ext2 = '" + Constants.TN_MID_COMMANDEQ_CALLAGVOrderCommandType + "' N_CNTR_COUNT = '' FRow = '" + sFloor + "' TRow = '" + eFloor + "' /> var sb = new StringBuilder(); - sb.Append($"<Req> "); + sb.Append($"<Req><Order "); if (ts != 0) { sb.Append($"TS='{ts}'"); @@ -95,7 +96,7 @@ sb.Append("/></Req>"); return sb.ToString(); } - + private static string GetReqStrcd(int ts, Dictionary<string, string> param) { //< Order TS = '60' Pri = '" + mst.CN_N_PRIORITY.ToString() + "' From = '" + start.CN_N_AGV_TN_Location + "' To = '" + end.CN_N_AGV_TN_Location + "' No = '" + mst.S_CODE + "_1' Ext1 = '1' Ext2 = '" + Constants.TN_MID_COMMANDEQ_CALLAGVOrderCommandType + "' N_CNTR_COUNT = '' FRow = '" + sFloor + "' TRow = '" + eFloor + "' /> -- Gitblit v1.9.1