153 lines
9.5 KiB
XML
153 lines
9.5 KiB
XML
<Window x:Class="PamhagenSysCtrl.Windows.PlantSchemeWindow"
|
|
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:local="clr-namespace:PamhagenSysCtrl.Windows"
|
|
Closed="OnClosed"
|
|
Title="Anlagensteuerung Pamhagen" Height="950" Width="1600" MinWidth="1500" MinHeight="950">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="19"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="24"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Menu Grid.Row="0" BorderThickness="0,0,0,1" BorderBrush="LightGray" Background="White">
|
|
<MenuItem Header="Einstellungen">
|
|
<MenuItem x:Name="Menu_Settings_ManualControl" Header="Handbetrieb" IsCheckable="True"
|
|
Checked="Menu_Settings_ManualControl_Changed"
|
|
Unchecked="Menu_Settings_ManualControl_Changed">
|
|
<MenuItem.Icon>
|
|
<TextBlock FontFamily="Segoe MDL2 Assets" FontSize="16" Text=""/>
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
<MenuItem x:Name="Menu_Settings_OverridePathClearances" Header="Pfad-Freigaben überbrücken" IsCheckable="True"
|
|
Checked="Menu_Settings_OverridePathClearances_Changed"
|
|
Unchecked="Menu_Settings_OverridePathClearances_Changed">
|
|
<MenuItem.Icon>
|
|
<TextBlock FontFamily="Segoe MDL2 Assets" FontSize="16" Text=""/>
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
<MenuItem x:Name="Menu_Settings_OverrideDryRunClearances" Header="Trockenlauf-Freigaben überbrücken" IsCheckable="True"
|
|
Checked="Menu_Settings_OverrideDryRunClearances_Changed"
|
|
Unchecked="Menu_Settings_OverrideDryRunClearances_Changed"/>
|
|
<Separator/>
|
|
<MenuItem x:Name="Menu_Settings_Config" Header="Konfigurationsdatei öffnen..." Click="Menu_Settings_Config_Click">
|
|
<MenuItem.Icon>
|
|
<TextBlock FontFamily="Segoe MDL2 Assets" FontSize="16" Text=""/>
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
<MenuItem x:Name="Menu_Settings_Directory" Header="Konfigurationsspeicherort öffnen..." Click="Menu_Settings_Directory_Click">
|
|
<MenuItem.Icon>
|
|
<TextBlock FontFamily="Segoe MDL2 Assets" FontSize="16" Text=""/>
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
</MenuItem>
|
|
<MenuItem Header="Hilfe">
|
|
<MenuItem Header="Über">
|
|
<MenuItem.Icon>
|
|
<TextBlock FontFamily="Segoe MDL2 Assets" FontSize="16" Text=""/>
|
|
</MenuItem.Icon>
|
|
</MenuItem>
|
|
</MenuItem>
|
|
</Menu>
|
|
|
|
<Grid Grid.Row="1" ClipToBounds="True">
|
|
<Canvas x:Name="SchemeCanvas" Width="1550" Height="900" VerticalAlignment="Center" HorizontalAlignment="Center" SnapsToDevicePixels="True"
|
|
MouseMove="SchemeCanvas_MouseMove" MouseLeftButtonDown="SchemeCanvas_MouseLeftButtonDown" MouseLeftButtonUp="SchemeCanvas_MouseLeftButtonUp" Grid.ColumnSpan="2" Margin="25,0,0,0">
|
|
</Canvas>
|
|
|
|
<Grid Grid.Row="1" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="10">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="160"/>
|
|
<ColumnDefinition Width="5"/>
|
|
<ColumnDefinition Width="160"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="50"/>
|
|
<RowDefinition Height="5"/>
|
|
<RowDefinition Height="50"/>
|
|
<RowDefinition Height="5"/>
|
|
<RowDefinition Height="50"/>
|
|
<RowDefinition Height="5"/>
|
|
<RowDefinition Height="50"/>
|
|
<RowDefinition Height="5"/>
|
|
<RowDefinition Height="50"/>
|
|
<RowDefinition Height="5"/>
|
|
<RowDefinition Height="50"/>
|
|
<RowDefinition Height="5"/>
|
|
<RowDefinition Height="50"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Button x:Name="FastSelectButton_MW1_Press1" Grid.Column="0" Grid.Row="0"
|
|
Content="MW1 ⮞ Presse 1" FontSize="16" FontWeight="Bold"
|
|
Click="FastSelectButton_Click" MouseEnter="FastSelectButton_Enter" MouseLeave="FastSelectButton_Leave"
|
|
BorderThickness="2"/>
|
|
<Button x:Name="FastSelectButton_MW2_Press1" Grid.Column="2" Grid.Row="0"
|
|
Content="MW2 ⮞ Presse 1" FontSize="16" FontWeight="Bold"
|
|
Click="FastSelectButton_Click" MouseEnter="FastSelectButton_Enter" MouseLeave="FastSelectButton_Leave"
|
|
BorderThickness="2"/>
|
|
|
|
<Button x:Name="FastSelectButton_MW1_Press2" Grid.Column="0" Grid.Row="2"
|
|
Content="MW1 ⮞ Presse 2" FontSize="16" FontWeight="Bold"
|
|
Click="FastSelectButton_Click" MouseEnter="FastSelectButton_Enter" MouseLeave="FastSelectButton_Leave"
|
|
BorderThickness="2"/>
|
|
<Button x:Name="FastSelectButton_MW2_Press2" Grid.Column="2" Grid.Row="2"
|
|
Content="MW2 ⮞ Presse 2" FontSize="16" FontWeight="Bold"
|
|
Click="FastSelectButton_Click" MouseEnter="FastSelectButton_Enter" MouseLeave="FastSelectButton_Leave"
|
|
BorderThickness="2"/>
|
|
|
|
<Button x:Name="FastSelectButton_MW1_Tank1" Grid.Column="0" Grid.Row="4"
|
|
Content="MW1 ⮞ Tank 1" FontSize="16" FontWeight="Bold"
|
|
Click="FastSelectButton_Click" MouseEnter="FastSelectButton_Enter" MouseLeave="FastSelectButton_Leave"
|
|
BorderThickness="2"/>
|
|
<Button x:Name="FastSelectButton_MW2_Tank1" Grid.Column="2" Grid.Row="4"
|
|
Content="MW2 ⮞ Tank 1" FontSize="16" FontWeight="Bold"
|
|
Click="FastSelectButton_Click" MouseEnter="FastSelectButton_Enter" MouseLeave="FastSelectButton_Leave"
|
|
BorderThickness="2"/>
|
|
|
|
<Button x:Name="FastSelectButton_MW1_Tank2" Grid.Column="0" Grid.Row="6"
|
|
Content="MW1 ⮞ Tank 2" FontSize="16" FontWeight="Bold"
|
|
Click="FastSelectButton_Click" MouseEnter="FastSelectButton_Enter" MouseLeave="FastSelectButton_Leave"
|
|
BorderThickness="2"/>
|
|
<Button x:Name="FastSelectButton_MW2_Tank2" Grid.Column="2" Grid.Row="6"
|
|
Content="MW2 ⮞ Tank 2" FontSize="16" FontWeight="Bold"
|
|
Click="FastSelectButton_Click" MouseEnter="FastSelectButton_Enter" MouseLeave="FastSelectButton_Leave"
|
|
BorderThickness="2"/>
|
|
|
|
<Button x:Name="FastSelectButton_MW1_Tank3" Grid.Column="0" Grid.Row="8"
|
|
Content="MW1 ⮞ Tank 3" FontSize="16" FontWeight="Bold"
|
|
Click="FastSelectButton_Click" MouseEnter="FastSelectButton_Enter" MouseLeave="FastSelectButton_Leave"
|
|
BorderThickness="2"/>
|
|
<Button x:Name="FastSelectButton_MW2_Tank3" Grid.Column="2" Grid.Row="8"
|
|
Content="MW2 ⮞ Tank 3" FontSize="16" FontWeight="Bold"
|
|
Click="FastSelectButton_Click" MouseEnter="FastSelectButton_Enter" MouseLeave="FastSelectButton_Leave"
|
|
BorderThickness="2"/>
|
|
|
|
<Button x:Name="FastSelectButton_MW1_Tank4" Grid.Column="0" Grid.Row="10"
|
|
Content="MW1 ⮞ Tank 4" FontSize="16" FontWeight="Bold"
|
|
Click="FastSelectButton_Click" MouseEnter="FastSelectButton_Enter" MouseLeave="FastSelectButton_Leave"
|
|
BorderThickness="2"/>
|
|
<Button x:Name="FastSelectButton_MW2_Tank4" Grid.Column="2" Grid.Row="10"
|
|
Content="MW2 ⮞ Tank 4" FontSize="16" FontWeight="Bold"
|
|
Click="FastSelectButton_Click" MouseEnter="FastSelectButton_Enter" MouseLeave="FastSelectButton_Leave"
|
|
BorderThickness="2"/>
|
|
|
|
<Button x:Name="FastSelectButton_MW1_Tank5" Grid.Column="0" Grid.Row="12"
|
|
Content="MW1 ⮞ Tank 5" FontSize="16" FontWeight="Bold"
|
|
Click="FastSelectButton_Click" MouseEnter="FastSelectButton_Enter" MouseLeave="FastSelectButton_Leave"
|
|
BorderThickness="2"/>
|
|
<Button x:Name="FastSelectButton_MW2_Tank5" Grid.Column="2" Grid.Row="12"
|
|
Content="MW2 ⮞ Tank 5" FontSize="16" FontWeight="Bold"
|
|
Click="FastSelectButton_Click" MouseEnter="FastSelectButton_Enter" MouseLeave="FastSelectButton_Leave"
|
|
BorderThickness="2"/>
|
|
</Grid>
|
|
</Grid>
|
|
|
|
<StatusBar Grid.Row="2" BorderThickness="0,1,0,0" BorderBrush="Gray">
|
|
|
|
</StatusBar>
|
|
</Grid>
|
|
</Window>
|