Bump java library versions
[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_6;
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_altitude_32(int altitude_32);
29
30         public abstract void set_main_deploy(int new_main_deploy);
31
32         public abstract int main_deploy() throws AltosConfigDataException;
33
34         public abstract void set_apogee_delay(int new_apogee_delay);
35
36         public abstract int apogee_delay() throws AltosConfigDataException;
37
38         public abstract void set_apogee_lockout(int new_apogee_lockout);
39
40         public abstract int apogee_lockout() throws AltosConfigDataException;
41
42         public abstract void set_radio_frequency(double new_radio_frequency);
43
44         public abstract double radio_frequency() throws AltosConfigDataException;
45
46         public abstract void set_radio_calibration(int new_radio_calibration);
47
48         public abstract int radio_calibration() throws AltosConfigDataException;
49
50         public abstract void set_radio_enable(int new_radio_enable);
51
52         public abstract int radio_enable();
53
54         public abstract void set_callsign(String new_callsign);
55
56         public abstract String callsign();
57
58         public abstract void set_telemetry_rate(int new_telemetry_rate);
59
60         public abstract int telemetry_rate() throws AltosConfigDataException;
61
62         public abstract void set_flight_log_max(int new_flight_log_max);
63
64         public abstract void set_flight_log_max_enabled(boolean enable);
65
66         public abstract int flight_log_max() throws AltosConfigDataException;
67
68         public abstract void set_flight_log_max_limit(int flight_log_max_limit);
69
70         public abstract void set_ignite_mode(int new_ignite_mode);
71
72         public abstract int ignite_mode();
73
74         public abstract void set_pad_orientation(int new_pad_orientation);
75
76         public abstract int pad_orientation();
77
78         public abstract void set_pyros(AltosPyro[] new_pyros);
79
80         public abstract AltosPyro[] pyros() throws AltosConfigDataException;
81
82         public abstract void set_pyro_firing_time(double new_pyro_firing_time);
83
84         public abstract double pyro_firing_time() throws AltosConfigDataException;
85
86         public abstract int aprs_interval() throws AltosConfigDataException;
87
88         public abstract void set_aprs_interval(int new_aprs_interval);
89
90         public abstract int aprs_ssid() throws AltosConfigDataException;
91
92         public abstract void set_aprs_ssid(int new_aprs_ssid);
93
94         public abstract int beep() throws AltosConfigDataException;
95
96         public abstract void set_beep(int new_beep);
97
98         public abstract int tracker_motion() throws AltosConfigDataException;
99
100         public abstract void set_tracker_motion(int tracker_motion);
101
102         public abstract int tracker_interval() throws AltosConfigDataException;
103
104         public abstract void set_tracker_interval(int tracker_motion);
105 }