| | |
| | | |
| | | List<ReadWriteEntity> lists = new ArrayList<>(); |
| | | lists.add(new ReadWriteEntity(OPCElement.OP010_S_ORDER_CODE,S_ORDER_CODE)); |
| | | lists.add(new ReadWriteEntity(OPCElement.OP010_S_PRODUCT_CODE,S_PRODUCT_TYPE)); |
| | | lists.add(new ReadWriteEntity(OPCElement.OP010_S_PRODUCT_CODE,Short.parseShort(S_PRODUCT_TYPE))); |
| | | lists.add(new ReadWriteEntity(OPCElement.OP010_S_SFC_CODE,S_SFC_CODE)); |
| | | lists.add(new ReadWriteEntity(OPCElement.OP010_S_NUMBER,result.getPlanQty().toString())); |
| | | lists.add(new ReadWriteEntity(OPCElement.OP010_S_NUMBER,Short.parseShort(result.getPlanQty().toString()))); |
| | | lists.add(new ReadWriteEntity(OPCElement.OP010_J_PC_WRITE_ORDER,true)); |
| | | miloService.writeToOpcUa(lists); |
| | | logger.info("OP010工位,handleOrder PC处理完成!^--------------------------------------------"); |
| | |
| | | |
| | | List<ReadWriteEntity> lists = new ArrayList<>(); |
| | | lists.add(new ReadWriteEntity(OPCElement.OP010_S_ORDER_CODE,S_ORDER_CODE)); |
| | | lists.add(new ReadWriteEntity(OPCElement.OP010_S_PRODUCT_CODE,S_PRODUCT_TYPE)); |
| | | lists.add(new ReadWriteEntity(OPCElement.OP010_S_PRODUCT_CODE,Short.parseShort(S_PRODUCT_TYPE))); |
| | | lists.add(new ReadWriteEntity(OPCElement.OP010_S_SFC_CODE,S_SFC_CODE)); |
| | | lists.add(new ReadWriteEntity(OPCElement.OP010_P_REPAIR_LOCATION,repairLocationNo)); |
| | | lists.add(new ReadWriteEntity(OPCElement.OP010_J_PC_WRITE_ORDER,true)); |