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.

45 lines
3.5 KiB
Plaintext

<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"
4 months ago
xmlns:local="clr-namespace:MaterialTraceabilityUI.Resources"
mc:Ignorable="d"
d:DesignHeight="452" d:DesignWidth="800"
Background="Transparent" Loaded="UserControl_Loaded">
<Grid Margin="0,10,0,0">
<Grid.ColumnDefinitions>
4 months ago
<ColumnDefinition Width="180"/>
<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>
4 months ago
<RadioButton x:Name="FirstButton" Content="{local:StringResource 上料报表,DefaultValue=上料报表}" Style="{StaticResource NavRadioButtonStyle}" Margin="1" Foreground="White" Click="UpMaterialRecord_Click" Grid.Row="0"/>
<RadioButton Content="{local:StringResource 下料报表,DefaultValue=下料报表}" 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"/>-->
4 months ago
<RadioButton Content="{local:StringResource 读取记录,DefaultValue=读取记录}" Style="{StaticResource NavRadioButtonStyle}" Margin="1" Foreground="White" Click="ReadRecord_Click" Grid.Row="2"/>
<RadioButton Content="{local:StringResource 日志记录,DefaultValue=日志记录}" Style="{StaticResource NavRadioButtonStyle}" Margin="1" Foreground="White" Click="AlarmRecord_Click" Grid.Row="3"/>
<RadioButton Content="{local:StringResource MES记录,DefaultValue=MES记录}" Style="{StaticResource NavRadioButtonStyle}" Margin="1" Foreground="White" Click="MesRecord_Click" Grid.Row="4"/>
<RadioButton Content="{local:StringResource 绑定信息,DefaultValue=绑定信息}" Style="{StaticResource NavRadioButtonStyle}" Margin="1" Foreground="White" Click="ShaftInfo_Click" Grid.Row="5"/>
<RadioButton Content="{local:StringResource 手动完工,DefaultValue=手动完工}" x:Name="splitButton" Style="{StaticResource NavRadioButtonStyle}" Margin="1" Foreground="White" Click="Split_Click" Grid.Row="6" Visibility="Hidden"/>
<!--<RadioButton Content="托盘绑定" Style="{StaticResource NavRadioButtonStyle}" Margin="1" Foreground="White" Click="ProcessLotBind_Click" Grid.Row="7"/>-->
</Grid>
</Border>
<Border Grid.Column="1" Margin="3,0,0,0" BorderBrush="Gray" BorderThickness="0" CornerRadius="10">
<ContentPresenter Content="{Binding UserControl}"/>
</Border>
</Grid>
</UserControl>