【修改实训运行逻辑:只有在场景情况下判断等待时间】
This commit is contained in:
parent
233b1b1ff2
commit
8cfa715e37
@ -646,7 +646,7 @@ public class Training2Service {
|
|||||||
// 未操作过
|
// 未操作过
|
||||||
if (Step2.StepStatus.isUndo(operation2.getStatus())) {
|
if (Step2.StepStatus.isUndo(operation2.getStatus())) {
|
||||||
boolean isExec = true; // 是否要执行
|
boolean isExec = true; // 是否要执行
|
||||||
if (operation2.getSimTime() != null) {
|
if (operation2.getSimTime() != null && simulation.getTraining2().isScene()) {
|
||||||
isExec = (simCurTime == operation2.getSimTime() || operation2.getSimTime() < simCurTime);
|
isExec = (simCurTime == operation2.getSimTime() || operation2.getSimTime() < simCurTime);
|
||||||
}
|
}
|
||||||
if (isExec) {
|
if (isExec) {
|
||||||
|
Loading…
Reference in New Issue
Block a user