<?xml version="1.0"?>

<!--
Based on: Cessna 310 panel.
          November 2001
          John Check <j4strngs@rockfish.net>
_______________________________________________________________________

This is a panel configuration file for the open-source flight
simulator FlightGear (www.flightgear.org).  The file is an XML-encoded
FlightGear property list defining the panel's background texture and
the location (and optionally, size) of the instruments that will
appear on the panel.

Each instrument is, itself, defined in an XML-encoded property list
in a separate file.

Co-ordinates are relative to the *bottom* left corner of the screen
(as in OpenGL).  The total FlightGear window is always considered to
be 1024x768, whatever its actual display size on the screen.  All
paths are relative to $FG_ROOT.

Note that the name of the element defining each instrument must be
different, or else instrument definitions will be overwritten:
that's not particularly XML-ish, but that's how property lists
work in FlightGear right now.

Each instrument has its own preferred width and height, but you can
override those by providing <w>..</w> and <h>..</h> properties with the
<x>...</x> and <y>...</y> properties.

Hacked by Lee Elliott for the B-52F mock panel
Enhanced for FG Version 2020.3 by Ron Horn <rchiicz@gmail.com>
-->

<!DOCTYPE PropertyList SYSTEM "panel.dtd">

<PropertyList>

 <name>B-52 F mock VFR Panel</name>
 <background>Aircraft/B-52F/Panels/Textures/panel-trans-mini-bg.rgb</background>
 <w>1424</w>
 <h>358</h>
 <y-offset>0</y-offset>
 <view-height>340</view-height>

 <instruments>

  <instrument include="Aircraft/Instruments/clock.xml">
   <name>Chronometer</name>
   <x>56</x>
   <y>280</y>
   <w>90</w>
   <h>90</h>
  </instrument>

  <instrument include="Aircraft/Instruments/dme.xml">
   <name>DME Display</name>
   <x>172</x>
   <y>280</y>
   <w>100</w>
   <h>50</h>
  </instrument>

  <!-- Six Pack Instruments -->
  
  <instrument include="Aircraft/Instruments/asi-590-knot-a4c.xml">
   <name>Indicated Airspeed</name>
   <x>56</x>
   <y>170</y>
   <w>120</w>
   <h>120</h>
  </instrument>

  <instrument include="Instruments/attitude-indicator-hi.xml">
   <name>Attitude Indicator</name>
   <x>172</x>
   <y>170</y>
   <w>120</w>
   <h>120</h>
  </instrument>

  <instrument include="Aircraft/Instruments/altimeter.xml">
   <name>Altimeter</name>
   <x>290</x>
   <y>170</y>
   <w>120</w>
   <h>120</h>
  </instrument>
  
  <instrument include="Aircraft/Instruments/turn-hi.xml">
   <name>Turn Coordinator</name>
   <x>56</x>
   <y>56</y>
   <w>120</w>
   <h>120</h>
  </instrument>

  <instrument include="Instruments/hsi-hi.xml">
   <name>Horizontal Situation Indicator</name>
   <x>172</x>
   <y>56</y>
   <w>120</w>
   <h>120</h>
  </instrument>

  <instrument include="Aircraft/Instruments/vertical-hi.xml">
   <name>Vertical Speed</name>
   <x>290</x>
   <y>56</y>
   <w>120</w>
   <h>120</h>
  </instrument>

  <!-- Secondary Nav Instruments -->

  <instrument include="Instruments/adf-hi.xml">
   <name>ADF Gauge</name>
   <x>406</x>
   <y>170</y>
   <w>120</w>
   <h>120</h>
  </instrument>

  <instrument include="Instruments/nav1-hi.xml">
   <name>VOR 2 Gauge</name>
   <params>
    <nav-to-flag>/instrumentation/nav[1]/to-flag</nav-to-flag>
    <nav-from-flag>/instrumentation/nav[1]/from-flag</nav-from-flag>
    <nav-radial-selected>/instrumentation/nav[1]/radials/selected-deg</nav-radial-selected>
    <nav-gs-needle-deflection>/instrumentation/nav[1]/gs-needle-deflection</nav-gs-needle-deflection>
    <nav-heading-needle-deflection>/instrumentation/nav[1]/heading-needle-deflection</nav-heading-needle-deflection>
    <nav-has-gs-needle>/sim/instrument-options/nav[1]/has-gs-needle</nav-has-gs-needle>
    <nav-needles-pivot>/sim/instrument-options/nav[1]/needles-pivot</nav-needles-pivot>
   </params>
   <x>406</x>
   <y>60</y>
   <w>120</w>
   <h>120</h>
  </instrument>

  <!-- controls visual feedback cluster -->

  <instrument include="Aircraft/Instruments/gear-indicator.xml">
   <name>Gear Indicator Light</name>
   <x>554</x>
   <y>107</y>
   <w>40</w>
   <h>17</h>
  </instrument>

  <instrument include="Aircraft/Instruments/brakes.xml">
   <name>Brake Indicator Light</name>
   <x>510</x>
   <y>108</y>
   <w>40</w>
   <h>17</h>
  </instrument>

  <instrument include="Aircraft/Instruments/controls.xml">
   <name>Control Position Indicators</name>
   <x>532</x>
   <y>48</y>
   <w>90</w>
   <h>90</h>
  </instrument>

  <instrument include="Aircraft/Instruments/aoa-indexer.xml">
   <name>AoA</name>
   <x>555</x>
   <y>47</y>
   <w>20</w>
   <h>65</h>
  </instrument>

  <!-- Mag compass stack -->

  <instrument include="Aircraft/Instruments/magcompass.xml">
   <name>Magnetic Compass</name>
   <x>918</x>
   <y>359</y>
  </instrument>

  <instrument include="Instruments/digital-mag-heading.xml">
   <name>Digital Magnetic Heading</name>
   <x>918</x>
   <y>334</y>
  </instrument>

  <!-- radio stack -->

  <instrument include="Aircraft/Instruments/markerbeacon.xml">
   <name>Marker Beacon Indicators</name>
   <x>798</x>
   <y>335</y>
   <w>70</w>
   <h>22</h>
  </instrument>

  <instrument include="Aircraft/Instruments/navcom-kx155.xml">
   <name>NavCom 1 Radio</name>
   <x>890</x>
   <y>282</y>
  </instrument>

  <instrument include="Aircraft/Instruments/navcom-kx155.xml">
   <name>NavCom 2 Radio</name>
   <params>
    <comm-freq-selected-prop>/instrumentation/comm[1]/frequencies/selected-mhz</comm-freq-selected-prop>
    <comm-freq-standby-prop>/instrumentation/comm[1]/frequencies/standby-mhz</comm-freq-standby-prop>
    <nav-freq-selected-prop>/instrumentation/nav[1]/frequencies/selected-mhz</nav-freq-selected-prop>
    <nav-freq-standby-prop>/instrumentation/nav[1]/frequencies/standby-mhz</nav-freq-standby-prop>
    <nav-morse-id-volume-prop>/instrumentation/nav[1]/volume</nav-morse-id-volume-prop>
    <nav-morse-ident-toggle-prop>/instrumentation/nav[1]/ident</nav-morse-ident-toggle-prop>
   </params>
   <x>890</x>
   <y>196</y>
  </instrument>

  <instrument include="Aircraft/Instruments/adf-radio.xml">
   <name>ADF Radio</name>
   <x>890</x>
   <y>122</y>
  </instrument>

  <instrument include="Aircraft/Instruments/autopilot.xml">
   <name>Autopilot</name>
   <x>890</x>
   <y>79</y>
  </instrument>

