From 87b988afc48221b4a23db5535a424de79e3d6d9f Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期六, 11 一月 2025 21:51:50 +0800
Subject: [PATCH] 1

---
 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/辅料仓/AGV_FLExtend.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/\350\276\205\346\226\231\344\273\223/AGV_FLExtend.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/\350\276\205\346\226\231\344\273\223/AGV_FLExtend.cs"
index 190fcb9..8d00a08 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/\350\276\205\346\226\231\344\273\223/AGV_FLExtend.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/\350\276\205\346\226\231\344\273\223/AGV_FLExtend.cs"
@@ -35,7 +35,7 @@
                         {
                             TaskCode = task.AgvTaskNum,
                             ReqCode = DateTime.Now.ToString("yyyyMMddHHmmss"),
-                            TaskTyp = task.TaskType == TaskTypeEnum.Outbound.ObjToInt() ? "FLC" : "FLR",
+                            TaskTyp = task.TaskType < TaskTypeEnum.Inbound.ObjToInt() ? "FLC" : "FLR",
                             ctnrCode = task.PalletCode,
                             PositionCodePath = new List<CodePath>()
                         {
@@ -51,8 +51,8 @@
                             }
                         },
                         };
-                        //WebResponseContent content = _taskService.AgvSendTask(taskDTO, APIEnum.Agv_FLSendTask);
-                        //if (!content.Status) throw new Exception(content.Message);
+                        WebResponseContent content = _taskService.AgvSendTask(taskDTO, APIEnum.Agv_FLSendTask);
+                        if (!content.Status) throw new Exception(content.Message);
 
                         task.TaskState = TaskStatusEnum.AGV_Executing.ObjToInt();
 
@@ -94,6 +94,7 @@
                 };
                 var b = Layer > 9 ? "" + Layer : "0" + Layer;
                 var c = Column > 9 ? "" + Column : "0" + Column;
+                if (Column == 10) c = "010";
                 Address = a + b + c;
             }
             else

--
Gitblit v1.9.3