| | |
| | | import com.zy.common.utils.HttpHandler; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | |
| | | @Resource |
| | | private BasStationMapper basStationMapper; |
| | | |
| | | @Value("${Agv.sendTask}") |
| | | private boolean agvSendTask; |
| | | |
| | | /** |
| | | * 呼叫agv搬运 |
| | | */ |
| | | public void callAgv(List<Task> taskList) { |
| | | |
| | | if (!agvSendTask) { |
| | | return; |
| | | } |
| | | |
| | | for (Task task : taskList) { |
| | | // 呼叫agv |
| | | String response = ""; |