opt:输送线协议
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user