<UserControl x:Class="Aucma.Core.Palletiz.Views.PalletizPageView"
             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:Aucma.Core.Palletiz.Views"
             mc:Ignorable="d" Background="#1152AC" 
             d:DesignHeight="1080" d:DesignWidth="1920">
    
    <Border x:Name="HeightHelperPanel"  BorderBrush="#0288d1" BorderThickness="0" CornerRadius="5" Background="Transparent" Margin="5">
        <Grid>
            <Grid.Resources>
                <Style TargetType="TextBlock">
                    <Setter Property="VerticalAlignment" Value="Center"/>
                    <Setter Property="HorizontalAlignment" Value="Center"/>
                    <Setter Property="FontSize" Value="16"/>
                    <Setter Property="FontFamily" Value="Microsoft YaHei"/>
                </Style>
                <Style TargetType="Border">
                    <Setter Property="BorderBrush" Value="#0288d1"/>
                    <Setter Property="BorderThickness" Value="1"/>
                </Style>
            </Grid.Resources>
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="0.1*"/>
                <ColumnDefinition Width="0.3*"/>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="0.3*"/>
                <ColumnDefinition Width="0.3*"/>
                <ColumnDefinition Width="0.3*"/>
            </Grid.ColumnDefinitions>
            <Border Grid.Row="0" Grid.Column="0"></Border>
            <Border Grid.Row="1" Grid.Column="0" >
                <TextBlock Text="1" x:Name="Set1" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="2" Grid.Column="0">
                <TextBlock Text="2" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="3"  Grid.Column="0" >
                <TextBlock Text="3" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="4"  Grid.Column="0" >
                <TextBlock Text="4" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="5"  Grid.Column="0" >
                <TextBlock Text="5" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="6"  Grid.Column="0" >
                <TextBlock Text="6" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="7"  Grid.Column="0" >
                <TextBlock Text="7" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="8"  Grid.Column="0" >
                <TextBlock Text="8" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="9"  Grid.Column="0" >
                <TextBlock Text="9" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="10"  Grid.Column="0" >
                <TextBlock Text="10" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="11"  Grid.Column="0" >
                <TextBlock Text="11" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="12"  Grid.Column="0" >
                <TextBlock Text="12" Foreground="White" FontSize="20"/>
            </Border>
            
            <Border Grid.Row="0"  Grid.Column="1" >
                <TextBlock Text="物料编号" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="0"  Grid.Column="2" >
                <TextBlock Text="物料名称" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="0"  Grid.Column="3" >
                <TextBlock Text="转向角度" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="0"  Grid.Column="4" >
                <TextBlock Text="是否占用多货道" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="0"  Grid.Column="5" >
                <TextBlock Text="操作" Foreground="White" FontSize="20"/>
            </Border>

            <Border Grid.Row="1"  Grid.Column="1" >
                <TextBlock Text="9002006859" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="1"  Grid.Column="2" >
                <TextBlock Text="SC-439,YZXGWBC元气森林,C" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="1"  Grid.Column="3" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <TextBlock Text="180" Foreground="White" FontSize="20"/>
                    <TextBlock Text="°" Foreground="White" FontSize="20"/>
                </WrapPanel>

            </Border>
            <Border Grid.Row="1"  Grid.Column="4" >
                <TextBlock Text="是" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="1"  Grid.Column="5" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <Button Content="添加" FontSize="20" Width="100" Height="40" Margin="3" Command="{Binding AddPlanCommand}"  CommandParameter="{Binding Text, ElementName=Set1}"/>
                    <Button Content="清除" FontSize="20" Width="100" Height="40" Margin="3"  Command="{Binding ClearPlanCommand}"/>
                </WrapPanel>
            </Border>

            <Border Grid.Row="2"  Grid.Column="1" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="2"  Grid.Column="2" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="2"  Grid.Column="3" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <TextBlock Text="0" Foreground="White" FontSize="20"/>
                    <TextBlock Text="°" Foreground="White" FontSize="20"/>
                </WrapPanel>
            </Border>
            <Border Grid.Row="2"  Grid.Column="4" >
                <TextBlock Text="否" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="2"  Grid.Column="5" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <Button Content="添加" FontSize="20" Width="100" Height="40" Margin="3" Command="{Binding AddPlanCommand}" />
                    <Button Content="清除" FontSize="20" Width="100" Height="40" Margin="3"  Command="{Binding ClearPlanCommand}"/>
                </WrapPanel>
            </Border>

            <Border Grid.Row="3"  Grid.Column="1" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="3"  Grid.Column="2" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="3"  Grid.Column="3" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <TextBlock Text="0" Foreground="White" FontSize="20"/>
                    <TextBlock Text="°" Foreground="White" FontSize="20"/>
                </WrapPanel>
            </Border>
            <Border Grid.Row="3"  Grid.Column="4" >
                <TextBlock Text="否" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="3"  Grid.Column="5" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <Button Content="添加" FontSize="20" Width="100" Height="40" Margin="3" Command="{Binding AddPlanCommand}" />
                    <Button Content="清除" FontSize="20" Width="100" Height="40" Margin="3"  Command="{Binding ClearPlanCommand}"/>
                </WrapPanel>
            </Border>

            <Border Grid.Row="4"  Grid.Column="1" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="4"  Grid.Column="2" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="4"  Grid.Column="3" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <TextBlock Text="0" Foreground="White" FontSize="20"/>
                    <TextBlock Text="°" Foreground="White" FontSize="20"/>
                </WrapPanel>
            </Border>
            <Border Grid.Row="4"  Grid.Column="4" >
                <TextBlock Text="否" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="4"  Grid.Column="5" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <Button Content="添加" FontSize="20" Width="100" Height="40" Margin="3" Command="{Binding AddPlanCommand}" />
                    <Button Content="清除" FontSize="20" Width="100" Height="40" Margin="3"  Command="{Binding ClearPlanCommand}"/>
                </WrapPanel>
            </Border>

            <Border Grid.Row="5"  Grid.Column="1" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="5"  Grid.Column="2" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="5"  Grid.Column="3" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="5"  Grid.Column="3" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <TextBlock Text="0" Foreground="White" FontSize="20"/>
                    <TextBlock Text="°" Foreground="White" FontSize="20"/>
                </WrapPanel>
            </Border>
            <Border Grid.Row="5"  Grid.Column="4" >
                <TextBlock Text="否" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="5"  Grid.Column="5" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <Button Content="添加" FontSize="20" Width="100" Height="40" Margin="3" Command="{Binding AddPlanCommand}" />
                    <Button Content="清除" FontSize="20" Width="100" Height="40" Margin="3"  Command="{Binding ClearPlanCommand}"/>
                </WrapPanel>
            </Border>

            <Border Grid.Row="6"  Grid.Column="1" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="6"  Grid.Column="2" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="6"  Grid.Column="3" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <TextBlock Text="0" Foreground="White" FontSize="20"/>
                    <TextBlock Text="°" Foreground="White" FontSize="20"/>
                </WrapPanel>
            </Border>
            <Border Grid.Row="6"  Grid.Column="4" >
                <TextBlock Text="否" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="6"  Grid.Column="5" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <Button Content="添加" FontSize="20" Width="100" Height="40" Margin="3" Command="{Binding AddPlanCommand}" />
                    <Button Content="清除" FontSize="20" Width="100" Height="40" Margin="3"  Command="{Binding ClearPlanCommand}"/>
                </WrapPanel>
            </Border>

            <Border Grid.Row="7"  Grid.Column="1" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="7"  Grid.Column="2" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="7"  Grid.Column="3" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <TextBlock Text="0" Foreground="White" FontSize="20"/>
                    <TextBlock Text="°" Foreground="White" FontSize="20"/>
                </WrapPanel>
            </Border>
            <Border Grid.Row="7"  Grid.Column="4" >
                <TextBlock Text="否" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="7"  Grid.Column="5" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <Button Content="添加" FontSize="20" Width="100" Height="40" Margin="3" Command="{Binding AddPlanCommand}" />
                    <Button Content="清除" FontSize="20" Width="100" Height="40" Margin="3"  Command="{Binding ClearPlanCommand}"/>
                </WrapPanel>
            </Border>

            <Border Grid.Row="8"  Grid.Column="1" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="8"  Grid.Column="2" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="8"  Grid.Column="3" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <TextBlock Text="0" Foreground="White" FontSize="20"/>
                    <TextBlock Text="°" Foreground="White" FontSize="20"/>
                </WrapPanel>
            </Border>
            <Border Grid.Row="8"  Grid.Column="4" >
                <TextBlock Text="否" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="8"  Grid.Column="5" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <Button Content="添加" FontSize="20" Width="100" Height="40" Margin="3" Command="{Binding AddPlanCommand}" />
                    <Button Content="清除" FontSize="20" Width="100" Height="40" Margin="3"  Command="{Binding ClearPlanCommand}"/>
                </WrapPanel>
            </Border>

            <Border Grid.Row="9"  Grid.Column="1" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="9"  Grid.Column="2" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="9"  Grid.Column="3" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <TextBlock Text="0" Foreground="White" FontSize="20"/>
                    <TextBlock Text="°" Foreground="White" FontSize="20"/>
                </WrapPanel>
            </Border>
            <Border Grid.Row="9"  Grid.Column="4" >
                <TextBlock Text="否" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="9"  Grid.Column="5" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <Button Content="添加" FontSize="20" Width="100" Height="40" Margin="3" Command="{Binding AddPlanCommand}" />
                    <Button Content="清除" FontSize="20" Width="100" Height="40" Margin="3"  Command="{Binding ClearPlanCommand}"/>
                </WrapPanel>
            </Border>

            <Border Grid.Row="10"  Grid.Column="1" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="10"  Grid.Column="2" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="10"  Grid.Column="3" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <TextBlock Text="0" Foreground="White" FontSize="20"/>
                    <TextBlock Text="°" Foreground="White" FontSize="20"/>
                </WrapPanel>
            </Border>
            <Border Grid.Row="10"  Grid.Column="4" >
                <TextBlock Text="否" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="10"  Grid.Column="5" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <Button Content="添加" FontSize="20" Width="100" Height="40" Margin="3" Command="{Binding AddPlanCommand}" />
                    <Button Content="清除" FontSize="20" Width="100" Height="40" Margin="3"  Command="{Binding ClearPlanCommand}"/>
                </WrapPanel>
            </Border>

            <Border Grid.Row="11"  Grid.Column="1" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="11"  Grid.Column="2" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="11"  Grid.Column="3" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <TextBlock Text="0" Foreground="White" FontSize="20"/>
                    <TextBlock Text="°" Foreground="White" FontSize="20"/>
                </WrapPanel>
            </Border>
            <Border Grid.Row="11"  Grid.Column="4" >
                <TextBlock Text="否" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="11"  Grid.Column="5" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <Button Content="添加" FontSize="20" Width="100" Height="40" Margin="3" Command="{Binding AddPlanCommand}" />
                    <Button Content="清除" FontSize="20" Width="100" Height="40" Margin="3"  Command="{Binding ClearPlanCommand}"/>
                </WrapPanel>
            </Border>

            <Border Grid.Row="12"  Grid.Column="1" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="12"  Grid.Column="2" >
                <TextBlock Text="" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="12"  Grid.Column="3" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <TextBlock Text="0" Foreground="White" FontSize="20"/>
                    <TextBlock Text="°" Foreground="White" FontSize="20"/>
                </WrapPanel>
            </Border>
            <Border Grid.Row="12"  Grid.Column="4" >
                <TextBlock Text="否" Foreground="White" FontSize="20"/>
            </Border>
            <Border Grid.Row="12"  Grid.Column="5" >
                <WrapPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <Button Content="添加" FontSize="20" Width="100" Height="40" Margin="3" Command="{Binding AddPlanCommand}" />
                    <Button Content="清除" FontSize="20" Width="100" Height="40" Margin="3"  Command="{Binding ClearPlanCommand}"/>
                </WrapPanel>
            </Border>
        </Grid>
    </Border>
   
</UserControl>