| | |
| | | &&"开工".equals(machine.getState()) |
| | | &&taskingCount.size()<machine.getMaxTaskCount())){ |
| | | //Machine loadMachine=machineMapper.selectById(2L); |
| | | LineConfiguration lineConfigurationBefore=lineConfigurationService.machineLineConfigurationBefore(machine); |
| | | LineConfiguration lineConfigurationBefore=lineConfigurationService.machineLineConfigurationBeforeEdg(machine); |
| | | Machine loadMachine=machineMapper.selectById(lineConfigurationBefore.getMachineId()); |
| | | Tasking tasking; |
| | | String scan_id=""; |
| | |
| | | } catch (Exception e) { |
| | | log.info("交互逻辑错误"); |
| | | } |
| | | |
| | | modbusTcp1.close(); |
| | | //log.info("无可执行的条件"); |
| | | } |
| | |
| | | clientSocket.close(); |
| | | return receivedMessage; |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | log.info("扫码异常"); |
| | | //e.printStackTrace(); |
| | | } |
| | | clientSocket.close(); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | log.info("ip或端口异常"); |
| | | } |
| | | return ""; |
| | | } |