From 7f34e14e8eefc2eb178eb2786e5989fe53b207bb Mon Sep 17 00:00:00 2001 From: pengmn <pmn@HanInfo> Date: 星期一, 07 七月 2025 17:05:14 +0800 Subject: [PATCH] 1 --- HH.WCS.Mobox3/HH.WCS.Mobox3.XiaoMi/dispatch/GZRobot.cs | 26 +++++++++++++++++++++++++- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/HH.WCS.Mobox3/HH.WCS.Mobox3.XiaoMi/dispatch/GZRobot.cs b/HH.WCS.Mobox3/HH.WCS.Mobox3.XiaoMi/dispatch/GZRobot.cs index 2aaffe6..46a8c27 100644 --- a/HH.WCS.Mobox3/HH.WCS.Mobox3.XiaoMi/dispatch/GZRobot.cs +++ b/HH.WCS.Mobox3/HH.WCS.Mobox3.XiaoMi/dispatch/GZRobot.cs @@ -229,7 +229,8 @@ //1琛ㄧず鏄惁鐢宠缁曡矾 var endLoc = LocationHelper.GetLoc(wcsTask.S_END_LOC); LogHelper.Info($"applyReroute 鐢宠鏄惁缁曡矾璐т綅鍙傛暟{JsonConvert.SerializeObject(endLoc)}"); - if (endLoc.N_CURRENT_NUM == 0&& endLoc.S_LOCK_STATE=="鍏ュ簱閿�) { + if (endLoc.N_CURRENT_NUM == 0&& endLoc.S_LOCK_STATE=="鍏ュ簱閿�) + { result.resultCode = 0; result.success = true; result.msg = "鐩爣璐т綅宸茬┖"; @@ -274,6 +275,29 @@ } + /// <summary> + /// 浜ょ鐢宠 + /// </summary> + /// <param name="model"></param> + /// <returns></returns> + public static GzResult agvTraffic(orderTraffic model) + { + GzResult result = new GzResult(); + try + { + result.resultCode = 0; + result.msg = "success"; + return result; + } + catch (Exception ex) + { + result.resultCode = 1; + result.success = false; + result.msg = $"浜ょ鐢宠鍑虹幇閿欒{JsonConvert.SerializeObject(ex.Message)}"; + return result; + } + + } ///// <summary> ///// 璋冪敤灏忕背鐘舵�鍥炴姤鎺ュ彛 -- Gitblit v1.9.1