| | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | WriteError("CommonConveyorLineJob", "test", ex); |
| | | WriteError("CommonConveyorLineJob", ex); |
| | | ConsoleHelper.WriteErrorLine($"{ex.Message}"); |
| | | //Console.WriteLine(nameof(CommonStackerCraneJob) + ":" + ex.ToString()); |
| | | } |
| | |
| | | { |
| | | task = _taskService.QueryStackerCraneInTask(commonStackerCrane.DeviceCode); |
| | | } |
| | | |
| | | if (task != null && task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.InboundGroup) |
| | | { |
| | | var relocation = _taskService.InBeforeCheck(task.TaskNum); |
| | | |
| | | if (relocation != null) |
| | | { |
| | | return relocation; |
| | | } |
| | | } |
| | | |
| | | return task; |
| | | } |
| | | |