|
|
|
|
@ -1746,7 +1746,7 @@
|
|
|
|
|
<hc:Pagination x:Name="Pagination2" Grid.Row="2" MaxWidth="1500" MaxPageCount="1" Margin="0,0,0,15" PageUpdated="Pagination2_PageUpdated" IsJumpEnabled="True" HorizontalAlignment="Center" Width="339" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem x:Name="InventoryManager" Header="盘库任务" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" Background="#213269" VerticalContentAlignment="Center" Foreground="White" Width="160" Height="100" Margin="5">
|
|
|
|
|
<TabItem Visibility="Collapsed" x:Name="InventoryManager" Header="盘库任务" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" Background="#213269" VerticalContentAlignment="Center" Foreground="White" Width="160" Height="100" Margin="5">
|
|
|
|
|
<Grid Height="1100" Width="1700">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
@ -1942,100 +1942,6 @@
|
|
|
|
|
<Button Content="一键收料" Grid.Row="5" Grid.ColumnSpan="6" Width="500" Height="100" FontSize="50" Background="#346DFF" Foreground="White" Click="callPlc_Click"/>
|
|
|
|
|
<Button Content="执行CTU入库任务" Visibility="Hidden" Click="btnCtuInConfirmBox_Click" Grid.Row="5" Grid.ColumnSpan="6" Width="500" Height="100" FontSize="50" Background="#346DFF" Foreground="White"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
<!--<Border Background="#213269" BorderBrush="Silver" BorderThickness="2" CornerRadius="10" Width="900" Height="500" Margin="0,5,0,0">
|
|
|
|
|
<StackPanel Margin="0,10,10,10">
|
|
|
|
|
<TextBlock
|
|
|
|
|
Width="152"
|
|
|
|
|
Height="37"
|
|
|
|
|
Text="业务类型 :"
|
|
|
|
|
FontSize="25" Margin="0,20,750,-60"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
/>
|
|
|
|
|
<TextBlock x:Name="cbxType" Margin="0,20,400,0" Width="180" Height="50" Text="入库" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextBlock
|
|
|
|
|
Width="152"
|
|
|
|
|
Height="36"
|
|
|
|
|
Text="料箱 :"
|
|
|
|
|
FontSize="25" Margin="0,30,750,-60"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
/>
|
|
|
|
|
<TextBox x:Name="txtBox" Style="{StaticResource XingHaoBianMaYangShi}" IsEnabled="true"
|
|
|
|
|
Width="180" Height="50" Margin="0,15,400,0" KeyDown="txtBox_KeyDown"/>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Width="152"
|
|
|
|
|
Height="39"
|
|
|
|
|
Text="条码:"
|
|
|
|
|
FontSize="25" Margin="0,20,750,-60"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
/>
|
|
|
|
|
<TextBox x:Name="txtBarCode" Style="{StaticResource XingHaoBianMaYangShi}" IsEnabled="true"
|
|
|
|
|
Width="180" Height="50" Margin="0,20,400,0" TextChanged="txtBarCode_KeyDown"/>
|
|
|
|
|
<Button Content="清除料箱条码" FontSize="25" Margin="400,-180,10,0" HorizontalAlignment="Left" Foreground="White" Height="50" Width="170" Click="clearRFID_Click">
|
|
|
|
|
<Button.Template >
|
|
|
|
|
<ControlTemplate TargetType="{x:Type Button}" >
|
|
|
|
|
<Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="4,4,4,4">
|
|
|
|
|
<Border.Background>#346DFF</Border.Background>
|
|
|
|
|
<ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
|
|
|
|
|
</Border>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Button.Template>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Content="清除条码" FontSize="25" Margin="400,-50,10,0" HorizontalAlignment="Left" Foreground="White" Height="50" Width="170" Click="clearBarCode_Click">
|
|
|
|
|
<Button.Template >
|
|
|
|
|
<ControlTemplate TargetType="{x:Type Button}" >
|
|
|
|
|
<Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="4,4,4,4">
|
|
|
|
|
<Border.Background>#346DFF</Border.Background>
|
|
|
|
|
<ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
|
|
|
|
|
</Border>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Button.Template>
|
|
|
|
|
</Button>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Width="152"
|
|
|
|
|
Height="42"
|
|
|
|
|
Text="已扫描数量:"
|
|
|
|
|
FontSize="25" Margin="0,20,750,-60"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
/>
|
|
|
|
|
<TextBox x:Name="txtScan" Style="{StaticResource XingHaoBianMaYangShi}" IsReadOnly="True"
|
|
|
|
|
Width="180" Height="50" Margin="0,10,400,0" IsEnabled="False" />
|
|
|
|
|
|
|
|
|
|
<Button Content="确认" FontSize="25" Margin="150,30,10,0" HorizontalAlignment="Left" Foreground="White" Height="50" Width="132" Click="btnConfirmBox_Click">
|
|
|
|
|
<Button.Template >
|
|
|
|
|
<ControlTemplate TargetType="{x:Type Button}" >
|
|
|
|
|
<Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="4,4,4,4">
|
|
|
|
|
<Border.Background>#346DFF</Border.Background>
|
|
|
|
|
<ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
|
|
|
|
|
</Border>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Button.Template>
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
<Button Content="背负式小车捡料完成" FontSize="25" Margin="50,50,10,0" HorizontalAlignment="Left" Foreground="White" Height="50" Width="300" Click="btnBearConfirmBox_Click">
|
|
|
|
|
<Button.Template >
|
|
|
|
|
<ControlTemplate TargetType="{x:Type Button}" >
|
|
|
|
|
<Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="4,4,4,4">
|
|
|
|
|
<Border.Background>#346DFF</Border.Background>
|
|
|
|
|
<ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
|
|
|
|
|
</Border>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Button.Template>
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
<Button Content="执行小车入库任务" FontSize="25" Margin="500,-50,10,0" HorizontalAlignment="Left" Foreground="White" Height="50" Width="300" Click="btnCtuInConfirmBox_Click">
|
|
|
|
|
<Button.Template >
|
|
|
|
|
<ControlTemplate TargetType="{x:Type Button}" >
|
|
|
|
|
<Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="4,4,4,4">
|
|
|
|
|
<Border.Background>#346DFF</Border.Background>
|
|
|
|
|
<ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Center" ></ContentPresenter>
|
|
|
|
|
</Border>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Button.Template>
|
|
|
|
|
</Button>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Border>-->
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
@ -2062,6 +1968,9 @@
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Border BorderBrush="White" BorderThickness="2" Grid.ColumnSpan="2" Grid.RowSpan="2" Margin="20">
|
|
|
|
|
<TextBlock x:Name="OutOrder" Background="Transparent" Grid.ColumnSpan="2" Grid.RowSpan="2" VerticalAlignment="Top" HorizontalAlignment="Center"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<TextBlock Text="扫描出库" Foreground="White" FontSize="50" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.ColumnSpan="6"/>
|
|
|
|
|
<Button Content="选择出库" Background="#346DFF" Grid.ColumnSpan="6" Grid.Row="1" Foreground="White" FontSize="50" Height="100" Width="300" Click="SelectOutBtn_Click"/>
|
|
|
|
|
<TextBlock Text="待执行CTU任务数:" Visibility="Hidden" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Right" VerticalAlignment="Center" FontSize="50"/>
|
|
|
|
|
|