|
|
|
|
@ -15,7 +15,12 @@
|
|
|
|
|
Height="1080"
|
|
|
|
|
>
|
|
|
|
|
<Window.Resources>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ResourceDictionary>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
|
|
|
|
<!--<hc:ThemeResources/>
|
|
|
|
|
<hc:Theme/>-->
|
|
|
|
|
@ -362,6 +367,51 @@
|
|
|
|
|
<Setter Property="Foreground" Value="White"></Setter>
|
|
|
|
|
<Setter Property="FontSize" Value="14"></Setter>
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<DataTemplate x:Key="LocationTemplate">
|
|
|
|
|
<Button Content="{Binding}" Click="LocationButton_Click" Height="50" Margin="0 0 2 2">
|
|
|
|
|
<Button.Style>
|
|
|
|
|
<Style TargetType="Button">
|
|
|
|
|
<!--有库存绿色#75F76D,无库存但是有空料箱#D78E28,无库存无料箱#4789AE,库位禁用有个小红点-->
|
|
|
|
|
<Setter Property="Background" Value="#75F76D"/>
|
|
|
|
|
<Style.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding Status}" Value="OutOfStock">
|
|
|
|
|
<Setter Property="Background" Value="#4789AE"/>
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding Status}" Value="EmptyInStock">
|
|
|
|
|
<Setter Property="Background" Value="#D78E28"/>
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</Button.Style>
|
|
|
|
|
<Button.ContentTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<Grid>
|
|
|
|
|
<!-- 主内容 -->
|
|
|
|
|
<TextBlock Text="{Binding Code}"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
RenderTransformOrigin="0.5, 0.5">
|
|
|
|
|
<TextBlock.RenderTransform>
|
|
|
|
|
<RotateTransform Angle="90"/>
|
|
|
|
|
</TextBlock.RenderTransform>
|
|
|
|
|
</TextBlock>
|
|
|
|
|
|
|
|
|
|
<!-- 圆点 -->
|
|
|
|
|
<Ellipse Width="7" Height="7"
|
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
|
Margin="0,0,0,0"
|
|
|
|
|
Fill="Red" Visibility="{Binding isFreeze}"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</Button.ContentTemplate>
|
|
|
|
|
</Button>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
|
|
|
|
|
</ResourceDictionary>
|
|
|
|
|
</Window.Resources>
|
|
|
|
|
|
|
|
|
|
@ -390,7 +440,7 @@
|
|
|
|
|
<Grid Width="1880" Height="1080">
|
|
|
|
|
<TabControl x:Name="TabControl" Background="Transparent" BorderThickness="0" HorizontalAlignment="Center" VerticalContentAlignment="Center" SelectionChanged="TabControl_SelectionChanged" TabStripPlacement="Left" Width="1890" Margin="-10,0,0,0">
|
|
|
|
|
<TabItem Visibility="Collapsed" x:Name="FirstItem"></TabItem>
|
|
|
|
|
<TabItem x:Name="TaskManager" Header="任务管理" Style="{StaticResource DefaultItem}" Background="#213269" Foreground="White" FontSize="25" Width="160" Height="100" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="2,0,0,0" >
|
|
|
|
|
<TabItem x:Name="TaskManager" Header="任务管理" Style="{StaticResource DefaultItem}" Background="#213269" Foreground="White" FontSize="25" Width="160" Height="80" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="2,0,0,0" >
|
|
|
|
|
<StackPanel
|
|
|
|
|
x:Name="essentialData"
|
|
|
|
|
Orientation="Vertical"
|
|
|
|
|
@ -958,7 +1008,7 @@
|
|
|
|
|
<Label Content="Label"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem x:Name="LocationManager" Header="库存信息" Background="#213269" Style="{StaticResource DefaultItem}" Foreground="White" FontSize="25" Width="160" Height="100" VerticalAlignment="Top" HorizontalAlignment="Center" >
|
|
|
|
|
<TabItem x:Name="LocationManager" Header="库存信息" Background="#213269" Style="{StaticResource DefaultItem}" Foreground="White" FontSize="25" Width="160" Height="80" VerticalAlignment="Top" HorizontalAlignment="Center" >
|
|
|
|
|
<StackPanel
|
|
|
|
|
x:Name="orderControl"
|
|
|
|
|
Canvas.Left="174"
|
|
|
|
|
@ -1203,6 +1253,67 @@
|
|
|
|
|
</Grid>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
|
|
|
|
<TabItem x:Name="LocationManager11" Header="库位状态" Background="#213269"
|
|
|
|
|
Style="{StaticResource DefaultItem}" Foreground="White"
|
|
|
|
|
FontSize="25" Width="160" Height="80" VerticalAlignment="Top" HorizontalAlignment="Center">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="9*"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid Grid.Row="0">
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
<TextBlock Text="仓库位置:" FontSize="25" VerticalAlignment="Center" Foreground="White" />
|
|
|
|
|
<ComboBox x:Name="QueryPositionCombox" Height="50" Width="150" FontSize="25" SelectionChanged="QueryPositionCombox_SelectionChanged">
|
|
|
|
|
<ComboBoxItem Content="南侧" Tag="1" />
|
|
|
|
|
<ComboBoxItem Content="北侧" Tag="2" />
|
|
|
|
|
</ComboBox>
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="600 0 0 0">
|
|
|
|
|
<Rectangle Width="50" Height="50" Fill="#75F76D" />
|
|
|
|
|
<TextBlock Text=" 有库存" FontSize="30"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="30 0 0 0">
|
|
|
|
|
<Rectangle Width="50" Height="50" Fill="#D78E28" />
|
|
|
|
|
<TextBlock Text=" 空料箱在库里" FontSize="30"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="30 0 0 0">
|
|
|
|
|
<Rectangle Width="50" Height="50" Fill="#4789AE" />
|
|
|
|
|
<TextBlock Text=" 空库位" FontSize="30"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="30 0 0 0">
|
|
|
|
|
<!-- 包含透明正方形和红点的 Canvas -->
|
|
|
|
|
<Canvas Width="50" Height="50" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
|
|
|
<!-- 透明的正方形 -->
|
|
|
|
|
<Rectangle Width="50" Height="50" Fill="Transparent" Stroke="Black" StrokeThickness="1"/>
|
|
|
|
|
<!-- 中间的红点 -->
|
|
|
|
|
<Ellipse Width="10" Height="10" Fill="Red"
|
|
|
|
|
Canvas.Left="20" Canvas.Top="20" />
|
|
|
|
|
</Canvas>
|
|
|
|
|
<TextBlock Text=" 库位锁定" FontSize="30"/>
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid Grid.Row="1">
|
|
|
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
|
|
|
|
|
<ItemsControl x:Name="LocationsControl" ItemTemplate="{StaticResource LocationTemplate}">
|
|
|
|
|
<ItemsControl.ItemsPanel>
|
|
|
|
|
<ItemsPanelTemplate>
|
|
|
|
|
<UniformGrid Columns="36" />
|
|
|
|
|
</ItemsPanelTemplate>
|
|
|
|
|
</ItemsControl.ItemsPanel>
|
|
|
|
|
</ItemsControl>
|
|
|
|
|
</ScrollViewer>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<!--<TabItem Header="指令管理" Foreground="White" FontSize="25" Width="160" Height="100" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="5" >
|
|
|
|
|
<StackPanel
|
|
|
|
|
x:Name="UpperStart"
|
|
|
|
|
@ -1451,7 +1562,7 @@
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</TabItem>-->
|
|
|
|
|
<TabItem x:Name="WasterManager" Header="废料区管理" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" Background="#213269" VerticalContentAlignment="Center" Foreground="White" Width="160" Height="100" Margin="5">
|
|
|
|
|
<TabItem x:Name="WasterManager" Header="废料区管理" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" Background="#213269" VerticalContentAlignment="Center" Foreground="White" Width="160" Height="80" Margin="5">
|
|
|
|
|
<Grid Height="1100" Width="1700">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
@ -1613,7 +1724,7 @@
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem x:Name="CallPersonManager" Header="人工叫料" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" Background="#213269" VerticalContentAlignment="Center" Foreground="White" Width="160" Height="100" Margin="5">
|
|
|
|
|
<TabItem x:Name="CallPersonManager" Header="人工叫料" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" Background="#213269" VerticalContentAlignment="Center" Foreground="White" Width="160" Height="80" Margin="5">
|
|
|
|
|
<Grid Height="1100" Width="1700">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="0.5*"/>
|
|
|
|
|
@ -1816,7 +1927,7 @@
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<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">
|
|
|
|
|
<TabItem Visibility="Visible" x:Name="InventoryManager" Header="盘库任务" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" Background="#213269" VerticalContentAlignment="Center" Foreground="White" Width="160" Height="80" Margin="5">
|
|
|
|
|
<Grid Height="1100" Width="1700">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
@ -1827,6 +1938,7 @@
|
|
|
|
|
<Button Content="搜索" Background="#346DFF" Foreground="White" FontSize="25" Height="50" Width="100" Margin="20,0,0,0" Click="SelectInventoryButton_Click"/>
|
|
|
|
|
<Button Content="添加盘库任务" Background="#346DFF" Foreground="White" FontSize="25" Height="50" Width="200" Margin="20,0,0,0" Click="AddInventoryButton_Click"/>
|
|
|
|
|
<Button Content="库存盘点" Background="#346DFF" Foreground="White" FontSize="25" Height="50" Width="150" Margin="20,0,0,0" Click="InventoryTaskButton_Click"/>
|
|
|
|
|
<Button Content="一键收料" Grid.Row="7" Grid.ColumnSpan="2" FontSize="25" Height="50" Width="150" Background="#346DFF" Foreground="White" Click="callPlc_Click" HorizontalAlignment="Left" Grid.Column="4" Margin="222,0,0,0"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<DataGrid
|
|
|
|
|
Style="{StaticResource DataGridStyle}"
|
|
|
|
|
@ -1869,7 +1981,7 @@
|
|
|
|
|
</DataGridTemplateColumn.CellTemplate>
|
|
|
|
|
</DataGridTemplateColumn>
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180*"
|
|
|
|
|
Width="130*"
|
|
|
|
|
Binding="{Binding LocationAmount}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
@ -1877,7 +1989,7 @@
|
|
|
|
|
Header="库位数"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="180*"
|
|
|
|
|
Width="200*"
|
|
|
|
|
Binding="{Binding InventoryingAmount}"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
@ -1907,7 +2019,7 @@
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
FontSize="20"
|
|
|
|
|
Header="创建时间"
|
|
|
|
|
IsReadOnly="True" />
|
|
|
|
|
IsReadOnly="True" Visibility="Collapsed" />
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Width="220*"
|
|
|
|
|
Binding="{Binding BeginTime,StringFormat='{}{0:yyyy-MM-dd HH:mm:ss}'}"
|
|
|
|
|
@ -1932,10 +2044,14 @@
|
|
|
|
|
<DataGridTemplateColumn.CellTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
|
|
<Button Content="开始盘点" Style="{StaticResource ButtonPrimary}" FontSize="25" Width="125" Height="75" Click="StartInventory" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<Button Content="{Binding StartContent}" Style="{StaticResource ButtonPrimary}" IsEnabled="{Binding StartEnable}" FontSize="15" Width="90" Height="55" Click="StartInventory" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<Button Content="结束盘点" Style="{StaticResource ButtonPrimary}" IsEnabled="{Binding EndEnable}" Margin="5 0 0 0" FontSize="15" Width="90" Height="55" Click="EndInventory" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<Button Content="详情" Style="{StaticResource ButtonPrimary}" Margin="5 0 0 0" FontSize="15" Width="90" Height="55" Click="OpenInventoryDetails" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
|
|
|
|
|
</DataGridTemplateColumn.CellTemplate>
|
|
|
|
|
|
|
|
|
|
</DataGridTemplateColumn>
|
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
<DataGrid.CellStyle>
|
|
|
|
|
@ -1974,7 +2090,7 @@
|
|
|
|
|
<hc:Pagination x:Name="Pagination3" Grid.Row="3" MaxWidth="1500" MaxPageCount="1" Margin="0,0,0,15" PageUpdated="Pagination3_PageUpdated" IsJumpEnabled="True" HorizontalAlignment="Center" Width="339" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem x:Name="ScanInManager" Header="扫描入库" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" Background="#213269" VerticalContentAlignment="Center" Foreground="White" Width="160" Height="100" Margin="5">
|
|
|
|
|
<TabItem x:Name="ScanInManager" Header="扫描入库" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" Background="#213269" VerticalContentAlignment="Center" Foreground="White" Width="160" Height="80" Margin="5">
|
|
|
|
|
<StackPanel x:Name="splMaterialCode" Height="1060" Width="1703" Background="#213269" Canvas.Left="175" Canvas.Top="110" Orientation="Horizontal">
|
|
|
|
|
<StackPanel Orientation="Horizontal" Width="1750">
|
|
|
|
|
<StackPanel Orientation="Vertical" Margin="20,5,0,0">
|
|
|
|
|
@ -1988,14 +2104,14 @@
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="167*"/>
|
|
|
|
|
<RowDefinition Height="167*"/>
|
|
|
|
|
<RowDefinition Height="167*"/>
|
|
|
|
|
<RowDefinition Height="167*"/>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
<RowDefinition Height="166.667"/>
|
|
|
|
|
<RowDefinition Height="167*"/>
|
|
|
|
|
<RowDefinition Height="167*"/>
|
|
|
|
|
<RowDefinition Height="167*"/>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
<RowDefinition/>
|
|
|
|
|
<RowDefinition Height="119.048"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<TextBlock Text="扫描入库" FontSize="50" Grid.ColumnSpan="6" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="扫描料箱号:" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="75"/>
|
|
|
|
|
@ -2014,7 +2130,7 @@
|
|
|
|
|
<hc:TextBox x:Name="materialName" IsReadOnly="True" hc:InfoElement.ShowClearButton="True" FontSize="50" Width="900" HorizontalAlignment="Left" VerticalAlignment="Center" Height="100" Grid.Row="3" Grid.Column="2" Grid.ColumnSpan="3"/>
|
|
|
|
|
<hc:TextBox x:Name="materialSpec" IsReadOnly="True" hc:InfoElement.ShowClearButton="True" FontSize="50" Width="900" HorizontalAlignment="Left" VerticalAlignment="Center" Height="100" Grid.Row="4" Grid.Column="2" Grid.ColumnSpan="3"/>
|
|
|
|
|
<hc:TextBox x:Name="txtInScan" FontSize="50" IsReadOnly="True" Width="900" HorizontalAlignment="Left" VerticalAlignment="Center" Height="100" Grid.Row="5" Grid.Column="2" Grid.ColumnSpan="3" KeyDown="ScanInKeyDown" />
|
|
|
|
|
<Button Content="确认入库" Grid.Row="6" Grid.ColumnSpan="6" Width="300" Height="100" FontSize="50" Background="#346DFF" Foreground="White" Click="InRawBaseLocaltion_Click"/>
|
|
|
|
|
<Button Content="确认入库" Grid.Row="6" Grid.ColumnSpan="2" Width="300" Height="100" FontSize="50" Background="#346DFF" Foreground="White" Click="InRawBaseLocaltion_Click" Grid.Column="2" HorizontalAlignment="Left" Margin="125,0,0,10" VerticalAlignment="Bottom"/>
|
|
|
|
|
<Button Content="取消预调度" x:Name="CancelPreScheduling" Grid.Row="6" Grid.ColumnSpan="2" Width="328" Height="100" FontSize="50" Background="#346DFF" Foreground="White" HorizontalAlignment="Left" Grid.Column="4" Margin="222,0,0,0" Click="CancelPreScheduling_Click"/>
|
|
|
|
|
<Button Content="一键收料" Grid.Row="7" Grid.ColumnSpan="2" Width="328" Height="100" FontSize="50" Background="#346DFF" Foreground="White" Click="callPlc_Click" HorizontalAlignment="Left" Grid.Column="4" Margin="222,0,0,0"/>
|
|
|
|
|
<TextBlock Grid.Row="7" Text="提示信息:" HorizontalAlignment="Center" Grid.Column="1" Grid.ColumnSpan="1" Width="250" Height="100" FontSize="50" Foreground="White" />
|
|
|
|
|
@ -2026,7 +2142,7 @@
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem x:Name="ScanReturnManager" Header="扫描退库" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" Background="#213269" VerticalContentAlignment="Center" Foreground="White" Width="160" Height="100" Margin="5">
|
|
|
|
|
<TabItem x:Name="ScanReturnManager" Header="扫描退库" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" Background="#213269" VerticalContentAlignment="Center" Foreground="White" Width="160" Height="80" Margin="5">
|
|
|
|
|
<StackPanel Height="1060" Width="1703" Background="#213269" Canvas.Left="175" Canvas.Top="110" Orientation="Horizontal">
|
|
|
|
|
<StackPanel Orientation="Horizontal" Width="1750">
|
|
|
|
|
<StackPanel Orientation="Vertical" Margin="20,5,0,0">
|
|
|
|
|
@ -2174,7 +2290,7 @@
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</TabItem>
|
|
|
|
|
|
|
|
|
|
<TabItem x:Name="ScanOutManager" Header="扫描出库" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" Background="#213269" VerticalContentAlignment="Center" Foreground="White" Width="160" Height="100" Margin="5">
|
|
|
|
|
<TabItem x:Name="ScanOutManager" Header="扫描出库" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" Background="#213269" VerticalContentAlignment="Center" Foreground="White" Width="160" Height="80" Margin="5">
|
|
|
|
|
<StackPanel Height="1060" Width="1703" Background="#213269" Canvas.Left="175" Canvas.Top="110" Orientation="Horizontal">
|
|
|
|
|
<StackPanel Orientation="Horizontal" Width="1750">
|
|
|
|
|
<StackPanel Orientation="Vertical" Margin="20,5,0,0">
|
|
|
|
|
@ -2183,7 +2299,7 @@
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="0.5*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
@ -2197,12 +2313,24 @@
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Border BorderBrush="White" BorderThickness="2" Grid.ColumnSpan="1" Grid.Column="5" Grid.RowSpan="2" Margin="20 0 0 0">
|
|
|
|
|
<Border BorderBrush="White" BorderThickness="2" Grid.ColumnSpan="1" Grid.Column="4" Grid.RowSpan="2" Margin="20 0 0 0">
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Vertical" >
|
|
|
|
|
|
|
|
|
|
<TextBlock x:Name="OutOrder" Background="Transparent" Grid.ColumnSpan="2" Grid.RowSpan="2" VerticalAlignment="Top" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock x:Name="thisOutEndStation" Background="Transparent" Grid.ColumnSpan="2" Grid.RowSpan="2" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,20,0,0"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border BorderBrush="White" BorderThickness="0" Grid.ColumnSpan="1" Grid.Column="6" Grid.RowSpan="2" Margin="20 0 0 0">
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Vertical" >
|
|
|
|
|
|
|
|
|
|
<Button x:Name="SelectOutButton" Content="选择出库" Background="#346DFF" Foreground="White" FontSize="50" Margin="20,0,0,0" Height="100" Width="250" Click="SelectOutBtn_Click"/>
|
|
|
|
|
<Button Content="继续出库" Background="#346DFF" Foreground="White" FontSize="50" Margin="20,50,0,0" Height="100" Width="250" Click="ContineOutBtn_Click"/>
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<Border BorderBrush="White" BorderThickness="2" Grid.Column="0" Grid.ColumnSpan="6" Grid.Row="6" Grid.RowSpan="2" Margin="20">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -2224,7 +2352,7 @@
|
|
|
|
|
Width="*"
|
|
|
|
|
/>
|
|
|
|
|
<DataGridTextColumn
|
|
|
|
|
Header="物料描述"
|
|
|
|
|
Header="物料规格"
|
|
|
|
|
Binding="{Binding materialSpec}"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
Width="*"
|
|
|
|
|
@ -2255,18 +2383,10 @@
|
|
|
|
|
Width="*"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<!--<DataGridTextColumn
|
|
|
|
|
Header="箱体携带数量"
|
|
|
|
|
Binding="{Binding thisOutAmount}"
|
|
|
|
|
ElementStyle="{StaticResource dgCell}"
|
|
|
|
|
Width="3*"
|
|
|
|
|
/>-->
|
|
|
|
|
|
|
|
|
|
<DataGridTemplateColumn
|
|
|
|
|
Width="3*"
|
|
|
|
|
Width="3*"
|
|
|
|
|
CanUserSort="False"
|
|
|
|
|
Header="箱体携带数量"
|
|
|
|
|
Header="料箱携带数量"
|
|
|
|
|
IsReadOnly="True" >
|
|
|
|
|
<DataGridTemplateColumn.CellTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
@ -2275,8 +2395,6 @@
|
|
|
|
|
</DataGridTemplateColumn.CellTemplate>
|
|
|
|
|
</DataGridTemplateColumn>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
<DataGrid.CellStyle>
|
|
|
|
|
<Style TargetType="{x:Type DataGridCell}">
|
|
|
|
|
@ -2290,6 +2408,7 @@
|
|
|
|
|
<Style TargetType="{x:Type DataGridRow}">
|
|
|
|
|
<Setter Property="Background" Value="Transparent" />
|
|
|
|
|
<Setter Property="Foreground" Value="White" />
|
|
|
|
|
<Setter Property="Height" Value="Auto" />
|
|
|
|
|
</Style>
|
|
|
|
|
</DataGrid.RowStyle>
|
|
|
|
|
<DataGrid.RowHeaderStyle>
|
|
|
|
|
@ -2342,8 +2461,7 @@
|
|
|
|
|
<Grid>
|
|
|
|
|
<hc:TextBox hc:InfoElement.ShowClearButton="True" IsReadOnly="True" x:Name="outMaterialNameTxt" FontSize="50" LostFocus="txtOutBox_TextChanged" Width="700" HorizontalAlignment="Left" VerticalAlignment="Center" Height="80" Grid.Row="2" Grid.Column="3" Grid.ColumnSpan="3"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
<Button Content="选择出库" Background="#346DFF" Grid.ColumnSpan="6" Grid.Row="1" Foreground="White" FontSize="50" Margin="20,0,0,0" Height="100" Width="250" Click="SelectOutBtn_Click"/>
|
|
|
|
|
<Button Content="继续出库" Background="#346DFF" Grid.ColumnSpan="6" Grid.Row="1" Foreground="White" FontSize="50" Margin="20,0,0,0" Height="100" Width="250" Click="ContineOutBtn_Click"/>
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel HorizontalAlignment="Left" Orientation="Horizontal" Grid.Row="3" Grid.ColumnSpan="6">
|
|
|
|
|
<TextBlock Text="物料规格:" Width="280" Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="50"/>
|
|
|
|
|
@ -2475,7 +2593,7 @@
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem x:Name="RemoveManager" Header="辅料移库" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Background="#213269" Foreground="White" Width="160" Height="100" Margin="5">
|
|
|
|
|
<TabItem x:Name="RemoveManager" Header="辅料移库" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Background="#213269" Foreground="White" Width="160" Height="80" Margin="5">
|
|
|
|
|
<Grid Height="1100" Width="1700">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
@ -2485,6 +2603,7 @@
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
@ -2496,14 +2615,14 @@
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="1" Grid.ColumnSpan="2" HorizontalAlignment="Center" Margin="5">
|
|
|
|
|
<TextBlock Text="原料箱号:" FontSize="40" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
|
|
|
|
<hc:TextBox x:Name="rawSourceBox" TextChanged="rawSourceBox_TextChanged" FontSize="40" Width="500" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
<hc:TextBox x:Name="rawSourceBox" TextChanged="rawSourceBox_TextChanged" FontSize="40" Width="600" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
<Button Click="rawSourceBoxClear_Click" HorizontalAlignment="Right" Height="100" Panel.ZIndex="1" Width="100" Margin="-100,0,0,0" Grid.Column="5" Grid.Row="2">
|
|
|
|
|
<Image Source="..\Resources\cancel.png"/>
|
|
|
|
|
</Button>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="2" Grid.ColumnSpan="2" HorizontalAlignment="Center" Margin="5">
|
|
|
|
|
<TextBlock Text="原条码号:" FontSize="40" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<hc:TextBox x:Name="rawSourceBarCode" FontSize="40" TextChanged="rawSourceBarCode_TextChanged" Width="500" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
<hc:TextBox x:Name="rawSourceBarCode" FontSize="40" TextChanged="rawSourceBarCode_TextChanged" Width="600" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
<Button Click="rawSourceBarCodeClear_Click" HorizontalAlignment="Right" Height="100" Panel.ZIndex="1" Width="100" Margin="-100,0,0,0" Grid.Column="5" Grid.Row="2">
|
|
|
|
|
<Image Source="..\Resources\cancel.png"/>
|
|
|
|
|
</Button>
|
|
|
|
|
@ -2511,7 +2630,7 @@
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="2" HorizontalAlignment="Center" Margin="5">
|
|
|
|
|
<TextBlock Text="移库料箱:" FontSize="40" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<hc:TextBox x:Name="removeSourceBox" FontSize="40" TextChanged="removeSourceBox_TextChanged" Width="500" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
<hc:TextBox x:Name="removeSourceBox" FontSize="40" TextChanged="removeSourceBox_TextChanged" Width="600" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
<Button Click="removeSourceBoxClear_Click" HorizontalAlignment="Right" Height="100" Panel.ZIndex="1" Width="100" Margin="-100,0,0,0" Grid.Column="5" Grid.Row="2">
|
|
|
|
|
<Image Source="..\Resources\cancel.png"/>
|
|
|
|
|
</Button>
|
|
|
|
|
@ -2520,7 +2639,7 @@
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="2" HorizontalAlignment="Center" Margin="5">
|
|
|
|
|
<TextBlock Text="移库条码:" FontSize="40" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<hc:TextBox x:Name="removeSourceBarCode" FontSize="40" TextChanged="removeSourceBarCode_TextChanged" Width="500" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
<hc:TextBox x:Name="removeSourceBarCode" FontSize="40" TextChanged="removeSourceBarCode_TextChanged" Width="600" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
<Button Click="removeSourceBarCodeClear_Click" HorizontalAlignment="Right" Height="100" Panel.ZIndex="1" Width="100" Margin="-100,0,0,0" Grid.Column="5" Grid.Row="2">
|
|
|
|
|
<Image Source="..\Resources\cancel.png"/>
|
|
|
|
|
</Button>
|
|
|
|
|
@ -2528,40 +2647,45 @@
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" Margin="5">
|
|
|
|
|
<TextBlock Text="物料名称:" FontSize="40" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<hc:TextBox x:Name="rawSourceMaterialName" FontSize="40" Width="500" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
<hc:TextBox x:Name="rawSourceMaterialName" FontSize="40" Width="600" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" Margin="5">
|
|
|
|
|
<TextBlock Text="物料规格:" FontSize="40" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<hc:TextBox x:Name="rawSourceMaterialSpec" FontSize="40" Width="500" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
<hc:TextBox x:Name="rawSourceMaterialSpec" FontSize="40" Width="600" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="3" Grid.Column="2" Grid.ColumnSpan="2" HorizontalAlignment="Center" Margin="5">
|
|
|
|
|
<TextBlock Text="物料名称:" FontSize="40" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<hc:TextBox x:Name="removeSourceMaterialName" FontSize="40" Width="500" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
<hc:TextBox x:Name="removeSourceMaterialName" FontSize="40" Width="600" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="4" Grid.Column="2" Grid.ColumnSpan="2" HorizontalAlignment="Center" Margin="5">
|
|
|
|
|
<TextBlock Text="物料规格:" FontSize="40" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<hc:TextBox x:Name="removeSourceMaterialSpec" FontSize="40" Width="500" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
<hc:TextBox x:Name="removeSourceMaterialSpec" FontSize="40" Width="600" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" Margin="5">
|
|
|
|
|
<TextBlock Text="移库数量:" FontSize="40" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<hc:TextBox x:Name="removeScan" FontSize="40" Width="500" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
<hc:TextBox x:Name="removeScan" FontSize="40" Width="600" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<Button Content="确认移库" Grid.Row="5" Grid.Column="2" Grid.ColumnSpan="4" Width="500" Height="150" FontSize="75" Background="#346DFF" Foreground="White" Click="btnRemoveConfirmBox_Click"/>
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="5" Grid.Column="2" Grid.ColumnSpan="2" HorizontalAlignment="Center" Margin="5">
|
|
|
|
|
<TextBlock Text="物料库存:" FontSize="40" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<hc:TextBox x:Name="removeTotalStock" FontSize="40" Width="600" Height="100" Margin="0,0,0,0" hc:InfoElement.ShowClearButton="True"/>
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="4" HorizontalAlignment="Left" Margin="100 0 0 0 ">
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<Button Content="确认移库" Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="4" Width="500" Height="150" FontSize="75" Background="#346DFF" Foreground="White" Click="btnRemoveConfirmBox_Click"/>
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="7" Grid.Column="0" Grid.ColumnSpan="4" HorizontalAlignment="Left" Margin="100 0 0 0 ">
|
|
|
|
|
<TextBlock Text="提示信息:" FontSize="40" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
|
|
|
|
<TextBlock x:Name="RemoveMsg" HorizontalAlignment="Left" FontSize="40" Foreground="White" Width="1200" Height="60" Margin="10,0,0,0" />
|
|
|
|
|
<TextBlock x:Name="RemoveMsg" HorizontalAlignment="Left" FontSize="40" Foreground="White" Width="1200" Height="60" Margin="10,0,0,0" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem x:Name="FirstFloorManager" Header="一楼接驳位" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Background="#213269" Foreground="White" Width="160" Height="100" Margin="5">
|
|
|
|
|
<TabItem x:Name="FirstFloorManager" Header="一楼接驳位" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Background="#213269" Foreground="White" Width="160" Height="80" Margin="5">
|
|
|
|
|
<Grid Height="1100" Width="1700">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
@ -2605,7 +2729,7 @@
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem x:Name="PlcManager" Header="PLC信息" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Background="#213269" Foreground="White" Width="160" Height="100" Margin="5">
|
|
|
|
|
<TabItem x:Name="PlcManager" Header="PLC信息" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Background="#213269" Foreground="White" Width="160" Height="80" Margin="5">
|
|
|
|
|
<StackPanel x:Name="splPlcMessage" Height="1060" Width="1729" Background="#213269" Canvas.Left="175" Canvas.Top="110" Orientation="Horizontal">
|
|
|
|
|
<StackPanel Orientation="Horizontal" Width="1750">
|
|
|
|
|
<StackPanel Orientation="Vertical" Margin="20,5,0,0">
|
|
|
|
|
@ -2808,7 +2932,7 @@
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem x:Name="AgvManager" Header="Agv信息" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Background="#213269" Foreground="White" Width="160" Height="100" Margin="5" >
|
|
|
|
|
<TabItem x:Name="AgvManager" Header="Agv信息" Style="{StaticResource DefaultItem}" FontSize="25" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Background="#213269" Foreground="White" Width="160" Height="80" Margin="5" >
|
|
|
|
|
<DataGrid
|
|
|
|
|
x:Name="AgvDataGrid"
|
|
|
|
|
AlternationCount="2"
|
|
|
|
|
|