<Gauge Name="ADF Indicator">
 <Image Name="adf.bmp" ImageSizes="113,118"/>
 <Element>
  <MaskImage Name="adf_mask.bmp" ImageSizes="113,118" Luminous="Yes">
   <Axis X="56.5" Y="59"/>
  </MaskImage>
  <Image Name="adf_rose.bmp" ImageSizes="128,128" Luminous="Yes">
   <Axis X="64" Y="64"/>
  </Image>
  <Rotate>
   <Value>(L:ADFfail,bool) ! if{ (A:Plane heading degrees gyro, radians) /-/ } els{ (A:Plane heading degrees gyro, radians) /-/ (A:ADF1 radial, radians) + 2 / 237 + }</Value>
   <Delay DegreesPerSecond="180" />
  </Rotate>
 </Element>
 <Element>
  <Position X="56.5" Y="59" />
  <Image Name="adf_adf.bmp" ImageSizes="87,18" Luminous="Yes" PointsTo="South">
   <Axis X="43" Y="9" />
  </Image>
  <Rotate>
   <Value>(L:ADFfail,bool) ! if{ (A:ADF1 radial, radians) } els{ (A:ADF1 radial, radians) * 3 }</Value>
   <Delay DegreesPerSecond="180" />
  </Rotate>
 </Element>
</Gauge>
