X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fdme.hxx;h=03ecca231a12152ee5bfe7b0ed3cda174bc3263c;hb=bb2b03c7e392e107aeaf7dbc4eecc59064b28512;hp=39fbf2eaab434d5c25013919d2a4995c596fc7a4;hpb=980012e1682fdb27c9b9ec27edea0b549d603f9d;p=flightgear.git diff --git a/src/Instrumentation/dme.hxx b/src/Instrumentation/dme.hxx index 39fbf2eaa..03ecca231 100644 --- a/src/Instrumentation/dme.hxx +++ b/src/Instrumentation/dme.hxx @@ -25,23 +25,23 @@ * /position/latitude-deg * /position/altitude-ft * /systems/electrical/outputs/dme - * /instrumentation/dme/serviceable - * /instrumentation/dme/frequencies/source - * /instrumentation/dme/frequencies/selected-mhz + * /instrumentation/"name"/serviceable + * /instrumentation/"name"/frequencies/source + * /instrumentation/"name"/frequencies/selected-mhz * * Output properties: * - * /instrumentation/dme/in-range - * /instrumentation/dme/indicated-distance-nm - * /instrumentation/dme/indicated-ground-speed-kt - * /instrumentation/dme/indicated-time-kt + * /instrumentation/"name"/in-range + * /instrumentation/"name"/indicated-distance-nm + * /instrumentation/"name"/indicated-ground-speed-kt + * /instrumentation/"name"/indicated-time-kt */ class DME : public SGSubsystem { public: - DME (); + DME ( SGPropertyNode *node ); virtual ~DME (); virtual void init (); @@ -70,9 +70,13 @@ private: double _time_before_search_sec; bool _transmitter_valid; - Point3D _transmitter; + SGVec3d _transmitter; double _transmitter_elevation_ft; double _transmitter_range_nm; + double _transmitter_bias; + + string _name; + int _num; };