+ class LoggingReady extends LaunchStatus {
+ void show (AltosState state, int crc_errors) {
+ if (state.data.flight != 0) {
+ if (state.data.state <= Altos.ao_flight_pad)
+ show("Ready to record");
+ else if (state.data.state < Altos.ao_flight_landed)
+ show("Recording data");
+ else
+ show("Recorded data");
+ }
+ else
+ show("Storage full");
+ lights.set(state.data.flight != 0);
+ }
+ public LoggingReady (GridBagLayout layout, int y) {
+ super(layout, y, "On-board Data Logging");
+ }
+ }
+
+ LoggingReady logging_ready;
+