You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
3.0 KiB
XML

<UserControl x:Class="MaterialTraceabilityUI.secondPage"
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:local="clr-namespace:MaterialTraceabilityUI"
mc:Ignorable="d"
d:DesignHeight="452" d:DesignWidth="800"
Background="Transparent" Loaded="UserControl_Loaded">
<Grid Margin="0,10,0,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="150"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Border Grid.Column="0" BorderThickness="0" BorderBrush="Gray" CornerRadius="10" Background="#007DFA">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="50"/>
<RowDefinition Height="50"/>
<RowDefinition Height="50"/>
<RowDefinition Height="50"/>
<RowDefinition Height="50"/>
<RowDefinition Height="50"/>
<RowDefinition Height="50"/>
</Grid.RowDefinitions>
<RadioButton x:Name="FirstButton" Content="上料报表" Style="{StaticResource NavRadioButtonStyle}" Margin="1" Foreground="White" Click="UpMaterialRecord_Click" Grid.Row="0"/>
<RadioButton Content="下料报表" Style="{StaticResource NavRadioButtonStyle}" Margin="1" Foreground="White" Click="DownMaterialRecord_Click" Grid.Row="1"/>
<!--<RadioButton x:Name="SecondButton" Content="生产报表" Style="{StaticResource NavRadioButtonStyle}" Margin="1" Foreground="White" Click="ProductionRecord_Click" IsChecked="True" Grid.Row="2"/>-->
<RadioButton Content="读取记录" Style="{StaticResource NavRadioButtonStyle}" Margin="1" Foreground="White" Click="ReadRecord_Click" Grid.Row="2"/>
<RadioButton Content="日志记录" Style="{StaticResource NavRadioButtonStyle}" Margin="1" Foreground="White" Click="AlarmRecord_Click" Grid.Row="3"/>
<RadioButton Content="MES 记录" Style="{StaticResource NavRadioButtonStyle}" Margin="1" Foreground="White" Click="MesRecord_Click" Grid.Row="4"/>
<RadioButton Content="绑定信息" Style="{StaticResource NavRadioButtonStyle}" Margin="1" Foreground="White" Click="ShaftInfo_Click" Grid.Row="5"/>
<RadioButton Content="手动完工" x:Name="splitButton" Style="{StaticResource NavRadioButtonStyle}" Margin="1" Foreground="White" Click="Split_Click" Grid.Row="6" Visibility="Hidden"/>
</Grid>
</Border>
<Border Grid.Column="1" Margin="3,0,0,0" BorderBrush="Gray" BorderThickness="0" CornerRadius="10">
<ContentPresenter Content="{Binding UserControl}"/>
</Border>
</Grid>
</UserControl>