fix: 装箱修改

This commit is contained in:
ls
2026-01-16 09:02:21 +08:00
parent 16f0b7a285
commit 38cd317d85
3 changed files with 7 additions and 5 deletions

View File

@@ -553,11 +553,11 @@ public class BoxPackageManipulatorDeviceDriver extends AbstractOpcDeviceDriver i
map12.put("value", interactionJsonDTO.getFrpModel());
list.add(map12);
}
// if (ObjectUtil.isNotEmpty(interactionJsonDTO.getIsHave())) {
// map13.put("code", "to_have_or_not");
// map13.put("value", interactionJsonDTO.getIsHave());
// list.add(map13);
// }
if (ObjectUtil.isNotEmpty(interactionJsonDTO.getIsHave())) {
map13.put("code", "to_have_or_not");
map13.put("value", interactionJsonDTO.getIsHave());
list.add(map13);
}
}
this.writing(list);
luceneExecuteLogService.deviceExecuteLog(LuceneLogDto.builder()

View File

@@ -260,6 +260,7 @@ public class ItemProtocol {
list.add(new ItemDto(item_to_len, "下发子卷长度", "DB2.W16"));
list.add(new ItemDto(item_to_barcode, "下发木箱条码", "DB601.STRING1.50"));
list.add(new ItemDto(item_frpModel, "下发管芯尺寸", "DB601.STRING1.50"));
list.add(new ItemDto(item_to_have_or_not, "下发是否有子卷", "DB601.STRING1.50"));
return list;
}
}