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;
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";
serial = null;
}
+ public void set_frame(Frame frame) {
+ serial.set_frame(frame);
+ }
+
public AltosIgnite(AltosDevice in_device) throws FileNotFoundException, AltosSerialInUseException {
device = in_device;
serial = new AltosSerial(device);
remote = false;
- if (!device.matchProduct(AltosDevice.product_telemetrum))
+ if (!device.matchProduct(Altos.product_telemetrum))
remote = true;
}
}
\ No newline at end of file