Push Changes from Techcrafters Repo
This commit is contained in:
@@ -4,22 +4,31 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:system="clr-namespace:System;assembly=System.Runtime"
|
||||
xmlns:uniperHmi="clr-namespace:InfineonHMI"
|
||||
xmlns:infineonHmi="clr-namespace:InfineonHMI"
|
||||
mc:Ignorable="d"
|
||||
x:Name="MainControlWindow"
|
||||
d:DataContext="{d:DesignInstance Type=uniperHmi:MainWindowVM}"
|
||||
d:DataContext="{d:DesignInstance Type=infineonHmi:MainWindowVM}"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
Title="Infineon BiPolar" Height="2100" Width="3820" ResizeMode="NoResize">
|
||||
|
||||
|
||||
Title="Infineon HMI"
|
||||
Icon="Resources/Application.png"
|
||||
Height="Auto"
|
||||
Width="Auto"
|
||||
ResizeMode="CanResizeWithGrip"
|
||||
WindowState="Maximized"
|
||||
WindowStyle="SingleBorderWindow">
|
||||
|
||||
<Viewbox Stretch="Fill">
|
||||
<Grid Width="3840" Height="2100">
|
||||
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="0.08*"/>
|
||||
<RowDefinition Height="0.04*"/>
|
||||
<RowDefinition Height="0.04*"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="0.74*"/>
|
||||
<RowDefinition Height="0.10*"/>
|
||||
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="190"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- Header line -->
|
||||
@@ -82,21 +91,27 @@
|
||||
</TextBlock>
|
||||
</Grid>
|
||||
|
||||
<Button Grid.Column="10"
|
||||
<Button Grid.Column="9"
|
||||
Grid.ColumnSpan="2"
|
||||
Margin="10"
|
||||
FontSize="44"
|
||||
Content="{Binding ActualUser}"
|
||||
Command="{Binding ChangeUserClickedCommand}"/>
|
||||
|
||||
<Button Grid.Column="12"
|
||||
Grid.ColumnSpan="2"
|
||||
<Grid Grid.Column="11" Grid.ColumnSpan="3"
|
||||
Margin="10"
|
||||
FontSize="44"
|
||||
Content="Auswahl
Betriebsart"
|
||||
Command="{Binding WorkingModeSelectionClickedCommand}"/>
|
||||
>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Border Grid.RowSpan="2" BorderBrush="White" BorderThickness="1"/>
|
||||
<Label Grid.Row="0" Content="{Binding SCurrentPackMLState}" FontSize="44"/>
|
||||
<Label Grid.Row="1" Content="{Binding SCurrentPackMLMode}" FontSize="44"/>
|
||||
|
||||
<Label Grid.Column="1"
|
||||
|
||||
</Grid>
|
||||
<Label Grid.Column="1"
|
||||
Grid.ColumnSpan="3"
|
||||
Content="BiPolar Randätzer"
|
||||
FontSize="60"
|
||||
@@ -110,76 +125,90 @@
|
||||
</Grid>
|
||||
|
||||
<!-- Latest event line -->
|
||||
<Border Grid.Row="1" BorderBrush="White" BorderThickness="0,0,0,2">
|
||||
<Border Grid.Row="1" BorderBrush="White" BorderThickness="0,0,0,3" Margin="10 0 10 0">
|
||||
<Label Content="{Binding EventsPageVM.CurrentEvent.Message}"
|
||||
FontSize="28"
|
||||
VerticalAlignment="Center"/>
|
||||
</Border>
|
||||
|
||||
<!-- Breadcrumb line -->
|
||||
<Label Grid.Row="2"
|
||||
<!-- Currently no used -->
|
||||
<!--<Label Grid.Row="2"
|
||||
Content="{Binding Breadcrumb}"
|
||||
FontSize="28"/>
|
||||
FontSize="28"/>-->
|
||||
|
||||
<!-- Page frame -->
|
||||
<Frame x:Name="MainFrame"
|
||||
Grid.Row="3"
|
||||
NavigationUIVisibility="Hidden"
|
||||
Margin="20 20 10 20"
|
||||
Content="{Binding CurrentPage}"/>
|
||||
|
||||
<!-- Softkey grid -->
|
||||
<Grid Grid.Row="4" Margin="20">
|
||||
<Border Grid.Row="4"
|
||||
Margin="10 0 10 0"
|
||||
BorderBrush="White"
|
||||
BorderThickness="0,3,0,0"/>
|
||||
|
||||
<!-- Softkey grid -->
|
||||
<Grid Grid.Row="5" Margin="15 10 20 15">
|
||||
<Grid >
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<UniformGrid Columns="7" Grid.ColumnSpan="7">
|
||||
<!-- Softkey 1 -->
|
||||
<Button Grid.Column="0" Content="Übersicht" FontSize="38" Margin="10"
|
||||
Command="{Binding OverviewWindowClickedCommand}" />
|
||||
<Button Grid.Column="0"
|
||||
Width="440"
|
||||
Content="Übersicht" FontSize="38" Margin="10"
|
||||
Command="{Binding OverviewWindowClickedCommand}" />
|
||||
<!-- Command="{Binding AutomaticModeCommand}" -->
|
||||
|
||||
<!-- Softkey 2 -->
|
||||
<Button Grid.Column="0" Content="Stationen" FontSize="38" Margin="10"
|
||||
Command="{Binding ProductionWindowClickedCommand}"/>
|
||||
<Button IsEnabled="{Binding CanUserChangePageProductionWindow}"
|
||||
Grid.Column="1" Content="Stationen" FontSize="38" Margin="10"
|
||||
Width="440"
|
||||
Command="{Binding ProductionWindowClickedCommand}"/>
|
||||
<!-- Command="{Binding ManualModeCommand}" -->
|
||||
|
||||
<!-- Softkey 3 -->
|
||||
<Button Grid.Column="0" Content="Protokoll" FontSize="38" Margin="10"
|
||||
<Button Grid.Column="2" Content="Protokoll" FontSize="38" Margin="10"
|
||||
Command="{Binding ProtocolWindowClickedCommand}" Visibility="Collapsed"/>
|
||||
|
||||
<!-- Softkey 4 -->
|
||||
<Button Grid.Column="0" Content="Rezepte" FontSize="38" Margin="10"
|
||||
Command="{Binding ReceipesWindowClickedCommand}" />
|
||||
<Button IsEnabled="{Binding CanUserChangePageReceipeWindow}"
|
||||
Grid.Column="3" Content="Rezepte" FontSize="38" Margin="10"
|
||||
Width="440"
|
||||
Command="{Binding ReceipesWindowClickedCommand}" />
|
||||
<!-- Command="{Binding SettingsWindowCommand}" -->
|
||||
|
||||
<!-- Softkey 5 -->
|
||||
<Button Grid.Column="0" Content="Trend" FontSize="38" Margin="10"
|
||||
<Button Grid.Column="7" Content="Trend" FontSize="38" Margin="10"
|
||||
Command="{Binding TrendWindowClickedCommand}" Visibility="Collapsed"/>
|
||||
|
||||
<!-- Softkey 6 -->
|
||||
<Button Grid.Column="0" Content="Komponenten" FontSize="38" Margin="10"
|
||||
<Button Grid.Column="8" Content="Komponenten" FontSize="38" Margin="10"
|
||||
Command="{Binding ComponentsWindowClickedCommand}" Visibility="Collapsed"/>
|
||||
|
||||
<!-- Softkey 7 -->
|
||||
|
||||
|
||||
<!-- Softkey 8 -->
|
||||
<Button Content="Einstellungen" FontSize="38" Margin="10"
|
||||
<Button Grid.Column="6" Content="Einstellungen" FontSize="38" Margin="10"
|
||||
Command="{Binding SettingsWindowClickedCommand}" Visibility="Collapsed"/>
|
||||
</UniformGrid>
|
||||
<Button Grid.Column="7" Content="Meldungen" FontSize="38" Margin="10"
|
||||
Width="450"
|
||||
Command="{Binding EventsListClickedCommand}"/>
|
||||
<!-- Softkey 9 -->
|
||||
<Button Grid.Column="8" Content="Ack Alarms" FontSize="38" Margin="10"
|
||||
<Button Grid.Column="8"
|
||||
Width="450"
|
||||
Content="Alarm quitieren" FontSize="38" Margin="10"
|
||||
Command="{Binding AckAlarmsCommand}"/>
|
||||
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user