| | |
| | | || battery.getBinding().getChlid() == null) continue; |
| | | try |
| | | { |
| | | var source = simulator.btsTest(battery.getBinding().getDevid(), battery.getBinding().getChlid()); |
| | | var source = "NOT_STARTED".equals(test.getReceptionStatus()) |
| | | ? simulator.btsTest(battery.getBinding().getDevid(), battery.getBinding().getChlid(), 1) |
| | | : simulator.btsTest(battery.getBinding().getDevid(), battery.getBinding().getChlid()); |
| | | List<TestPlanRow> rows = source.rows().stream() |
| | | .map(row -> new TestPlanRow(row.rowType(), row.stepNo(), row.stepName(), row.durationSeconds(), |
| | | .map(row -> new TestPlanRow(row.rowType(), row.stepNo(), row.cyclePosition(), row.stepName(), row.durationSeconds(), |
| | | row.voltageV(), row.executionStatus(), row.cycleCount(), row.recordCount())) |
| | | .toList(); |
| | | return new TestPlanSnapshot(source.currentCycleNo(), source.currentStepNo(), |