opt:输送线协议

This commit is contained in:
2025-09-15 17:47:45 +08:00
parent d8b66f0306
commit 038b5ba0da

View File

@@ -343,6 +343,16 @@ public class BeltConveyorDeviceDriver extends AbstractOpcDeviceDriver implements
taskDto.setOutbound_complete_flag(true);
taskserver.updateById(taskDto);
List list1 = new ArrayList();
Map map = new HashMap();
map.put("code", "to_command");
map.put("value", 6);
list1.add(map);
Map map2 = new HashMap();
map2.put("code", "to_taskNum");//下发出库数
map2.put("value", device.getOutbound_task_num());
this.writing(list1);
// 5. 只有成功后才设置标记
requireSucess = true;