rev:下发类型

This commit is contained in:
2026-09-29 08:46:09 +08:00
parent cc2489ad33
commit 1045e8e475

View File

@@ -383,12 +383,12 @@ public class BoxStorageManipulatorDeviceDriver extends AbstractOpcDeviceDriver i
map.put("to_target", next_addr);
map.put("to_task", instruction.getInstruction_code());
if (ObjectUtil.isNotEmpty(extJson)) {
map.put("to_lenght", extJson.getString("length"));
map.put("to_width", extJson.getString("width"));
map.put("to_height", extJson.getString("height"));
map.put("to_lenght", extJson.getIntValue("length"));
map.put("to_width", extJson.getIntValue("width"));
map.put("to_height", extJson.getIntValue("height"));
map.put("to_barcode", extJson.getString("barcode"));
map.put("to_type", extJson.getString("type"));
map.put("to_layer", extJson.getString("layer"));
map.put("to_type", extJson.getIntValue("type"));
map.put("to_layer", extJson.getIntValue("layer"));
}
writing(map);
}