Use SimulationStatus.addWarning() to add large AOA warnings
This commit is contained in:
parent
edf4d03322
commit
02b17dfd16
@ -280,8 +280,7 @@ public class BasicEventSimulationEngine implements SimulationEngine {
|
|||||||
} else {
|
} else {
|
||||||
// Stable, so warning about AOA
|
// Stable, so warning about AOA
|
||||||
if (currentStatus.recordWarnings()) {
|
if (currentStatus.recordWarnings()) {
|
||||||
currentStatus.addEvent(new FlightEvent(FlightEvent.Type.SIM_WARN, currentStatus.getSimulationTime(), null,
|
currentStatus.addWarning(new Warning.LargeAOA(aoa));
|
||||||
new Warning.LargeAOA(aoa)));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user