<Gauge Name="Smoke" Version="1.0">
   <Update Frequency="6"/>
   <Element>
      <Select>
         <Value>
                 }
                  (A:TURB ENG1 N1,percent) 20 &gt; (A:TURB ENG2 N1,percent) 20 &gt; || (A:GENERAL ENG1 THROTTLE LEVER POSITION,percent) 65 &gt; (A:GENERAL ENG2 THROTTLE LEVER POSITION,percent) 65 &gt; || &amp;&amp;
               if{ 
                  (A:LIGHT RECOGNITION,bool) ! (A:SIM ON GROUND,bool) ! &amp;&amp;
                  if{ (&gt;K:TOGGLE_RECOGNITION_LIGHTS) }
                  }
               els{
                  (A:LIGHT RECOGNITION,bool)  (A:SIM ON GROUND,bool) ! &amp;&amp;
                  if{ (&gt;K:TOGGLE_RECOGNITION_LIGHTS) }
                  }
                  (A:TURB ENG1 N1,percent) 20 &gt; (A:TURB ENG2 N1,percent) 20 &gt; || (A:GENERAL ENG1 THROTTLE LEVER POSITION,percent) 28 &gt; (A:GENERAL ENG2 THROTTLE LEVER POSITION,percent) 28 &gt; || &amp;&amp;
               if{ 
                  (A:LIGHT RECOGNITION,bool) ! (A:SIM ON GROUND,bool) &amp;&amp;
                  if{ (&gt;K:TOGGLE_RECOGNITION_LIGHTS) }
                  }
               els{
                  (A:LIGHT RECOGNITION,bool)  (A:SIM ON GROUND,bool)  &amp;&amp;
                  if{ (&gt;K:TOGGLE_RECOGNITION_LIGHTS) }
                   }
            </Value>
        </Select>
   </Element>
</Gauge>

