wu
2023-09-13 be5351fe3cc2714756ae43ab272cf8813cb0fe98
springboot-vue3/src/main/java/com/example/springboot/component/PlcHold.java
@@ -32,17 +32,20 @@
        e.printStackTrace();
      }
      spianService = WebSocketServer.applicationContext.getBean(SpianService.class);
      jdbcConnections = WebSocketServer.applicationContext.getBean(JdbcConnections.class);
      //根据玻璃id获取订单号
      try {
          Glass glass=jdbcConnections.selectGlass(112);
          //System.out.println(glass.getOrderId());
        } catch (SQLException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
        }
    
      spianService.selectout("11");
      //判断进片请求 
       List<Short> datas1List=S7control.getinstance().ReadWord("DB106.24", 1);
       List<Short> datas1ListState=S7control.getinstance().ReadWord("DB106.8", 1);