wangxinhui
2025-12-29 d0cc37c3c11859cc55f30624692dca55be2b8a32
项目代码/WCS/WCSServices/WIDESEAWCS_Tasks/原料库/ConveyorLineJob_YL1ndFloor.cs
@@ -120,10 +120,8 @@
                                if (string.IsNullOrEmpty(task.Roadway) && string.IsNullOrEmpty(task.NextAddress))
                                {
                                    WebResponseContent content = _taskService.AssignYLRoadwayNo(task.PalletCode,weight: conveyorLineInfoRead.WR_Weight, thickness: conveyorLineInfoRead.WR_Height, wide: conveyorLineInfoRead.WR_Width);
                                    if (!content.Status)
                                    if (content.Status)
                                    {
                                        WriteError(item.StationCode, $"璇锋眰鍏ュ簱澶辫触锛歿content.Message}");
                                    }
                                    string roadWay = content.Data.ToString();
                                    //鑾峰彇璺敱閰嶇疆
                                    List<Dt_Router> routers = _routerRepository.QueryData(x => x.InOutType == task.TaskType && task.CurrentAddress == x.StartPosi && x.ChildPosiDeviceCode== roadWay);
@@ -139,6 +137,12 @@
                                }
                                else
                                {
                                        WriteError(item.StationCode, $"璇锋眰鍏ュ簱澶辫触锛歿content.Message}");
                                    }
                                }
                                else
                                {
                                    device.SetValue(WR_CLineYLDB.WR_Task, task.TaskNum, item.StationCode);
                                    device.SetValue(WR_CLineYLDB.WR_ToHode, task.NextAddress, item.StationCode);
                                    device.SetValue(WR_CLineYLDB.WR_Width, task.TaskLength, item.StationCode);