| | |
| | | private String wideInWidth; // 4.5μm×588mm matnr 中的 4.5 |
| | | private String thickness; //4.5μm×588mm matnr 中的 588 |
| | | |
| | | private String rollType = "纸轴"; //木箱类型 brand brand$ |
| | | private String rollType = "FRP"; //木箱类型 brand brand$ |
| | | |
| | | private List<Roll> rolls; //卷集合 |
| | | |
| | |
| | | // 先按"μm×"分割,再按"mm"分割 |
| | | String[] firstSplit = matnr.split("μm×"); |
| | | if (firstSplit.length == 2) { |
| | | wideInWidth = firstSplit[0]; // 5.2 |
| | | thickness = firstSplit[0]; // 5.2 |
| | | String[] secondSplit = firstSplit[1].split("mm"); |
| | | if (secondSplit.length > 0) { |
| | | thickness = secondSplit[0]; // 834.1 |
| | | wideInWidth = secondSplit[0]; // 834.1 |
| | | } |
| | | } |
| | | boxPos = sampleWrkDetl.getOrigin(); |