jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java
@@ -232,6 +232,7 @@ if (CollUtil.isNotEmpty(orderList)){ Long id = orderList.get(0).getId(); String productNum = orderList.get(0).getProductNum();//模组码 String orderNum = orderList.get(0).getWorkOrderNo(); //下发产品模组码 miloService.writeToOpcUa(ReadWriteEntity.builder().identifier(thoroughfare + "." + device + ".MES_ModuleCode").value(productNum).build()); miloService.writeToOpcUa(ReadWriteEntity.builder().identifier(thoroughfare + "." + device + ".MES_WorkOrderNumber").value(productNum).build());