|
|
@ -5,6 +5,7 @@ import cn.hutool.core.util.StrUtil; |
|
|
|
import cn.hutool.http.HttpResponse; |
|
|
|
import com.alibaba.fastjson.JSONArray; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.nl.acs.agv.server.XianGongAgvService; |
|
|
|
import org.nl.acs.ext.wms.service.AcsToWmsService; |
|
|
@ -18,20 +19,13 @@ import org.springframework.stereotype.Component; |
|
|
|
* 查询AGV任务状态 |
|
|
|
*/ |
|
|
|
@Slf4j |
|
|
|
@Component |
|
|
|
public class QueryXZAgvTaskStatus { |
|
|
|
@Component("queryXGTaskStatus") |
|
|
|
@RequiredArgsConstructor |
|
|
|
public class QueryXGTaskStatus { |
|
|
|
|
|
|
|
@Autowired |
|
|
|
InstructionService instructionService; |
|
|
|
private final InstructionService instructionService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
XianGongAgvService agvService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
AcsToWmsService acsToWmsService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
TaskService taskService; |
|
|
|
private final XianGongAgvService agvService; |
|
|
|
|
|
|
|
public void run() throws Exception { |
|
|
|
|