rev:下发输送线报错空指针,AGV任务状态查询接口日志
This commit is contained in:
@@ -249,7 +249,7 @@ public class XianGongAgvServiceImpl implements XianGongAgvService {
|
||||
HttpResponse result = HttpRequest.get(agvurl)
|
||||
.timeout(20000)//超时,毫秒
|
||||
.execute();
|
||||
log.info("queryXZAgvInstStatus----查询agv指令数据:{}" + result.body());
|
||||
//log.info("queryXZAgvInstStatus----查询agv指令数据:{}" + result.body());
|
||||
return result;
|
||||
} else {
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@ public class OpcUtl {
|
||||
// group.write(requests);
|
||||
} catch (Exception e1) {
|
||||
e1.printStackTrace();
|
||||
throw new BadRequestException("下发信号失败:" + e1.getMessage());
|
||||
}
|
||||
|
||||
boolean is_success = true;
|
||||
|
||||
Reference in New Issue
Block a user