huangxiaoqiang
6 天以前 6db89a97e81e6c26bb2d2ccb3db79ed8858462a2
Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_GW/GWTask/RequestInbound.cs
@@ -257,7 +257,6 @@
                    ConsoleHelper.WriteErrorLine($"当前托盘存在任务:【{command.ConveyorLineBarcode}】");
                    WriteInfo(conveyorLine.DeviceName, $"当前托盘存在任务{command.ConveyorLineBarcode}");
                    return;
                }
                var content = CreateAndSendTask(taskDTO);
@@ -268,7 +267,6 @@
                    {
                        var taskCommand = MapTaskCommand(task, command);
                        //conveyorLine.SendCommand(taskCommand, childDeviceCode);
                        bool sendFlag = SendCommand(taskCommand, conveyorLine, childDeviceCode);
                        if (sendFlag)
                        {
@@ -276,7 +274,6 @@
                        }
                    }
                }
                //}
            }
        }
@@ -344,7 +341,7 @@
                }
                else
                {
                    if (content.Message != "请求过于频繁,请稍后再试" || content.Message != "无法获取目标地址")
                    if (content.Message != "请求过于频繁,请稍后再试" && content.Message != "无法获取目标地址")
                    {
                        WriteInfo(conveyorLine.DeviceName, content.Message);
                        conveyorLine.SetValue(ConveyorLineDBName_After.ConveyorLineTargetAddress, stationManager.stationNGChildCode, childDeviceCode);