public void set_main_deploy(int new_main_deploy) {
main_deploy_value.setSelectedItem(AltosConvert.height.say(new_main_deploy));
main_deploy_value.setEnabled(new_main_deploy >= 0);
public void set_main_deploy(int new_main_deploy) {
main_deploy_value.setSelectedItem(AltosConvert.height.say(new_main_deploy));
main_deploy_value.setEnabled(new_main_deploy >= 0);
apogee_delay_value.setSelectedItem(Integer.toString(new_apogee_delay));
apogee_delay_value.setEnabled(new_apogee_delay >= 0);
}
apogee_delay_value.setSelectedItem(Integer.toString(new_apogee_delay));
apogee_delay_value.setEnabled(new_apogee_delay >= 0);
}
public void set_apogee_lockout(int new_apogee_lockout) {
apogee_lockout_value.setSelectedItem(Integer.toString(new_apogee_lockout));
apogee_lockout_value.setEnabled(new_apogee_lockout >= 0);
public void set_apogee_lockout(int new_apogee_lockout) {
apogee_lockout_value.setSelectedItem(Integer.toString(new_apogee_lockout));
apogee_lockout_value.setEnabled(new_apogee_lockout >= 0);
public void set_radio_calibration(int new_radio_calibration) {
radio_calibration_value.setVisible(new_radio_calibration >= 0);
public void set_radio_calibration(int new_radio_calibration) {
radio_calibration_value.setVisible(new_radio_calibration >= 0);
if (new_radio_enable >= 0) {
radio_enable_value.setSelected(new_radio_enable > 0);
radio_enable_value.setEnabled(true);
} else {
radio_enable_value.setSelected(true);
if (new_radio_enable >= 0) {
radio_enable_value.setSelected(new_radio_enable > 0);
radio_enable_value.setEnabled(true);
} else {
radio_enable_value.setSelected(true);
flight_log_max_value.setSelectedItem(flight_log_max_label(new_flight_log_max));
flight_log_max = new_flight_log_max;
set_flight_log_max_tool_tip();
flight_log_max_value.setSelectedItem(flight_log_max_label(new_flight_log_max));
flight_log_max = new_flight_log_max;
set_flight_log_max_tool_tip();
int new_freq = (int) Math.floor (AltosConvert.beep_value_to_freq(new_beep) + 0.5);
for (int i = 0; i < beep_values.length; i++)
if (new_beep == AltosConvert.beep_freq_to_value(Integer.parseInt(beep_values[i]))) {
int new_freq = (int) Math.floor (AltosConvert.beep_value_to_freq(new_beep) + 0.5);
for (int i = 0; i < beep_values.length; i++)
if (new_beep == AltosConvert.beep_freq_to_value(Integer.parseInt(beep_values[i]))) {
tracker_motion_value.setEnabled(true);
tracker_motion_value.setSelectedItem(AltosConvert.height.say(tracker_motion));
}
tracker_motion_value.setEnabled(true);
tracker_motion_value.setSelectedItem(AltosConvert.height.say(tracker_motion));
}
tracker_interval_value.setEnabled(true);
tracker_interval_value.setSelectedItem(String.format("%d", tracker_interval));
}
tracker_interval_value.setEnabled(true);
tracker_interval_value.setSelectedItem(String.format("%d", tracker_interval));
}