<!-- КУРС Mode-->
<Element>
<Visible>(L:MFD SWITCH, enum) 2 ==</Visible>
<Position X="0" Y="0"/>
<Image Name="KINO_KURS_Background.bmp" Bright="Yes" ImageSizes="299,299"/>
<Container/>
<Macro Name="c">C:fs9gps</Macro>
<Macro Name="position">
(A:PLANE LATITUDE,RADIANS) (>@c:GeoCalcLatitude1,RADIANS)
(A:PLANE LONGITUDE,RADIANS) (>@c:GeoCalcLongitude1,RADIANS)
(@c:FlightPlanIsActiveApproach)
if{
(@c:FlightPlanWaypointApproachLatitude,RADIANS) (>@c:GeoCalcLatitude2,RADIANS)
(@c:FlightPlanWaypointApproachLongitude,RADIANS) (>@c:GeoCalcLongitude2,RADIANS)
}
els{
(@c:FlightPlanWaypointLatitude,RADIANS) (>@c:GeoCalcLatitude2,RADIANS)
(@c:FlightPlanWaypointLongitude,RADIANS) (>@c:GeoCalcLongitude2,RADIANS)
}
</Macro>
<Macro Name="shift1">
(@c:GeoCalcBearing,radians) (A:PLANE HEADING DEGREES TRUE,radians) -
cos (@c:GeoCalcDistance,nmiles) (L:ND_ZOOM, number) * * -1 *
</Macro>
<Macro Name="shift2">
(@c:GeoCalcBearing,radians) (A:PLANE HEADING DEGREES TRUE,radians) -
sin (@c:GeoCalcDistance,nmiles) (L:ND_ZOOM, number) * *
</Macro>
<Macro Name="CalculateZoomFactor"> 960000 480000 240000 120000 60000 30000 15000 7500 0 8 @1 case</Macro>
<Macro Name="eta">
%((@c:FlightPlanWaypointETA,hours) flr 100 % )%!02d!%((@c:FlightPlanWaypointETA,minutes) flr 60 %)%!02d!z
</Macro>
<!-- КАРТА -->
<Element Name="Map">
<Visible>(L:ND_ZOOM, number) 0 ></Visible>
<MaskImage Name="KINO_MASK.bmp" ImageSizes="299,299">
</MaskImage>
<Position X="0" Y="0"/>
<CustomDraw Name="fs9gps:map" X="299" Y="299"
FlightPlanLineWidth="2" Bright="Yes"
ActiveColorLayerFlightPlan="0x7010B0"
PastColorLayerFlightPlan="0xffffff"
ColorLayerFlightPlan="0x7010B0"
ColorLayerVORs="0x00ff00"
ColorLayerNDBs="0x00ff00"
ColorLayerIntersectionsEnroute="0xffffff"
ColorLayerIntersectionsTerminal="0xffffff"
ColorLayerIntersections="0xffffff"
CenterX="150" CenterY="260">
<Zoom>960000 480000 240000 120000 60000 30000 15000 7500 8 (L:ND_ZOOM, number) case</Zoom>
<Latitude>(A:GPS POSITION LAT, Radians)</Latitude>
<Longitude>(A:GPS POSITION LON, Radians)</Longitude>
<Heading>(A:GPS GROUND TRUE HEADING, Radians)</Heading> //GPS GROUND TRUE TRACK
<DetailLayerTerrain>1</DetailLayerTerrain>
<DetailLayerAirports>1 2 2 3 3 4 4 5 8 (L:ND_ZOOM, number) case</DetailLayerAirports>
<DetailLayerFlightPlan>-1</DetailLayerFlightPlan>
<LayerFlightPlan>1</LayerFlightPlan>
<LayerAirports>(L:ND_AIRPORT, bool)</LayerAirports>
<LayerVORs>(L:ND_VOR, bool)</LayerVORs>
<LayerNDBs>(L:ND_NDB, bool)</LayerNDBs>
<LayerIntersections>(L:ND_WPT, bool)</LayerIntersections>
<ObjectDetailLayerAirports>0x4F 0x4F 0x4F 0x4F 0x4F 0x4F 0x4F 0x4F (L:ND_ZOOM, number) case</ObjectDetailLayerAirports>
<ObjectDetailLayerFlightPlan>15 15 15 15 15 15 15 15 (L:ND_ZOOM, number) case</ObjectDetailLayerFlightPlan>
<TextDetailLayerAirports>(L:ND_AIRPORT, bool)</TextDetailLayerAirports>
<TextDetailLayerVORs>(L:ND_VOR, bool)</TextDetailLayerVORs>
<TextDetailLayerNDBs>(L:ND_NDB, bool)</TextDetailLayerNDBs>
<TextDetailLayerIntersections>(L:ND_WPT, bool)</TextDetailLayerIntersections>
<TextColorLayerIntersections>0xffffff</TextColorLayerIntersections>
<TextColorLayerAirports>0xffffff</TextColorLayerAirports>
<TextColorLayerNDBs>0x00ff00</TextColorLayerNDBs>
<TextColorLayerFlightPlan>0xffffff</TextColorLayerFlightPlan>
<ColorLayerAirportsTowered>0xffffff</ColorLayerAirportsTowered>
<LayerVehicles>1</LayerVehicles>
<DetailLayerVehicles>2</DetailLayerVehicles>
<TextDetailLayerVehicles>1</TextDetailLayerVehicles>
<ObjectDetailLayerVehicles>0x2 0x4 0x10</ObjectDetailLayerVehicles>
<ColorLayerVehicles>(@g:setup_ColorTerrain) 1 == if{ 0x006666 } els{ 0x44ffff }</ColorLayerVehicles>
<TextColorLayerVehicles>0xffffff</TextColorLayerVehicles>
<TrackUp>1</TrackUp>
</CustomDraw>
<Clip/>
</Element>
<!-- ДУГА -->
<Element>
<Position X="149" Y="260" />
<CustomDraw Name="fs9gps:rose" X="299" Y="430" CenterX="149" CenterY="214" Radius="214" LineWidth="2" Font="Tu2X4_VSS" Bold="Yes" FontSize="10" BigFontSize="9" Bright="Yes">
<Color>0xF0D0D0</Color>
<Heading>(A:PLANE HEADING DEGREES MAGNETIC, Radians)</Heading>
<Pivot X="149" Y="214" />
</CustomDraw>
</Element>
WP -1
<Element>
<FormattedText X="35" Y="10" Bright="Yes" FontSize="8" Font="Tu2X4_VSS" LineSpacing="8" Adjust="left" Color="0xffffff" VerticalAdjust="Center">
<String>\{bo}
%((@c:FlightPlanIsActiveApproach))
%{if}%((@c:FlightPlanActiveApproachWaypoint) s0 1 - (>@c:FlightPlanWaypointApproachIndex) @position)
%((@c:FlightPlanWaypointApproachType))%{case}%{:1}%((@c:FlightPlanWaypointApproachName))%!s!%{:2}PROC.TURN L%{:3}PROC.TURN R%{:4}DME ARC L%{:5}DME ARC R%{:6}HOLD L%{:7}HOLD R%{:8}%((@c:FlightPlanWaypointApproachTarget,nmiles))%!0.1f! NM%{:9}%((@c:FlightPlanWaypointApproachTarget,feet))%!d! FT%{:10}MAN SEQ%{:11}%((@c:FlightPlanWaypointApproachName))%!s!%{end}
%{else}%((@c:FlightPlanActiveWaypoint) s0 1 - (>@c:FlightPlanWaypointIndex) @position)
%((@c:FlightPlanWaypointIdent))%!s!
%{end}
</String>
<Axis X="-10" Y="4"/>
</FormattedText>
<Element>
<Circle Color="0xffffff" Bright="Yes" Radius="2" LineWidth="1"></Circle>
<Clip/>
</Element>
<Shift>
<Value>@shift1</Value>
<Nonlinearity>
<Item Value="-20" Y= "60"/>
<Item Value= "0" Y="160"/>
<Item Value= "20" Y="260"/>
</Nonlinearity>
</Shift>
<Shift>
<Value>@shift2</Value>
<Nonlinearity>
<Item Value="-20" X= "0"/>
<Item Value= "0" X="127"/>
<Item Value= "20" X="254"/>
</Nonlinearity>
</Shift>
<Clip/>
</Element>
WP Active
<Element>
<FormattedText X="35" Y="10" Bright="Yes" FontSize="8" Font="Tu2X4_VSS" LineSpacing="8" Adjust="left" Color="Magenta" VerticalAdjust="Center">
<String>\{bo}
%((@c:FlightPlanIsActiveApproach))
%{if}%(l0 (>@c:FlightPlanWaypointApproachIndex) @position)
%((@c:FlightPlanWaypointApproachType))%{case}%{:1}%((@c:FlightPlanWaypointApproachName))%!s!%{:2}PROC.TURN L%{:3}PROC.TURN R%{:4}DME ARC L%{:5}DME ARC R%{:6}HOLD L%{:7}HOLD R%{:8}%((@c:FlightPlanWaypointApproachTarget,nmiles))%!0.1f! NM%{:9}%((@c:FlightPlanWaypointApproachTarget,feet))%!d! FT%{:10}MAN SEQ%{:11}%((@c:FlightPlanWaypointApproachName))%!s!%{end}
%{else}%(l0 (>@c:FlightPlanWaypointIndex) @position)
%((@c:FlightPlanWaypointIdent))%!s!
%{end}
</String>
<Axis X="-10" Y="4"/>
</FormattedText>
<Element>
<Circle Color="Magenta" Bright="Yes" Radius="2" LineWidth="1"></Circle>
<Clip/>
</Element>
<Shift>
<Value>@shift1</Value>
<Nonlinearity>
<Item Value="-20" Y= "55"/>
<Item Value= "0" Y="160"/>
<Item Value= "20" Y="265"/>
</Nonlinearity>
</Shift>
<Shift>
<Value>@shift2</Value>
<Nonlinearity>
<Item Value="-20" X= "22"/>
<Item Value= "0" X="127"/>
<Item Value= "20" X="232"/>
</Nonlinearity>
</Shift>
<Clip/>
</Element>
WP 1
<Element>
<FormattedText X="35" Y="10" Bright="Yes" FontSize="8" Font="Tu2X4_VSS" LineSpacing="8" Adjust="left" Color="0xffffff" VerticalAdjust="Center">
<String>\{bo}
%((@c:FlightPlanIsActiveApproach))
%{if}%(l0 1 + (>@c:FlightPlanWaypointApproachIndex) @position)
%((@c:FlightPlanWaypointApproachType))%{case}%{:1}%((@c:FlightPlanWaypointApproachName))%!s!%{:2}PROC.TURN L%{:3}PROC.TURN R%{:4}DME ARC L%{:5}DME ARC R%{:6}HOLD L%{:7}HOLD R%{:8}%((@c:FlightPlanWaypointApproachTarget,nmiles))%!0.1f! NM%{:9}%((@c:FlightPlanWaypointApproachTarget,feet))%!d! FT%{:10}MAN SEQ%{:11}%((@c:FlightPlanWaypointApproachName))%!s!%{end}
%{else}%(l0 1 + (>@c:FlightPlanWaypointIndex) @position)
%((@c:FlightPlanWaypointIdent))%!s!
%{end}
</String>
<Axis X="-10" Y="4"/>
</FormattedText>
<Element>
<Circle Color="0xffffff" Bright="Yes" Radius="2" LineWidth="1"></Circle>
<Clip/>
</Element>
<Shift>
<Value>@shift1</Value>
<Nonlinearity>
<Item Value="-20" Y= "55"/>
<Item Value= "0" Y="160"/>
<Item Value= "20" Y="265"/>
</Nonlinearity>
</Shift>
<Shift>
<Value>@shift2</Value>
<Nonlinearity>
<Item Value="-20" X= "22"/>
<Item Value= "0" X="127"/>
<Item Value= "20" X="232"/>
</Nonlinearity>
</Shift>
<Clip/>
</Element>
WP 2
<Element>
<FormattedText X="35" Y="10" Bright="Yes" FontSize="8" Font="Tu2X4_VSS" LineSpacing="8" Adjust="left" Color="0xffffff" VerticalAdjust="Center">
<String>\{bo}
%((@c:FlightPlanIsActiveApproach))
%{if}%(l0 2 + (>@c:FlightPlanWaypointApproachIndex) @position)
%((@c:FlightPlanWaypointApproachType))%{case}%{:1}%((@c:FlightPlanWaypointApproachName))%!s!%{:2}PROC.TURN L%{:3}PROC.TURN R%{:4}DME ARC L%{:5}DME ARC R%{:6}HOLD L%{:7}HOLD R%{:8}%((@c:FlightPlanWaypointApproachTarget,nmiles))%!0.1f! NM%{:9}%((@c:FlightPlanWaypointApproachTarget,feet))%!d! FT%{:10}MAN SEQ%{:11}%((@c:FlightPlanWaypointApproachName))%!s!%{end}
%{else}%(l0 2 + (>@c:FlightPlanWaypointIndex) @position)
%((@c:FlightPlanWaypointIdent))%!s!
%{end}
</String>
<Axis X="-10" Y="4"/>
</FormattedText>
<Element>
<Circle Color="0xffffff" Bright="Yes" Radius="2" LineWidth="1"></Circle>
<Clip/>
</Element>
<Shift>
<Value>@shift1</Value>
<Nonlinearity>
<Item Value="-20" Y= "55"/>
<Item Value= "0" Y="160"/>
<Item Value= "20" Y="265"/>
</Nonlinearity>
</Shift>
<Shift>
<Value>@shift2</Value>
<Nonlinearity>
<Item Value="-20" X= "22"/>
<Item Value= "0" X="127"/>
<Item Value= "20" X="232"/>
</Nonlinearity>
</Shift>
<Clip/>
</Element>
WP 3
<Element>
<FormattedText X="35" Y="10" Bright="Yes" FontSize="8" Font="Tu2X4_VSS" LineSpacing="8" Adjust="left" Color="0xffffff" VerticalAdjust="Center">
<String>\{bo}
%((@c:FlightPlanIsActiveApproach))
%{if}%(l0 3 + (>@c:FlightPlanWaypointApproachIndex) @position)
%((@c:FlightPlanWaypointApproachType))%{case}%{:1}%((@c:FlightPlanWaypointApproachName))%!s!%{:2}PROC.TURN L%{:3}PROC.TURN R%{:4}DME ARC L%{:5}DME ARC R%{:6}HOLD L%{:7}HOLD R%{:8}%((@c:FlightPlanWaypointApproachTarget,nmiles))%!0.1f! NM%{:9}%((@c:FlightPlanWaypointApproachTarget,feet))%!d! FT%{:10}MAN SEQ%{:11}%((@c:FlightPlanWaypointApproachName))%!s!%{end}
%{else}%(l0 3 + (>@c:FlightPlanWaypointIndex) @position)
%((@c:FlightPlanWaypointIdent))%!s!
%{end}
</String>
<Axis X="-10" Y="4"/>
</FormattedText>
<Element>
<Circle Color="0xffffff" Bright="Yes" Radius="2" LineWidth="1"></Circle>
<Clip/>
</Element>
<Shift>
<Value>@shift1</Value>
<Nonlinearity>
<Item Value="-20" Y= "55"/>
<Item Value= "0" Y="160"/>
<Item Value= "20" Y="265"/>
</Nonlinearity>
</Shift>
<Shift>
<Value>@shift2</Value>
<Nonlinearity>
<Item Value="-20" X= "22"/>
<Item Value= "0" X="127"/>
<Item Value= "20" X="232"/>
</Nonlinearity>
</Shift>
<Clip/>
</Element>
<!-- TCAS-->
<Element>
<MaskImage Name="KINO_MASK.bmp" ImageSizes="299,299">
</MaskImage>
<Visible>(L:ND_ZOOM, number) 0 ></Visible>
<Position X="0" Y="0"/>
<CustomDraw Name="fs9traffic:tcas" X="299" Y="299" CenterX="150" CenterY="260" SymbolSize="3.5"
OtherColour="0x7fffff" ProximityColour="0x7fffff"
MaxDispNumAct="15" MaxRange="700" >
<Heading>(A:PLANE HEADING DEGREES MAGNETIC, degrees)</Heading>
<Range>690 690 345 172 86 43 22 10 5 8 (L:ND_ZOOM, number) case</Range>
<Brightness> (C:fs9traffic:Brightness,number) 127 max 255 min d (>C:fs9traffic:brightness,number)</Brightness>
</CustomDraw>
</Element>