#include <plib/netChat.h>
+#include <simgear/timing/timestamp.hxx>
+
#include <Main/fg_props.hxx>
#include "protocol.hxx"
int lock_fd;
int analog_in_fd;
+ int lamps_fd;
int radios_fd;
int stepper_fd;
int switches_fd;
char lock_file[256];
char analog_in_file[256];
+ char lamps_file[256];
char radios_file[256];
char stepper_file[256];
char switches_file[256];
SGPropertyNode *com2_freq, *com2_stby_freq;
SGPropertyNode *nav1_freq, *nav1_stby_freq;
SGPropertyNode *nav2_freq, *nav2_stby_freq;
+ SGPropertyNode *adf_adf_btn, *adf_bfo_btn;
+ SGPropertyNode *adf_on_off_vol;
SGPropertyNode *adf_freq, *adf_stby_freq;
+ SGPropertyNode *adf_stby_mode, *adf_timer_mode;
+ SGPropertyNode *adf_count_mode, *adf_flight_timer, *adf_elapsed_timer;
+ SGPropertyNode *inner, *middle, *outer;
int dme_switch;
+ SGTimeStamp last_time_stamp;
+ double et_flash_time;
+ bool et_flash;
+
bool do_analog_in();
+ bool do_lights( double dt );
bool do_radio_switches();
bool do_radio_display();
bool do_steppers();
public:
- inline FGATC610x() { }
+ FGATC610x():
+ et_flash_time(0.0)
+ {
+ }
- inline ~FGATC610x() { }
+ ~FGATC610x() { }
bool open();