| | |
| | | private HomeMapper homeMapper; |
| | | private SpianMapper spianMapper; |
| | | private JdbcConnections dbserve; |
| | | private JdbcConnections jdbcConnections; |
| | | |
| | | |
| | | public static Boolean isAllowQueue=true; |
| | | public static String FrameNo=""; |
| | | // public static Map b=new HashMap<>(); |
| | | // b.put() |
| | | @Override |
| | |
| | | // 注入mapper |
| | | homeMapper = WebSocketServer.applicationContext.getBean(HomeMapper.class); |
| | | spianMapper = WebSocketServer.applicationContext.getBean(SpianMapper.class); |
| | | jdbcConnections = WebSocketServer.applicationContext.getBean(JdbcConnections.class); |
| | | // 笼子使用情况 |
| | | List<StorageCage> tableData = homeMapper.selectAll(); |
| | | jsonObject.append("tableData", tableData); |
| | |
| | | } |
| | | jsonObject.append("listoutslice", listoutslice); |
| | | //获取当前出片队列状态 |
| | | jsonObject.append("isAllowQueue", isAllowQueue); |
| | | jsonObject.append("isAllowQueue",Plchome.isAllowQueue); |
| | | //获取铝框idDB106.DBW64 |
| | | // List<Short> frameno = S7control.getinstance().ReadWord("DB106.24", 1); |
| | | |
| | | |
| | | |
| | | dbserve = WebSocketServer.applicationContext.getBean(JdbcConnections.class); |