-
admin
2 天以前 6e9d579cde59b29a06e481c7f0438c2a1fbaa882
billion-main/src/main/java/com/billion/main/plc/controller/MesPlcControl.java
@@ -26,7 +26,7 @@
    {
        Integer result = 21;
        try {
            miloService.writeToOpcUa(ReadWriteEntity.builder().identifier("wc.IGBT.mesAllowWork").value("21").build());
            miloService.writeToOpcShort(ReadWriteEntity.builder().identifier("wc.IGBT.mesAllowWork").value(result).build());
            miloService.writeToOpcUa(ReadWriteEntity.builder().identifier("wc.IGBT.sfcCode").value(mesToPlcVo.getIgbtMateral()).build());
        } catch (Exception e) {
            throw new RuntimeException("写入plc允许工作错误!请检查");