1
wangxinhui
2025-07-19 334ecd210dbadba93c8ac7cf1c6255db999f226d
项目代码/WCS/WCSServices/WIDESEAWCS_TaskInfoService/TaskService.cs
@@ -251,6 +251,15 @@
                                task.NextAddress = router.NextPosi;
                            }
                        }
                        else
                        {
                            if (taskTypeGroup == TaskTypeGroup.InboundGroup)
                            {
                                task.CurrentAddress = router.StartPosi;
                                task.NextAddress = "";
                                task.DeviceCode = router.ChildPosiDeviceCode;
                            }
                        }
                    }
                    tasks.Add(task);
                }
@@ -321,7 +330,7 @@
        /// <param name="palletCode"></param>
        /// <param name="sourceAddress"></param>
        /// <returns></returns>
        public WebResponseContent RequestWMSTaskSimple(string palletCode, string sourceAddress, int taskType=630)
        public WebResponseContent RequestWMSTaskSimple(string palletCode, string sourceAddress, string roadWay="", int taskType=630)
        {
            WebResponseContent content = new WebResponseContent();
            try
@@ -343,7 +352,7 @@
                    Id = 1,
                    TaskNum = DateTime.Now.ToString("mmss").ObjToInt(),
                    PalletCode="",
                    RoadWay="",
                    RoadWay= roadWay ?? "",
                    TaskType= taskType,
                    PalletType=1,
                    TaskStatus=TaskStatusEnum.New.ObjToInt(),