fix 查询仙工任务状态

This commit is contained in:
张江玮
2023-10-12 18:05:48 +08:00
parent dd93596423
commit 328602c761

View File

@@ -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 {