<!-- end radio stack -->

  <instrument include="Instruments/throttle-quadrant.xml">
   <name>Engine 0 throttle quadrant</name>
   <params>
    <engine-throttle-select>/controls/engines/engine[0]/throttle</engine-throttle-select>
   </params>
   <x>600</x>
   <y>30</y>
   <w>12</w>
   <h>50</h>
  </instrument>

  <instrument include="Instruments/throttle-quadrant.xml">
   <name>Engine 1 throttle quadrant</name>
   <params>
    <engine-throttle-select>/controls/engines/engine[1]/throttle</engine-throttle-select>
   </params>
   <x>615</x>
   <y>30</y>
   <w>12</w>
   <h>50</h>
  </instrument>

  <instrument include="Instruments/throttle-quadrant.xml">
   <name>Engine 2 throttle quadrant</name>
   <params>
    <engine-throttle-select>/controls/engines/engine[2]/throttle</engine-throttle-select>
   </params>
   <x>630</x>
   <y>30</y>
   <w>12</w>
   <h>50</h>
  </instrument>

  <instrument include="Instruments/throttle-quadrant.xml">
   <name>Engine 3 throttle quadrant</name>
   <params>
    <engine-throttle-select>/controls/engines/engine[3]/throttle</engine-throttle-select>
   </params>
   <x>645</x>
   <y>30</y>
   <w>12</w>
   <h>50</h>
  </instrument>

  <instrument include="Instruments/throttle-quadrant.xml">
   <name>Engine 4 throttle quadrant</name>
   <params>
    <engine-throttle-select>/controls/engines/engine[4]/throttle</engine-throttle-select>
   </params>
   <x>660</x>
   <y>30</y>
   <w>12</w>
   <h>50</h>
  </instrument>

  <instrument include="Instruments/throttle-quadrant.xml">
   <name>Engine 5 throttle quadrant</name>
   <params>
    <engine-throttle-select>/controls/engines/engine[5]/throttle</engine-throttle-select>
   </params>
   <x>675</x>
   <y>30</y>
   <w>12</w>
   <h>50</h>
  </instrument>

  <instrument include="Instruments/throttle-quadrant.xml">
   <name>Engine 6 throttle quadrant</name>
   <params>
    <engine-throttle-select>/controls/engines/engine[6]/throttle</engine-throttle-select>
   </params>
   <x>690</x>
   <y>30</y>
   <w>12</w>
   <h>50</h>
  </instrument>

  <instrument include="Instruments/throttle-quadrant.xml">
   <name>Engine 7 throttle quadrant</name>
   <params>
    <engine-throttle-select>/controls/engines/engine[7]/throttle</engine-throttle-select>
   </params>
   <x>705</x>
   <y>30</y>
   <w>12</w>
   <h>50</h>
  </instrument>

  <instrument include="Instruments/flap-quadrant.xml">
   <name>Flaps quadrant</name>
   <params>
    <flaps-select>/controls/flight/flaps</flaps-select>
   </params>
   <x>720</x>
   <y>30</y>
   <w>12</w>
   <h>50</h>
  </instrument>

  <instrument include="Instruments/reheat-quadrant.xml">
   <name>Engine 0 reheat quadrant</name>
   <params>
    <engine-reheat-select>/controls/engines/engine[0]/afterburner</engine-reheat-select>
   </params>
   <x>735</x>
   <y>30</y>
   <w>12</w>
   <h>50</h>
  </instrument>

  <!-- AP Instruments -->

  <instrument include="Instruments/text-autopilot.xml">
   <name>AP display</name>
   <params>
    <ah-select>autopilot/locks/altitude</ah-select>
    <tf-select>autopilot/locks/altitude</tf-select>
    <to-select>autopilot/locks/altitude</to-select>
    <gs-select>autopilot/locks/altitude</gs-select>
   </params>
   <x>864</x>
   <y>55</y>
   <w>200</w>
   <h>20</h>
  </instrument>

  <instrument include="Instruments/digital-ap-speed-kt.xml">
   <name>AP Speed-Kt Instruiment</name>
   <params>
    <kias-disp>/autopilot/settings/target-speed-kt</kias-disp>
    <kias-ctrl>/autopilot/settings/target-speed-kt</kias-ctrl>
    <mach-disp>/autopilot/settings/target-speed-mach</mach-disp>
    <mach-ctrl>/autopilot/settings/target-speed-mach</mach-ctrl>
   </params>
   <x>827</x>
   <y>22</y>
   <w>124</w>
   <h>40</h>
  </instrument>

 </instruments>

</PropertyList>
