Add config file and refactor windows
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
<Window x:Class="PamhagenSysCtrl.ManualControlWindow"
|
||||
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"
|
||||
mc:Ignorable="d"
|
||||
Title="Manuelle Steuerung - Anlagensteuerung Pamhagen" Height="550" Width="860">
|
||||
<Grid>
|
||||
<Grid x:Name="ValvePanel" Margin="5,5,5,5">
|
||||
</Grid>
|
||||
|
||||
<TextBlock x:Name="Status" FontSize="14"
|
||||
Margin="350,50,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"/>
|
||||
|
||||
<Grid x:Name="ActuatorPanel" Margin="350,350,5,5">
|
||||
|
||||
<Button x:Name="TroughAugerButton" Content="Trogschnecke" Padding="2" Height="30" Width="120"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="10,10,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="TroughAugerButton_Click"/>
|
||||
|
||||
<Button x:Name="ReblerButton" Content="Rebler" Padding="2" Height="30" Width="120"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="10,45,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="ReblerButton_Click"/>
|
||||
|
||||
<Button x:Name="StirrerMW1Button" Content="Rührer MW1" Padding="2" Height="30" Width="120"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="10,80,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="StirrerMW1Button_Click"/>
|
||||
|
||||
<Button x:Name="StirrerMW2Button" Content="Rührer MW2" Padding="2" Height="30" Width="120"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="10,115,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="StirrerMW2Button_Click"/>
|
||||
|
||||
<Button x:Name="Auger1Button" Content="Förderschnecke 1" Padding="2" Height="30" Width="150"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="135,10,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="Auger1Button_Click"/>
|
||||
<Button x:Name="BeltButton" Content="Förderband" Padding="2" Height="30" Width="150"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="135,45,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="BeltButton_Click"/>
|
||||
<Button x:Name="Auger2Button" Content="Förderschnecke 2" Padding="2" Height="30" Width="150"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="135,80,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="Auger2Button_Click"/>
|
||||
|
||||
<Button x:Name="P6Button" Content="Pumpe 6" Padding="2" Height="30" Width="150"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="135,115,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="P6Button_Click"/>
|
||||
<Button x:Name="MP1BackwardButton" Content="Zurück" Padding="2" Height="30" Width="60"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="290,10,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="MP1BackwardButton_Click"/>
|
||||
<Button x:Name="MP1HaltButton" Content="MP1" Padding="2" Height="30" Width="60"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="350,10,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="MP1HaltButton_Click"/>
|
||||
<Button x:Name="MP1ForwardButton" Content="Vor" Padding="2" Height="30" Width="60"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="410,10,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="MP1ForwardButton_Click"/>
|
||||
|
||||
<Button x:Name="MP2BackwardButton" Content="Zurück" Padding="2" Height="30" Width="60"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="290,45,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="MP2BackwardButton_Click"/>
|
||||
<Button x:Name="MP2HaltButton" Content="MP2" Padding="2" Height="30" Width="60"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="350,45,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="MP2HaltButton_Click"/>
|
||||
<Button x:Name="MP2ForwardButton" Content="Vor" Padding="2" Height="30" Width="60"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="410,45,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="MP2ForwardButton_Click"/>
|
||||
|
||||
<Button x:Name="P12Button" Content="Pumpe 1/2" Padding="2" Height="30" Width="87.5"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="290,80,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="P12Button_Click"/>
|
||||
<Button x:Name="P3Button" Content="Pumpe 3" Padding="2" Height="30" Width="87.5"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="382.5,80,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="P3Button_Click"/>
|
||||
<Button x:Name="P4Button" Content="Pumpe 4" Padding="2" Height="30" Width="87.5"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="290,115,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="P4Button_Click"/>
|
||||
<Button x:Name="P5Button" Content="Pumpe 5" Padding="2" Height="30" Width="87.5"
|
||||
FontSize="14" BorderThickness="2" FontWeight="Bold"
|
||||
Margin="382.5,115,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||
Click="P5Button_Click"/>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user