fix 更新查询agv状态接口
This commit is contained in:
@@ -549,7 +549,7 @@ public class AgvServiceImpl implements AgvService {
|
|||||||
|
|
||||||
JSONObject arm_info = JSONObject.fromObject(rbk_report.getString("arm_info"));
|
JSONObject arm_info = JSONObject.fromObject(rbk_report.getString("arm_info"));
|
||||||
|
|
||||||
String state = arm_info.getString("task_status");
|
//String state = arm_info.getString("task_status");
|
||||||
String state_name = null;
|
String state_name = null;
|
||||||
//连接状态
|
//连接状态
|
||||||
int connection_status = jo.getInt("connection_status");
|
int connection_status = jo.getInt("connection_status");
|
||||||
@@ -599,7 +599,7 @@ public class AgvServiceImpl implements AgvService {
|
|||||||
String today_odo = rbk_report.getString("today_odo");
|
String today_odo = rbk_report.getString("today_odo");
|
||||||
|
|
||||||
String energyLevel = String.valueOf(rbk_report.getDouble("battery_level"));
|
String energyLevel = String.valueOf(rbk_report.getDouble("battery_level"));
|
||||||
String transportOrder = current_order.getString("id");
|
String transportOrder = String.valueOf(current_order.get("id"));
|
||||||
Instruction inst = instructionService.findByCodeFromCache(transportOrder);
|
Instruction inst = instructionService.findByCodeFromCache(transportOrder);
|
||||||
if(!ObjectUtil.isEmpty(inst)){
|
if(!ObjectUtil.isEmpty(inst)){
|
||||||
transportOrder = inst.getTask_code();
|
transportOrder = inst.getTask_code();
|
||||||
|
|||||||
Reference in New Issue
Block a user