}
AltosFlightReader reader;
- TestStandDisplayThread thread;
boolean idle_mode;
JMenuBar menu_bar;
{ "Flash Device", flash_command },
};
- void stop_display() {
- if (thread != null && thread.isAlive()) {
- thread.interrupt();
- try {
- thread.join();
- } catch (InterruptedException ie) {}
- }
- thread = null;
- }
-
public void reset() {
for (AltosFlightDisplay display : displays)
display.reset();
void disconnect() {
setTitle("TestStand");
- stop_display();
teststand_status.stop();
teststand_status.disable_receive();
teststand_status.start(status_update);
setTitle(String.format("TestStand %s", reader.name));
- thread = new TestStandDisplayThread(this, voice(), this, reader);
- thread.start();
if (device != null) {
if (idle_mode) {