| | |
| | | |
| | | private void write7(List<LedCommand> list) { |
| | | commandList = list; |
| | | |
| | | this.ledMk = false; |
| | | StringBuilder sb = new StringBuilder(); |
| | | for (LedCommand command : list) { |
| | | sb.append(command.getTitle()).append("(").append(command.getWorkNo()).append(")").append("\n"); |
| | |
| | | for (MatDto matDto : command.getMatDtos()) { |
| | | sb.append("物料编码:").append(matDto.getMatnr()).append("\n"); |
| | | sb.append("数量:").append(matDto.getCount()).append("\n"); |
| | | sb.append("规格:").append(matDto.getSpecs()).append("\n"); |
| | | } |
| | | } |
| | | sb.append("\n"); |
| | |
| | | |
| | | private void reset7() { |
| | | commandList = null; |
| | | |
| | | stringBuffer.delete(0, stringBuffer.length()); |
| | | errorMsg.delete(0, errorMsg.length()); |
| | | } |
| | | |
| | | |
| | | private void error(String msg) { |
| | | errorMsg.delete(0, errorMsg.length()); |
| | | errorMsg.append(msg); |
| | | this.ledMk = false; |
| | | } |
| | | |
| | | public void errorReset() { |