update turnon tools
[fw/altos] / altoslib / AltosConfigValues.java
1 /*
2  * Copyright © 2012 Keith Packard <keithp@keithp.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; version 2 of the License.
7  *
8  * This program is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11  * General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License along
14  * with this program; if not, write to the Free Software Foundation, Inc.,
15  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
16  */
17
18 package org.altusmetrum.altoslib_5;
19
20 public interface AltosConfigValues {
21         /* set and get all of the dialog values */
22         public abstract void set_product(String product);
23
24         public abstract void set_version(String version);
25
26         public abstract void set_serial(int serial);
27
28         public abstract void set_main_deploy(int new_main_deploy);
29
30         public abstract int main_deploy() throws AltosConfigDataException;
31
32         public abstract void set_apogee_delay(int new_apogee_delay);
33
34         public abstract int apogee_delay() throws AltosConfigDataException;
35
36         public abstract void set_apogee_lockout(int new_apogee_lockout);
37
38         public abstract int apogee_lockout() throws AltosConfigDataException;
39
40         public abstract void set_radio_frequency(double new_radio_frequency);
41
42         public abstract double radio_frequency() throws AltosConfigDataException;
43
44         public abstract void set_radio_calibration(int new_radio_calibration);
45
46         public abstract int radio_calibration() throws AltosConfigDataException;
47
48         public abstract void set_radio_enable(int new_radio_enable);
49
50         public abstract int radio_enable();
51
52         public abstract void set_callsign(String new_callsign);
53
54         public abstract String callsign();
55
56         public abstract void set_telemetry_rate(int new_telemetry_rate);
57
58         public abstract int telemetry_rate() throws AltosConfigDataException;
59
60         public abstract void set_flight_log_max(int new_flight_log_max);
61
62         public abstract void set_flight_log_max_enabled(boolean enable);
63
64         public abstract int flight_log_max() throws AltosConfigDataException;
65
66         public abstract void set_flight_log_max_limit(int flight_log_max_limit);
67
68         public abstract void set_ignite_mode(int new_ignite_mode);
69
70         public abstract int ignite_mode();
71
72         public abstract void set_pad_orientation(int new_pad_orientation);
73
74         public abstract int pad_orientation();
75
76         public abstract void set_pyros(AltosPyro[] new_pyros);
77
78         public abstract AltosPyro[] pyros() throws AltosConfigDataException;
79
80         public abstract void set_pyro_firing_time(double new_pyro_firing_time);
81
82         public abstract double pyro_firing_time() throws AltosConfigDataException;
83
84         public abstract int aprs_interval() throws AltosConfigDataException;
85
86         public abstract void set_aprs_interval(int new_aprs_interval);
87
88         public abstract int aprs_ssid() throws AltosConfigDataException;
89
90         public abstract void set_aprs_ssid(int new_aprs_ssid);
91
92         public abstract int beep() throws AltosConfigDataException;
93
94         public abstract void set_beep(int new_beep);
95
96         public abstract int tracker_motion() throws AltosConfigDataException;
97
98         public abstract void set_tracker_motion(int tracker_motion);
99
100         public abstract int tracker_interval() throws AltosConfigDataException;
101
102         public abstract void set_tracker_interval(int tracker_motion);
103 }