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