| | |
| | | return; |
| | | } |
| | | |
| | | String barcodeTime = String.valueOf(System.currentTimeMillis()); |
| | | String barcode = barcodeTime.substring(5); |
| | | |
| | | status.setTaskNo(taskNo); |
| | | status.setLoading(true); |
| | | status.setBarcode(String.valueOf(System.currentTimeMillis())); |
| | | status.setBarcode(barcode); |
| | | } |
| | | |
| | | private void generateFakeOutStationData(Integer stationId) { |
| | |
| | | } |
| | | |
| | | try { |
| | | while (true) { |
| | | while (!Thread.currentThread().isInterrupted()) { |
| | | ZyStationStatusEntity nextStatus = statusList.stream() |
| | | .filter(item -> item.getStationId().equals(currentStationId)).findFirst().orElse(null); |
| | | if (nextStatus == null) { |