| | |
| | | { |
| | | try |
| | | { |
| | | if (task.TaskType == TaskTypeEnum.OutProduct.ObjToInt()) |
| | | if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup) |
| | | task.CurrentAddress = GetAGVAddress(task.CurrentAddress); |
| | | else |
| | | task.NextAddress = GetAGVAddress(task.NextAddress); |
| | |
| | | { |
| | | taskDTO.GroupId=task.GroupId; |
| | | } |
| | | if (task.TaskType==TaskTypeEnum.OutMesRworkProduct.ObjToInt()) |
| | | { |
| | | taskDTO.Priority = "127"; |
| | | } |
| | | //åéAGVä»»å¡ |
| | | WebResponseContent content = _taskService.AgvSendTask(taskDTO, APIEnum.Agv_CPSendTask); |
| | | if (!content.Status) |