altosui: Make deployment testing handle Connecting... dialog
[fw/altos] / altosui / AltosIgnite.java
index d36381407c53ee0d46e0bda72c1fc1cd36c3aa59..1171d2edd4510aeeea6f846aeb79ef1d341a97de 100644 (file)
@@ -19,6 +19,12 @@ package altosui;
 
 import java.io.*;
 import java.util.concurrent.*;
 
 import java.io.*;
 import java.util.concurrent.*;
+import java.awt.*;
+import java.awt.event.*;
+import javax.swing.*;
+import javax.swing.filechooser.FileNameExtensionFilter;
+import javax.swing.table.*;
+import javax.swing.event.*;
 
 public class AltosIgnite {
        AltosDevice     device;
 
 public class AltosIgnite {
        AltosDevice     device;
@@ -115,7 +121,7 @@ public class AltosIgnite {
                return status;
        }
 
                return status;
        }
 
-       public String status_string(int status) {
+       public static String status_string(int status) {
                switch (status) {
                case Unknown: return "Unknown";
                case Ready: return "Ready";
                switch (status) {
                case Unknown: return "Unknown";
                case Ready: return "Ready";
@@ -156,6 +162,10 @@ public class AltosIgnite {
                serial = null;
        }
 
                serial = null;
        }
 
+       public void set_frame(Frame frame) {
+               serial.set_frame(frame);
+       }
+
        public AltosIgnite(AltosDevice in_device) throws FileNotFoundException, AltosSerialInUseException {
 
                device = in_device;
        public AltosIgnite(AltosDevice in_device) throws FileNotFoundException, AltosSerialInUseException {
 
                device = in_device;