<Gauge Name="fuel_check_rashod" Version="1.0">


<Element>
   <Select>
      <Value> 

(G:VAR1) 0 == if{ (A:FUEL TANK LEFT TIP QUANTITY, gallons) (>L:fuel_G1_summa, gallons) } 
		  (A:FUEL TANK LEFT TIP QUANTITY, gallons) (>L:fuel_D1_summa, gallons) } 
		  (A:FUEL TANK LEFT TIP QUANTITY, gallons) 3 / (>L:fuel_G1_rashod, gallons) }
		  (A:FUEL TANK LEFT TIP QUANTITY, gallons) 3 / (>L:fuel_D1_rashod, gallons) 1 (>G:VAR1) }


      </Value>
   </Select>
</Element>


<Element>
   <Select>
      <Value> 



(G:VAR3) 0 == if{ (L:fuel_G1_summa, gallons) (A:FUEL TANK LEFT TIP QUANTITY, gallons) - (>L:fuel_rashod, gallons) (A:FUEL TANK LEFT TIP QUANTITY, gallons) (>L:fuel_G1_summa, gallons) 1 (>G:VAR4) 0 (>L:s1, gallons) }

(L:AZS_fuel_bak1_glavny,bool) (G:VAR3) 0 == and if{ (L:fuel_G1_rashod, gallons) (L:fuel_rashod, gallons) - (>L:fuel_G1_rashod, gallons) 1 (>G:VAR3) }

(G:VAR4) 1 == if{ (L:s1, gallons) 10 &lt; 
	         if{ (L:s1, gallons) 1 + (>L:s1, gallons) }
		 els{ 0 (>G:VAR4) 0 (>G:VAR3) } }


      </Value>
   </Select>
</Element>


<Element>
   <Select>
      <Value> 



(G:VAR7) 0 == if{ (L:fuel_D1_summa, gallons) (A:FUEL TANK LEFT TIP QUANTITY, gallons) - (>L:fuel_rashod, gallons) (A:FUEL TANK LEFT TIP QUANTITY, gallons) (>L:fuel_D1_summa, gallons) 1 (>G:VAR8) 0 (>L:s2, gallons) }

(L:AZS_fuel_bak1_dopolnit1,bool) (G:VAR7) 0 == and if{ (L:fuel_D1_rashod, gallons) (L:fuel_rashod, gallons) - (>L:fuel_D1_rashod, gallons) 1 (>G:VAR7) }

(G:VAR8) 1 == if{ (L:s2, gallons) 10 &lt; 
	         if{ (L:s2, gallons) 1 + (>L:s2, gallons) }
		 els{ 0 (>G:VAR8) 0 (>G:VAR7) } }


      </Value>
   </Select>
</Element>



</Gauge>





