فهرست منبع

Module Auto Add
*Shell.xaml delete
MainWindow restore
material dll add

DESKTOP-6U0VOTJ\User 6 سال پیش
والد
کامیت
0cd8b4d59b

+ 116 - 0
Dev/OHV/OHV.Module.Monitoring/Interactivity/ModuleAuto.xaml

@@ -0,0 +1,116 @@
+<UserControl x:Class="OHV.Module.Monitoring.Interactivity.ModuleAuto"
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
+             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
+             xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
+             xmlns:local="clr-namespace:OHV.Module.Monitoring.Interactivity"
+             mc:Ignorable="d" 
+             d:DesignHeight="710" d:DesignWidth="1212">
+    <Grid>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="641*"/>
+            <ColumnDefinition Width="379*"/>
+        </Grid.ColumnDefinitions>
+
+        <Grid Grid.Column="0">
+            <Grid.RowDefinitions>
+                <RowDefinition Height="*"/>
+                <RowDefinition Height="*"/>
+                <RowDefinition Height="*"/>
+                <RowDefinition Height="*"/>
+            </Grid.RowDefinitions>
+
+            <Grid Grid.Row="0">
+                <Grid.ColumnDefinitions>
+                    <ColumnDefinition Width="81*"/>
+                    <ColumnDefinition Width="560*"/>
+                </Grid.ColumnDefinitions>
+                <Grid Grid.Column="0">
+                    <DockPanel Margin="4,0,0,0">
+                        <Button Style="{StaticResource MaterialDesignRaisedAccentButton}" Height="Auto" materialDesign:ButtonAssist.CornerRadius="50 50 0 0"
+            ToolTip="MaterialDesignRaisedAccentButton with Round Top Corners" Margin="0,15.999,0,12.334" RenderTransformOrigin="0.5,0.5" Background="#FF9B5107" UseLayoutRounding="False">
+                            <Button.RenderTransform>
+                                <TransformGroup>
+                                    <ScaleTransform ScaleX="-1"/>
+                                    <SkewTransform/>
+                                    <RotateTransform Angle="180"/>
+                                    <TranslateTransform/>
+                                </TransformGroup>
+                            </Button.RenderTransform>
+                            <TextBlock Text="TABOS" RenderTransformOrigin="1,1" Width="51" Foreground="White">
+                                <TextBlock.RenderTransform>
+                                    <TransformGroup>
+                                        <ScaleTransform ScaleX="-1"/>
+                                        <SkewTransform/>
+                                        <RotateTransform Angle="180"/>
+                                        <TranslateTransform/>
+                                    </TransformGroup>
+                                </TextBlock.RenderTransform>
+                            </TextBlock>
+                        </Button>
+                    </DockPanel>
+                </Grid>
+
+                <Grid Grid.Column="1">
+                    <Grid.RowDefinitions>
+                        <RowDefinition Height="23*"/>
+                        <RowDefinition Height="22*"/>
+                    </Grid.RowDefinitions>
+                </Grid>
+
+                <Grid Grid.Row="0" Grid.ColumnSpan="2">
+                    <Grid.RowDefinitions>
+                        <RowDefinition Height="*"/>
+                        <RowDefinition Height="*"/>
+                    </Grid.RowDefinitions>
+                </Grid>
+            </Grid>
+
+            <Grid Grid.Row="1">
+                <DockPanel>
+                    <TextBlock Text="Laser Status" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                </DockPanel>
+            </Grid>
+
+            <Grid Grid.Row="2">
+                <DockPanel>
+                    <TextBlock Text="PIO or Devices Status" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                </DockPanel>
+            </Grid>
+
+            <Grid Grid.Row="3">
+                <DockPanel>
+                    <TextBlock Text="Ocs Command" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                </DockPanel>
+            </Grid>
+        </Grid>
+
+
+        <Grid Grid.Column="1">
+            <Grid.RowDefinitions>
+                <RowDefinition Height="119*"/>
+                <RowDefinition Height="200*"/>
+                <RowDefinition Height="221*"/>
+            </Grid.RowDefinitions>
+
+            <Grid Grid.Row="0">
+                <DockPanel>
+                    <TextBlock Text="Vehicle Model name or Serial Code" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                </DockPanel>
+            </Grid>
+
+            <Grid Grid.Row="1">
+                <DockPanel>
+                    <TextBlock Text="Device Status % Monitor" FontSize="30" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                </DockPanel>
+            </Grid>
+
+            <Grid Grid.Row="2">
+                <DockPanel>
+                    <TextBlock Text="Jog Pad" FontSize="30" HorizontalAlignment="Center" VerticalAlignment="Center"/>
+                </DockPanel>
+            </Grid>
+        </Grid>
+    </Grid>
+</UserControl>

