rev:新增字段是否是空托盘

This commit is contained in:
2024-12-23 09:45:05 +08:00
parent 05e59e9a8f
commit a0fbe68411
20 changed files with 57 additions and 12 deletions

View File

@@ -142,6 +142,8 @@ public class AgvWaitUtil {
param.put("deviceCode",deviceCode);
// 判断是否需要空托盘
param.put("isBarcode", ObjectUtil.isEmpty(taskDto.getIs_vehicle()) ? "0" : taskDto.getIs_vehicle());
// 将运输的类型告诉输送线
param.put("isEmpBarcode", ObjectUtil.isEmpty(taskDto.getIs_empvehicle()) ? "0" : taskDto.getIs_empvehicle());
JSONObject data = new JSONObject();
data.put("DATA", param);

View File

@@ -78,6 +78,7 @@ public class WmsToAcsServiceImpl implements WmsToAcsService {
String remark = task.getRemark();
String params = task.getParams();
String is_vehicle = task.getIs_vehicle();
String is_empvehicle = task.getIs_empvehicle();
// 双工RGV任务 后工位任务
String start_point_code2 = task.getStart_device_code2();
String next_point_code2 = task.getNext_device_code2();
@@ -225,6 +226,7 @@ public class WmsToAcsServiceImpl implements WmsToAcsService {
jo.put("vehicle_type", vehicle_type);
jo.put("remark", remark);
jo.put("is_vehicle", is_vehicle);
jo.put("is_empvehicle", is_empvehicle);
jo.put("params", params);
jo.put("task_type", StrUtil.isEmpty(task_type) ? 1 : Integer.parseInt(task_type));
jo.put("direction", direction);

View File

@@ -287,4 +287,9 @@ public class TaskDto implements Serializable {
* 是否需要载具
*/
private String is_vehicle;
/**
* 是否空托盘
*/
private String is_empvehicle;
}