<!-- Hypoxia settings-->
<Element>
<Select>
<Value>(L:Cabin_Alt_Ind, number) 27000 > (L:Cabin_Alt_Ind, number) 30000 < and (L:Oxy_Charged,bool) 1 == and
(L:oxygen mask not pulled,number) 0 == and
if{ 1 (>L:emergency,bool) (P:local time,seconds) 180 + (>L:oxygen mask not pulled,number) }</Value>
</Select>
</Element>
<Element>
<Select>
<Value>(L:Cabin_Alt_Ind, number) 30000 > (L:Cabin_Alt_Ind, number) 35000 < and (L:Oxy_Charged,bool) 1 == and
(L:oxygen mask not pulled,number) 0 == and
if{ 1 (>L:emergency,bool) (P:local time,seconds) 90 + (>L:oxygen mask not pulled,number) }</Value>
</Select>
</Element>
<Element>
<Select>
<Value>(L:Cabin_Alt_Ind, number) 35000 > (L:Cabin_Alt_Ind, number) 40000 < and (L:Oxy_Charged,bool) 1 == and
(L:oxygen mask not pulled,number) 0 == and
if{ 1 (>L:emergency,bool) (P:local time,seconds) 30 + (>L:oxygen mask not pulled,number) }</Value>
</Select>
</Element>
<Element>
<Select>
<Value>(L:Cabin_Alt_Ind, number) 40000 > (L:Oxy_Charged,bool) 1 == and (L:oxygen mask not pulled,number) 0 == and
if{ 1 (>L:emergency,bool) (P:local time,seconds) 12 + (>L:oxygen mask not pulled,number) }</Value>
</Select>
</Element>
<!-- Oxygen Mask not Pulled in time -->
<Element>
<Select>
<Value>(L:blackout,number) 0 == (L:oxygen mask not pulled,number) 0 > and (L:Don_Mask,number) 0 == and (L:emergency,bool) 1 == and
if{ (L:oxygen mask not pulled,number) (P:local time, seconds) >
if{ 280 (>K:PANEL_ID_OPEN) } els{ 1 (>L:blackout,number) 11025 (>K:PANEL_ID_OPEN) 1 (>K:SOUND_OFF) } }</Value>
</Select>
</Element>
<!-- Hypoxia recovery-->
<Element>
<Select>
<Value>(L:blackout,number) 1 == (L:emergency,bool) 1 == and (L:Cabin_Alt_Ind, number) 15000 < and
if{ 0 (>L:blackout,number) 0 (>L:emergency,bool) 1 (>K:SOUND_ON) 11025 (>K:PANEL_ID_CLOSE) }</Value>
</Select>
</Element>
<Gauge Name="Blackout">
<Element>
<Select>
<Value>(L:Blackout,number) 1 == </Value>
<Case Value="1">
<Image Name="Blackout256.bmp"/>
</Case>
</Select>
</Element>
</Gauge>