<Page
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:System="clr-namespace:System;assembly=mscorlib"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:local="clr-namespace:ForzaUI"
    xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing"
    mc:Ignorable="d"
	x:Class="DigitalGauge.SAL_S7LM_17"
	 >

    <Page.Resources>
        <Style x:Key="TextBlockStyle" TargetType="{x:Type local:FastTextBlock}">
            <Setter Property="FontFamily" Value="DG2_LCD"/>
            <Setter Property="Foreground" Value="#FFF52233"/>
             
            <Setter Property="TextAlignment" Value="Right"/>
        </Style>

        <BooleanToVisibilityConverter x:Key="BoolVisConverter" />

        <local:DigitalGaugeConfig x:Key="Config" HasClock="False" HasExternalTemp="False" UseDegreesF="False" UseMPH="True" UsePsi="False" MaxBoost="0" MinBoost="0" MaxSpeed="00" HasAbsLight="False" HasStmLight="False" HasTcsLight="False" HasGAccelX="False" HasGAccelY="False" HasShiftLights="True" HasTextTach="False" HasLapPlaceInfo="False" HasTextBoost="False" HasTextGAccel="False" HasTextOdometer="False" HasTextFuel="True" MaxFuel="68.1" MaxGear="6" MaxRpm="8000"/>

        <Storyboard x:Key="Shift Lights Progress">
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftGreenL1_On">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.6" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.904" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftGreenL2_On">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.652" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.904" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftYellowL3_On">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.725" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.904" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftRedL4_On">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.742" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.904" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftRedL5_On">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.759" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.904" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftRedR5_On">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.759" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.904" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftRedR4_On">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.742" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.904" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftYellowR3_On">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.725" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.904" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftGreenR2_On">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.652" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.904" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftGreenR1_On">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.6" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.904" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="FLASHING">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.904" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="Shift Lights Flash" RepeatBehavior="Forever">
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftGreenL1_On1">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.25" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftGreenL2_On1">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.25" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftYellowL3_On1">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.25" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftRedL4_On1">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.25" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftRedL5_On1">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.25" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftRedR5_On1">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.25" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftRedR4_On1">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.25" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftYellowR3_On1">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.25" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftGreenR2_On1">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.25" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ShiftGreenR1_On1">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.25" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="Start Up Animation">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Start_Up_Mask">
                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="Tach">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="Textures_SAL_S7LM_17_Tach_png">
                <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="319.887"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="Fuel Gauge">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="Fuel">
                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.025" Value="0.969"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.05" Value="0.938"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.075" Value="0.917"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0.891"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.125" Value="0.867"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.15" Value="0.842"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.175" Value="0.816"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.791"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.225" Value="0.768"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.25" Value="0.743"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.275" Value="0.718"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0.694"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.325" Value="0.669"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.35" Value="0.645"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.375" Value="0.619"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0.594"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.425" Value="0.571"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.45" Value="0.544"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.475" Value="0.521"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0.496"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.525" Value="0.47"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.55" Value="0.447"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.575" Value="0.423"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="0.399"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.625" Value="0.373"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.65" Value="0.348"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.675" Value="0.323"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="0.298"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.725" Value="0.275"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.75" Value="0.249"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.775" Value="0.224"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="0.201"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.825" Value="0.176"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.85" Value="0.151"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.875" Value="0.126"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.9" Value="0.103"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.925" Value="0.078"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.95" Value="0.054"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.975" Value="0.028"/>
                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.001"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="Fuel">
                <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.025" Value="-2.5"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.05" Value="-5"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.075" Value="-6.667"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="-8.73"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.125" Value="-10.667"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.15" Value="-12.688"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.175" Value="-14.813"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="-16.855"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.225" Value="-18.73"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.25" Value="-20.751"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.275" Value="-22.751"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-24.709"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.325" Value="-26.709"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.35" Value="-28.667"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.375" Value="-30.813"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="-32.834"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.425" Value="-34.709"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.45" Value="-36.865"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.475" Value="-38.771"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="-40.802"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.525" Value="-42.927"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.55" Value="-44.771"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.575" Value="-46.74"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="-48.709"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.625" Value="-50.803"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.65" Value="-52.803"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.675" Value="-54.834"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="-56.896"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.725" Value="-58.802"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.75" Value="-60.896"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.775" Value="-62.896"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="-64.771"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.825" Value="-66.834"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.85" Value="-68.865"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.875" Value="-70.896"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.9" Value="-72.74"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.925" Value="-74.74"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.95" Value="-76.678"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.975" Value="-78.803"/>
                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="-80.959"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </Page.Resources>
    <Page.Triggers>
        <EventTrigger RoutedEvent="FrameworkElement.Loaded" SourceName="LayoutRoot">
            <BeginStoryboard Storyboard="{StaticResource Shift Lights Flash}"/>
            <BeginStoryboard Storyboard="{StaticResource Tach}"/>
            <BeginStoryboard x:Name="Fuel_Gauge_BeginStoryboard" Storyboard="{StaticResource Fuel Gauge}"/>
        </EventTrigger>
    </Page.Triggers>
    <local:EventFire.FzTriggers>
        <local:EventFireTrigger Event="StartUp" Storyboard="{StaticResource Start Up Animation}"/>
    </local:EventFire.FzTriggers>


    <Canvas x:Name="LayoutRoot" Background="Transparent" Width="1280" Height="720">
        <VisualStateManager.VisualStateGroups>
            <VisualStateGroup x:Name="NightDaySplit">
                <VisualState x:Name="Day"/>
                <VisualState x:Name="Night"/>
            </VisualStateGroup>
        </VisualStateManager.VisualStateGroups>
        <Rectangle x:Name="Background_Grey" Fill="Black" Height="720" Canvas.Left="0" Canvas.Top="0" Width="1280"/>
        <Image x:Name="Textures_SAL_S7LM_17_BG_png" Height="500" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/SAL_S7LM_17_BG.png" Stretch="Fill" Width="900" Canvas.Top="170" Canvas.Left="49.666"/>
        <local:FastTextBlock x:Name="Text_Speed" Text="{Binding Speed}" Height="45" Canvas.Left="450"   Canvas.Top="335" Width="100" Foreground="White" FontFamily="DG1_Arial" FontSize="48" TextAlignment="Center"/>
        <Image x:Name="Textures_SAL_S7LM_17_Tach_png" Height="500" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/SAL_S7LM_17_Tach.png" Stretch="Fill" Width="30" Canvas.Left="485" Canvas.Top="170" RenderTransformOrigin="0.5,0.5">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Rectangle x:Name="Fuel" Fill="Black" Height="162.5" Canvas.Left="825" Canvas.Top="442.5" Width="22.75" RenderTransformOrigin="0.5,0.5">
            <Rectangle.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Rectangle.RenderTransform>
        </Rectangle>
        <Canvas x:Name="Shift_Lights" Height="96" Canvas.Left="297.5" Width="404" Canvas.Top="47" RenderTransformOrigin="0.5,0.5">
            <Canvas.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform Angle="-180"/>
                    <TranslateTransform/>
                </TransformGroup>
            </Canvas.RenderTransform>
            <Canvas x:Name="OFF" Height="96" Width="404" Canvas.Left="0" Canvas.Top="0">
                <Image x:Name="ShiftGreenL1_Off" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Green_Off.png" Stretch="Fill" Width="80" Opacity="0.2" Height="80" Canvas.Left="-58.998" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftGreenL2_Off" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Green_Off.png" Stretch="Fill" Width="80" Opacity="0.2" Height="80" Canvas.Left="-16.331" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftYellowL3_Off" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Yellow_Off.png" Stretch="Fill" Width="80" Opacity="0.2" Height="80" Canvas.Left="26.668" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftRedL4_Off" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Red_Off.png" Stretch="Fill" Width="80" Opacity="0.2" Height="80" Canvas.Left="71.343" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftRedL5_Off" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Red_Off.png" Stretch="Fill" Width="80" Opacity="0.2" Height="80" Canvas.Left="115.992" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftRedR5_Off" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Red_Off.png" Stretch="Fill" Width="80" Opacity="0.2" Height="80" Canvas.Left="204.344" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftRedR4_Off" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Red_Off.png" Stretch="Fill" Width="80" Opacity="0.2" Height="80" Canvas.Left="247.994" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftYellowR3_Off" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Yellow_Off.png" Stretch="Fill" Width="80" Opacity="0.2" Height="80" Canvas.Left="292.28" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftGreenR2_Off" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Green_Off.png" Stretch="Fill" Width="80" Opacity="0.2" Height="80" Canvas.Left="334.667" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftGreenR1_Off" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Green_Off.png" Stretch="Fill" Width="80" Opacity="0.2" Height="80" Canvas.Left="376.28" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
            </Canvas>
            <Canvas x:Name="ON" Height="96" Width="387" Canvas.Left="0" Canvas.Top="0">
                <Image x:Name="ShiftGreenL1_On" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Green_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="-58.998" Canvas.Top="21.999" Visibility="Hidden" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftGreenL2_On" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Green_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="-16.331" Canvas.Top="21.999" Visibility="Hidden" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftYellowL3_On" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Yellow_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="26.668" Canvas.Top="21.999" Visibility="Hidden" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftRedL4_On" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Red_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="71.343" Canvas.Top="21.999" Visibility="Hidden" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftRedL5_On" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Red_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="115.992" Canvas.Top="21.999" Visibility="Hidden" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftRedR5_On" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Red_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="204.344" Canvas.Top="21.999" Visibility="Hidden" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftRedR4_On" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Red_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="247.994" Canvas.Top="21.999" Visibility="Hidden" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftYellowR3_On" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Yellow_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="292.28" Canvas.Top="21.999" Visibility="Hidden" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftGreenR2_On" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Green_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="334.667" Canvas.Top="21.999" Visibility="Hidden" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftGreenR1_On" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Green_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="376.28" Canvas.Top="21.999" Visibility="Hidden" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
            </Canvas>
            <Canvas x:Name="FLASHING" Height="96" Width="387" Canvas.Left="0" Canvas.Top="0" Visibility="Hidden">
                <Image x:Name="ShiftGreenL1_On1" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Green_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="-58.998" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftGreenL2_On1" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Green_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="-16.331" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftYellowL3_On1" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Yellow_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="26.668" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftRedL4_On1" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Red_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="71.343" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftRedL5_On1" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Red_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="115.992" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftRedR5_On1" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Red_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="204.344" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftRedR4_On1" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Red_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="247.994" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftYellowR3_On1" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Yellow_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="292.28" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftGreenR2_On1" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Green_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="334.667" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Image x:Name="ShiftGreenR1_On1" Source="game:/media/cars/SAL_S7LM_17/UI/Textures/CHE_7_SST_13_ShiftLight_Green_On.png" Stretch="Fill" Width="80" Height="80" Canvas.Left="376.28" Canvas.Top="21.999" RenderTransformOrigin="0.5,0.5">
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1.5" ScaleY="1.5"/>
                            <SkewTransform/>
                            <RotateTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
            </Canvas>
        </Canvas>
        <Rectangle x:Name="Start_Up_Mask" Fill="Black" Height="720" Stroke="Black" Width="1280" Canvas.Left="0" Canvas.Top="0" Opacity="0"/>

        <!-- Storyboard binding controllers -->
        <local:StoryboardController SeekPct="{Binding Tach}" Target="{StaticResource Tach}"/>
        <local:StoryboardController SeekPct="{Binding Tach}" Target="{StaticResource Shift Lights Progress}"/>
        <local:StoryboardController SeekPct="{Binding Fuel}" Target="{StaticResource Fuel Gauge}"/>
    </Canvas>
</Page>