<Gauge Name="Doorcontrol" Version="0.1">
<Update>
(L:Monitor_door_sound, bool)
if{ (L:Sound_door,enum) ! (A:CANOPY OPEN,enum) 0 == and if{ 0 (>L:Monitor_door_sound, bool) 1 (>L:Sound_mes1,enum) (P:local time, seconds) 12.5 + (>L:CAB LIGHT 2,number) and }
}
</Update>
[COLOR="Red"]
<Element>
<Visible>(A:CANOPY OPEN,enum) 0 > (A:CANOPY OPEN,enum) 1 < && </Visible>
<Image Name="BLUE_ON2.bmp" Bright="Yes"/>
<Position X="3.5" Y="0.5"/>
</Element>
[/COLOR]
<Element>
<Visible>(A:CANOPY OPEN,enum) 1== (L:BUS_SWITCH,number) (P:local time, seconds) < and (L:doors_armed,bool) and</Visible>
<Image Name="RED_ON.bmp" Bright="Yes"/>
<Position X="0.5" Y="35.5"/>
</Element>
<Mouse>
<Tooltip>Open/Close Pass Doors</Tooltip>
<!-- Main Exit - Button -->
<Area Left="6" Top="6" Width="30" Height="65">
[COLOR="Red"]<Click> (>K:TOGGLE_AIRCRAFT_EXIT)[/COLOR]
1 (>L:Sound_door,enum) 1 (>L:Monitor_door_sound, bool)
1 (>L:nose_access_open,bool) (L:doors_armed,bool) ! (>L:doors_armed,bool) (L:doors_armed,bool) 1 ==
if{ (P:local time, seconds) 480.00 + (>L:front_galley_lit,number)
(P:local time, seconds) 478.50 + (>L:cargo,number) (P:local time, seconds) 720.00 + (>L:rear_galley_lit,number)
(P:local time, seconds) 718.50 + (>L:cargo2,number) (P:local time, seconds) 900.00 + (>L:front_hold_lit,number)
(P:local time, seconds) 898.50 + (>L:cargo3,number)
(P:local time, seconds) 945.00 + (>L:rear_hold_lit,number)
(P:local time, seconds) 943.50 + (>L:cargo4,number) }[COLOR="Red"]</Click>[/COLOR]
<Cursor Type="Hand"/>
</Area>
</Mouse>
</Gauge>