+ 5 - 4
Dev/OHV/OHV.Vehicle/Views/Shell.xaml.cs

@@ -10,16 +10,17 @@ using System.Windows.Documents;
 using System.Windows.Input;
 using System.Windows.Media;
 using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
 using System.Windows.Shapes;
 
-namespace OHV.Vehicle.Views
+namespace OHV.Module.Monitoring.Interactivity
 {
     /// <summary>
-    /// Shell.xaml에 대한 상호 작용 논리
+    /// ModuleAuto.xaml에 대한 상호 작용 논리
     /// </summary>
-    public partial class Shell : Window
+    public partial class ModuleAuto : UserControl
     {
-        public Shell()
+        public ModuleAuto()
         {
             InitializeComponent();
         }

+ 12 - 0
Dev/OHV/OHV.Module.Monitoring/Interactivity/ModuleAutoViewModel.cs

@@ -0,0 +1,12 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace OHV.Module.Monitoring.Interactivity
+{
+    class ModuleAutoViewModel
+    {
+    }
+}

+ 2 - 0
Dev/OHV/OHV.Module.Monitoring/MonitoringModules.cs

@@ -16,6 +16,8 @@ namespace OHV.Module.Monitoring
         {
             var regionManager = containerProvider.Resolve<IRegionManager>();
             regionManager.RegisterViewWithRegion("IOView", typeof(InOutIOView));
+
+            regionManager.RegisterViewWithRegion("ModuleAuto", typeof(ModuleAuto));
         }
 
         public void RegisterTypes(IContainerRegistry containerRegistry)

+ 25 - 0
Dev/OHV/OHV.Module.Monitoring/OHV.Module.Monitoring.csproj

@@ -12,6 +12,8 @@
     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
     <FileAlignment>512</FileAlignment>
     <Deterministic>true</Deterministic>
+    <NuGetPackageImportStamp>
+    </NuGetPackageImportStamp>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     <DebugSymbols>true</DebugSymbols>
@@ -34,6 +36,12 @@
     <Reference Include="CommonServiceLocator, Version=2.0.4.0, Culture=neutral, PublicKeyToken=489b6accfaf20ef0, processorArchitecture=MSIL">
       <HintPath>..\packages\CommonServiceLocator.2.0.4\lib\net45\CommonServiceLocator.dll</HintPath>
     </Reference>
+    <Reference Include="MaterialDesignColors, Version=1.2.2.920, Culture=neutral, processorArchitecture=MSIL">
+      <HintPath>..\packages\MaterialDesignColors.1.2.2\lib\net45\MaterialDesignColors.dll</HintPath>
+    </Reference>
+    <Reference Include="MaterialDesignThemes.Wpf, Version=3.0.1.920, Culture=neutral, processorArchitecture=MSIL">
+      <HintPath>..\packages\MaterialDesignThemes.3.0.1\lib\net45\MaterialDesignThemes.Wpf.dll</HintPath>
+    </Reference>
     <Reference Include="PresentationCore" />
     <Reference Include="PresentationFramework" />
     <Reference Include="Prism, Version=7.2.0.1422, Culture=neutral, PublicKeyToken=40ee6c3a2184dc59, processorArchitecture=MSIL">
@@ -69,6 +77,12 @@
     <Compile Include="Interactivity\InOutIOViewModel.cs">
       <DependentUpon>InOutIOView.xaml</DependentUpon>
     </Compile>
+    <Compile Include="Interactivity\ModuleAuto.xaml.cs">
+      <DependentUpon>ModuleAuto.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="Interactivity\ModuleAutoViewModel.cs">
+      <DependentUpon>ModuleAuto.xaml</DependentUpon>
+    </Compile>
     <Compile Include="MonitoringModules.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
   </ItemGroup>
@@ -80,6 +94,10 @@
       <Generator>MSBuild:Compile</Generator>
       <SubType>Designer</SubType>
     </Page>
+    <Page Include="Interactivity\ModuleAuto.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\..\..\..\GSG\GSG\GSG.NET.WPF\GSG.NET.WPF.csproj">
@@ -96,4 +114,11 @@
     </ProjectReference>
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <Import Project="..\packages\MaterialDesignThemes.3.0.1\build\MaterialDesignThemes.targets" Condition="Exists('..\packages\MaterialDesignThemes.3.0.1\build\MaterialDesignThemes.targets')" />
+  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
+    <PropertyGroup>
+      <ErrorText>이 프로젝트는 이 컴퓨터에 없는 NuGet 패키지를 참조합니다. 해당 패키지를 다운로드하려면 NuGet 패키지 복원을 사용하십시오. 자세한 내용은 http://go.microsoft.com/fwlink/?LinkID=322105를 참조하십시오. 누락된 파일은 {0}입니다.</ErrorText>
+    </PropertyGroup>
+    <Error Condition="!Exists('..\packages\MaterialDesignThemes.3.0.1\build\MaterialDesignThemes.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MaterialDesignThemes.3.0.1\build\MaterialDesignThemes.targets'))" />
+  </Target>
 </Project>

+ 2 - 0
Dev/OHV/OHV.Module.Monitoring/packages.config

@@ -1,6 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <packages>
   <package id="CommonServiceLocator" version="2.0.4" targetFramework="net45" />
+  <package id="MaterialDesignColors" version="1.2.2" targetFramework="net45" />
+  <package id="MaterialDesignThemes" version="3.0.1" targetFramework="net45" />
   <package id="Prism.Core" version="7.2.0.1422" targetFramework="net45" />
   <package id="Prism.Wpf" version="7.2.0.1422" targetFramework="net45" />
   <package id="System.ValueTuple" version="4.5.0" targetFramework="net45" />

+ 1 - 2
Dev/OHV/OHV.Vehicle/App.xaml.cs

@@ -64,8 +64,7 @@ namespace OHV.Vehicle
 
         protected override Window CreateShell()
         {
-            return Container.Resolve<Shell>();
-            //return Container.Resolve<MainWindow>();
+            return Container.Resolve<MainWindow>();
             //return ServiceLocator.Current.GetInstance<MainWindow>();
         }
 

+ 98 - 12
Dev/OHV/OHV.Vehicle/MainWindow.xaml

@@ -4,20 +4,106 @@
         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
         xmlns:local="clr-namespace:OHV.Vehicle"
+        xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
         xmlns:prism="http://prismlibrary.com/"
         prism:ViewModelLocator.AutoWireViewModel="True"
         mc:Ignorable="d"
-        Title="{Binding Title}" Height="1000" Width="1280">
-    <Grid>
-        <Grid.ColumnDefinitions>
-            <ColumnDefinition Width="1*"/>
-            <ColumnDefinition Width="1*"/>
-        </Grid.ColumnDefinitions>
-
-        <TextBlock ><InlineUIContainer>
-            </InlineUIContainer></TextBlock>
-        <Button Content="Button" Height="30" Width="65" Command="{Binding TestCommand}"/>
-
-        <ContentControl Grid.Column="1" prism:RegionManager.RegionName="IOView" />
+        Title="{Binding Title}" Height="800" Width="1280">
+
+    <Window.Resources>
+        <Storyboard x:Key="MenuOpen">
+            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="GridMenu" >
+                <EasingDoubleKeyFrame KeyTime="0" Value="70"/>
+                <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="200"/>
+            </DoubleAnimationUsingKeyFrames>
+        </Storyboard>
+
+        <Storyboard x:Key="MenuClose">
+            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="GridMenu" >
+                <EasingDoubleKeyFrame KeyTime="0" Value="200"/>
+                <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="70"/>
+            </DoubleAnimationUsingKeyFrames>
+        </Storyboard>
+    </Window.Resources>
+
+    <Window.Triggers>
+        <EventTrigger RoutedEvent="ButtonBase.Click" SourceName="ButtonOpenMenu">
+            <BeginStoryboard Storyboard="{StaticResource MenuOpen}"/>
+        </EventTrigger>
+
+        <EventTrigger RoutedEvent="ButtonBase.Click" SourceName="ButtonCloseMenu">
+            <BeginStoryboard Storyboard="{StaticResource MenuClose}"/>
+        </EventTrigger>
+    </Window.Triggers>
+
+    <Grid Background="{x:Null}">
+        <!--<Grid x:Name="GridMain" HorizontalAlignment="Right" VerticalAlignment="Bottom" Height="540" Width="1020"/>-->
+        <DockPanel LastChildFill="True">
+            <ContentControl prism:RegionManager.RegionName="ModuleAuto" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="1212" Height="710"/>
+        </DockPanel>
+        <Grid Height="60" VerticalAlignment="Top" Background="#FF1368BD">
+            <TextBlock Text="Over Head Vehicle" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="22" Foreground="White"/>
+            <StackPanel VerticalAlignment="Center" Orientation="Horizontal" HorizontalAlignment="Right">
+                <TextBlock Text="Current Mode   [IDLE ? RUN] " VerticalAlignment="Center" HorizontalAlignment="Right" FontSize="18" Foreground="White"/>
+                <materialDesign:PopupBox HorizontalAlignment="Right" Margin="10" PlacementMode="BottomAndAlignRightEdges" StaysOpen="False" Foreground="White">
+                    <StackPanel Width="150">
+                        <Button Content="Settings"/>
+                        <Button Content="Help"/>
+                        <Separator/>
+                        <Button x:Name="ButtonPopUpLogout" Content="LogOut" Click="ButtonPopUpLogout_Click"/>
+                    </StackPanel>
+                </materialDesign:PopupBox>
+            </StackPanel>
+        </Grid>
+        <Grid x:Name="GridMenu" Width="60" HorizontalAlignment="Left" Background="#FF1B3861">
+            <StackPanel>
+                <Grid Height="150" Background="White">
+                    <Button x:Name="ButtonOpenMenu" Style="{StaticResource MaterialDesignFloatingActionMiniAccentButton}" Width="60" Height="60" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="#FF31577E" VerticalAlignment="Top" HorizontalAlignment="Right" Click="ButtonOpenMenu_Click">
+                        <materialDesign:PackIcon Kind="Menu" Width="25" Height="25"/>
+                    </Button>
+
+                    <Button x:Name="ButtonCloseMenu" Style="{StaticResource MaterialDesignFloatingActionMiniAccentButton}" Width="60" Height="60" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="#FF31577E" VerticalAlignment="Top" HorizontalAlignment="Right" Visibility="Collapsed" Click="ButtonCloseMenu_Click">
+                        <materialDesign:PackIcon Kind="ArrowLeft" Width="25" Height="25"/>
+                    </Button>
+                </Grid>
+
+                <ListView ScrollViewer.HorizontalScrollBarVisibility="Disabled" Foreground="#FF1368BD">
+                    <ListViewItem Height="60">
+                        <StackPanel Orientation="Horizontal">
+                            <materialDesign:PackIcon Kind="ViewDashboard" Width="25" Height="25" VerticalAlignment="Center" Margin="10"/>
+                            <TextBlock Text="Home" VerticalAlignment="Center" Margin="20, 10"/>
+                        </StackPanel>
+                    </ListViewItem>
+
+                    <ListViewItem Height="60">
+                        <StackPanel Orientation="Horizontal">
+                            <materialDesign:PackIcon Kind="AxisArrow" Width="25" Height="25" VerticalAlignment="Center" Margin="10"/>
+                            <TextBlock Text="Device" VerticalAlignment="Center" Margin="20, 10"/>
+                        </StackPanel>
+                    </ListViewItem>
+
+                    <ListViewItem Height="60">
+                        <StackPanel Orientation="Horizontal">
+                            <materialDesign:PackIcon Kind="CarConnected" Width="25" Height="25" VerticalAlignment="Center" Margin="10"/>
+                            <TextBlock Text="Config" VerticalAlignment="Center" Margin="20, 10"/>
+                        </StackPanel>
+                    </ListViewItem>
+
+                    <ListViewItem Height="60">
+                        <StackPanel Orientation="Horizontal">
+                            <materialDesign:PackIcon Kind="Message" Width="25" Height="25" VerticalAlignment="Center" Margin="10"/>
+                            <TextBlock Text="Message" VerticalAlignment="Center" Margin="20, 10"/>
+                        </StackPanel>
+                    </ListViewItem>
+
+                    <!--<ListViewItem Height="60">
+                        <StackPanel Orientation="Horizontal">
+                            <materialDesign:PackIcon Kind="GithubCircle" Width="25" Height="25" VerticalAlignment="Center" Margin="10"/>
+                            <TextBlock Text="GitHub" VerticalAlignment="Center" Margin="20, 10"/>
+                        </StackPanel>
+                    </ListViewItem>-->
+                </ListView>
+            </StackPanel>
+        </Grid>
     </Grid>
 </Window>

+ 16 - 1
Dev/OHV/OHV.Vehicle/MainWindowViewModel.cs

@@ -7,6 +7,7 @@ using Prism.Events;
 using Prism.Mvvm;
 using VehicleControlSystem;
 using Prism.Modularity;
+using Prism.Regions;
 
 namespace OHV.Vehicle
 {
@@ -25,7 +26,10 @@ namespace OHV.Vehicle
 
         public ICommand TestCommand { get; set; }
 
-        public MainWindowViewModel(IEventAggregator ea, VCSystem cSystem)
+        IRegionManager regionManager;
+        public DelegateCommand<string> NavigateCommand { get; private set; }
+
+        public MainWindowViewModel(IEventAggregator ea, VCSystem cSystem, IRegionManager _regionManager)
         {
             this.eventAggregator = ea;
             this.eventAggregator.GetEvent<GUIMessagePubSubEvent>().Subscribe(UICallbackCommunication, ThreadOption.UIThread);
@@ -33,6 +37,15 @@ namespace OHV.Vehicle
             this.VCSystem = cSystem;
 
             this.TestCommand = new DelegateCommand(ExecuteTextCommand);
+
+            this.regionManager = _regionManager;
+            NavigateCommand = new DelegateCommand<string>(Navigate);
+        }
+
+        private void Navigate(string obj)
+        {
+            if (obj != null)
+                regionManager.RequestNavigate("ModuleAuto", obj);
         }
 
         private void UICallbackCommunication(GUIMessageEventArgs obj)
@@ -58,6 +71,8 @@ namespace OHV.Vehicle
                 Console.WriteLine("==");
             }
             //var vsys = containerRegistry.GetContainer().Resolve<IContainerProvider>();
+
+            regionManager.RequestNavigate("ModuleAuto", "ModuleAuto");
         }
 
         public void Dispose()

+ 0 - 7
Dev/OHV/OHV.Vehicle/OHV.Vehicle.csproj

@@ -120,9 +120,6 @@
       <Generator>MSBuild:Compile</Generator>
       <SubType>Designer</SubType>
     </ApplicationDefinition>
-    <Compile Include="Views\Shell.xaml.cs">
-      <DependentUpon>Shell.xaml</DependentUpon>
-    </Compile>
     <Page Include="MainWindow.xaml">
       <Generator>MSBuild:Compile</Generator>
       <SubType>Designer</SubType>
@@ -135,10 +132,6 @@
       <DependentUpon>MainWindow.xaml</DependentUpon>
       <SubType>Code</SubType>
     </Compile>
-    <Page Include="Views\Shell.xaml">
-      <SubType>Designer</SubType>
-      <Generator>MSBuild:Compile</Generator>
-    </Page>
   </ItemGroup>
   <ItemGroup>
     <Compile Include="MainWindowViewModel.cs">

+ 0 - 109
Dev/OHV/OHV.Vehicle/Views/Shell.xaml

@@ -1,109 +0,0 @@
-<Window x:Class="OHV.Vehicle.Views.Shell"
-        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
-        xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
-        xmlns:prism="http://prismlibrary.com/"
-        prism:ViewModelLocator.AutoWireViewModel="True"
-        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
-        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
-        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
-        xmlns:local="clr-namespace:OHV.Vehicle.Views"
-        mc:Ignorable="d"
-        Title="Shell" Height="600" Width="1080">
-    <Window.Resources>
-        <Storyboard x:Key="MenuOpen">
-            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="GridMenu" >
-                <EasingDoubleKeyFrame KeyTime="0" Value="70"/>
-                <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="200"/>
-            </DoubleAnimationUsingKeyFrames>
-        </Storyboard>
-
-        <Storyboard x:Key="MenuClose">
-            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="GridMenu" >
-                <EasingDoubleKeyFrame KeyTime="0" Value="200"/>
-                <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="70"/>
-            </DoubleAnimationUsingKeyFrames>
-        </Storyboard>
-    </Window.Resources>
-
-    <Window.Triggers>
-        <EventTrigger RoutedEvent="ButtonBase.Click" SourceName="ButtonOpenMenu">
-            <BeginStoryboard Storyboard="{StaticResource MenuOpen}"/>
-        </EventTrigger>
-
-        <EventTrigger RoutedEvent="ButtonBase.Click" SourceName="ButtonCloseMenu">
-            <BeginStoryboard Storyboard="{StaticResource MenuClose}"/>
-        </EventTrigger>
-    </Window.Triggers>
-
-    <Grid Background="{x:Null}">
-        <!--<Grid x:Name="GridMain" HorizontalAlignment="Right" VerticalAlignment="Bottom" Height="540" Width="1020"/>-->
-        <DockPanel LastChildFill="True">
-            <ContentControl prism:RegionManager.RegionName="ContentRegion" Width="1012" Height="511" VerticalAlignment="Bottom" HorizontalAlignment="Right"/>
-        </DockPanel>
-        <Grid Height="60" VerticalAlignment="Top" Background="#FF1368BD">
-            <TextBlock Text="Over Head Vehicle" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="22" Foreground="White"/>
-            <StackPanel VerticalAlignment="Center" Orientation="Horizontal" HorizontalAlignment="Right">
-                <TextBlock Text="Current Mode   [IDLE ? RUN] " VerticalAlignment="Center" HorizontalAlignment="Right" FontSize="18" Foreground="White"/>
-                <materialDesign:PopupBox HorizontalAlignment="Right" Margin="10" PlacementMode="BottomAndAlignRightEdges" StaysOpen="False" Foreground="White">
-                    <StackPanel Width="150">
-                        <Button Content="Settings"/>
-                        <Button Content="Help"/>
-                        <Separator/>
-                        <Button x:Name="ButtonPopUpLogout" Content="LogOut" Click="ButtonPopUpLogout_Click"/>
-                    </StackPanel>
-                </materialDesign:PopupBox>
-            </StackPanel>
-        </Grid>
-        <Grid x:Name="GridMenu" Width="60" HorizontalAlignment="Left" Background="#FF1B3861">
-            <StackPanel>
-                <Grid Height="150" Background="White">
-                    <Button x:Name="ButtonOpenMenu" Style="{StaticResource MaterialDesignFloatingActionMiniAccentButton}" Width="60" Height="60" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="#FF31577E" VerticalAlignment="Top" HorizontalAlignment="Right" Click="ButtonOpenMenu_Click">
-                        <materialDesign:PackIcon Kind="Menu" Width="25" Height="25"/>
-                    </Button>
-
-                    <Button x:Name="ButtonCloseMenu" Style="{StaticResource MaterialDesignFloatingActionMiniAccentButton}" Width="60" Height="60" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="#FF31577E" VerticalAlignment="Top" HorizontalAlignment="Right" Visibility="Collapsed" Click="ButtonCloseMenu_Click">
-                        <materialDesign:PackIcon Kind="ArrowLeft" Width="25" Height="25"/>
-                    </Button>
-                </Grid>
-
-                <ListView ScrollViewer.HorizontalScrollBarVisibility="Disabled" Foreground="#FF1368BD">
-                    <ListViewItem Height="60">
-                        <StackPanel Orientation="Horizontal">
-                            <materialDesign:PackIcon Kind="ViewDashboard" Width="25" Height="25" VerticalAlignment="Center" Margin="10"/>
-                            <TextBlock Text="Home" VerticalAlignment="Center" Margin="20, 10"/>
-                        </StackPanel>
-                    </ListViewItem>
-
-                    <ListViewItem Height="60">
-                        <StackPanel Orientation="Horizontal">
-                            <materialDesign:PackIcon Kind="AxisArrow" Width="25" Height="25" VerticalAlignment="Center" Margin="10"/>
-                            <TextBlock Text="Create" VerticalAlignment="Center" Margin="20, 10"/>
-                        </StackPanel>
-                    </ListViewItem>
-
-                    <ListViewItem Height="60">
-                        <StackPanel Orientation="Horizontal">
-                            <materialDesign:PackIcon Kind="CarConnected" Width="25" Height="25" VerticalAlignment="Center" Margin="10"/>
-                            <TextBlock Text="Tickets" VerticalAlignment="Center" Margin="20, 10"/>
-                        </StackPanel>
-                    </ListViewItem>
-
-                    <ListViewItem Height="60">
-                        <StackPanel Orientation="Horizontal">
-                            <materialDesign:PackIcon Kind="Message" Width="25" Height="25" VerticalAlignment="Center" Margin="10"/>
-                            <TextBlock Text="Message" VerticalAlignment="Center" Margin="20, 10"/>
-                        </StackPanel>
-                    </ListViewItem>
-
-                    <ListViewItem Height="60">
-                        <StackPanel Orientation="Horizontal">
-                            <materialDesign:PackIcon Kind="GithubCircle" Width="25" Height="25" VerticalAlignment="Center" Margin="10"/>
-                            <TextBlock Text="GitHub" VerticalAlignment="Center" Margin="20, 10"/>
-                        </StackPanel>
-                    </ListViewItem>
-                </ListView>
-            </StackPanel>
-        </Grid>
-
-    </Grid>
-</Window>