|
|
|
@ -17,7 +17,7 @@
|
|
|
|
|
<Setter Property="Background" Value="#dddddd"/>
|
|
|
|
|
</Style>
|
|
|
|
|
</UserControl.Resources>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Grid Margin="5">
|
|
|
|
|
<Grid.Resources>
|
|
|
|
|
<Style TargetType="TextBlock">
|
|
|
|
@ -71,16 +71,16 @@
|
|
|
|
|
<TextBlock Text="提示信息" Foreground="White" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Row="0" Grid.Column="2">
|
|
|
|
|
<TextBlock Text="312799000093D8U0050"/>
|
|
|
|
|
<TextBlock Text="312799000093D8U0050" Foreground="White"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Row="1" Grid.Column="2">
|
|
|
|
|
<TextBlock Text="SC-279,C,特许"/>
|
|
|
|
|
<TextBlock Text="SC-279,C,特许" Foreground="White"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Row="2" Grid.Column="2">
|
|
|
|
|
<TextBlock Text="76"/>
|
|
|
|
|
<TextBlock Text="76" Foreground="White"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Row="3" Grid.Column="2" Grid.ColumnSpan="3">
|
|
|
|
|
<TextBlock Text="获取信息成功3127991000093D8U0050 返回值 : Y.上传条码失败E,条码重复,上传条码失败E,条码重复上传"/>
|
|
|
|
|
<TextBlock Text="获取信息成功3127991000093D8U0050 返回值 : Y.上传条码失败E,条码重复,上传条码失败E,条码重复上传" Foreground="White"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Row="0" Grid.Column="3" Background="#0288d1">
|
|
|
|
|
<TextBlock Text="扫描时间" Foreground="White" />
|
|
|
|
@ -92,26 +92,26 @@
|
|
|
|
|
<TextBlock Text="订单已上传" Foreground="White" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Row="0" Grid.Column="4">
|
|
|
|
|
<TextBlock Text="2023-08-29 13:10:53"/>
|
|
|
|
|
<TextBlock Text="2023-08-29 13:10:53" Foreground="White"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Row="1" Grid.Column="4">
|
|
|
|
|
<TextBlock Text="000011203687"/>
|
|
|
|
|
<TextBlock Text="000011203687" Foreground="White"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Row="2" Grid.Column="4">
|
|
|
|
|
<TextBlock Text="48"/>
|
|
|
|
|
<TextBlock Text="48" Foreground="White"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Row="0" Grid.Column="5" Background="#0288d1">
|
|
|
|
|
<TextBlock Text="实际产量" Foreground="White" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Row="1" Grid.RowSpan="2" Grid.Column="5">
|
|
|
|
|
<TextBlock Text="255"/>
|
|
|
|
|
<TextBlock Text="255" Foreground="White"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Row="4" Grid.Column="5">
|
|
|
|
|
<Border Grid.Row="3" Grid.Column="4" Grid.ColumnSpan="2" Height="39" Margin="164,0,0,0" VerticalAlignment="Bottom">
|
|
|
|
|
<WrapPanel HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
|
|
<RadioButton Content="A库" Margin="5 0"/>
|
|
|
|
|
<RadioButton Content="B库" Margin="5 0"/>
|
|
|
|
|
<RadioButton Content="A库" Margin="5 0" Foreground="White"/>
|
|
|
|
|
<RadioButton Content="B库" Margin="5 0" Foreground="White" />
|
|
|
|
|
</WrapPanel>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
@ -123,10 +123,10 @@
|
|
|
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
|
|
|
</Style>
|
|
|
|
|
</Grid.Resources>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Border Grid.Column="0" >
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
@ -134,19 +134,19 @@
|
|
|
|
|
<RowDefinition Height="9*"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Border Grid.Row="0" BorderBrush="#0288d1" BorderThickness="0,0,0,1" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
|
<TextBlock Text="当日小时产量统计" FontSize="15" FontWeight="Bold" Foreground="#0288d1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="当日小时产量统计" FontSize="15" FontWeight="Bold" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Row="1" BorderBrush="#0288d1" BorderThickness="0" CornerRadius="5" Background="Transparent" >
|
|
|
|
|
<lvc:CartesianChart Series="{Binding Achievement, UpdateSourceTrigger=PropertyChanged}" >
|
|
|
|
|
<lvc:CartesianChart.AxisX>
|
|
|
|
|
<lvc:Axis Labels="{Binding ProductionHourList}" FontSize="15"/>
|
|
|
|
|
</lvc:CartesianChart.AxisX>
|
|
|
|
|
<lvc:CartesianChart.AxisY>
|
|
|
|
|
<lvc:Axis FontSize="15"/>
|
|
|
|
|
</lvc:CartesianChart.AxisY>
|
|
|
|
|
<lvc:CartesianChart.AxisX>
|
|
|
|
|
<lvc:Axis Labels="{Binding ProductionHourList}" FontSize="15"/>
|
|
|
|
|
</lvc:CartesianChart.AxisX>
|
|
|
|
|
<lvc:CartesianChart.AxisY>
|
|
|
|
|
<lvc:Axis FontSize="15"/>
|
|
|
|
|
</lvc:CartesianChart.AxisY>
|
|
|
|
|
</lvc:CartesianChart>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Column="1" >
|
|
|
|
@ -156,7 +156,7 @@
|
|
|
|
|
<RowDefinition Height="9*"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Border Grid.Row="0" BorderBrush="#0288d1" BorderThickness="0,0,0,1" CornerRadius="0" Background="Transparent" Margin="1,1,5,5" >
|
|
|
|
|
<TextBlock Text="当日型号产量统计" FontSize="15" FontWeight="Bold" Foreground="#0288d1" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
<TextBlock Text="当日型号产量统计" FontSize="15" FontWeight="Bold" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Row="1" BorderBrush="#0288d1" BorderThickness="0" CornerRadius="5" Background="Transparent" >
|
|
|
|
|
<lvc:CartesianChart Series="{Binding ModelStatistics, UpdateSourceTrigger=PropertyChanged}" Margin="5">
|
|
|
|
@ -174,21 +174,28 @@
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Grid.Row="2">
|
|
|
|
|
<DataGrid Grid.Row="0" ItemsSource="{Binding PlanInfoDataGrid}" Background="#00000000"
|
|
|
|
|
ColumnHeaderHeight="35" Height="{Binding Path=ActualHeight, ElementName=ScanPanel}"
|
|
|
|
|
RowHeight="50" AutoGenerateColumns="False" RowHeaderWidth="0"
|
|
|
|
|
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Auto"
|
|
|
|
|
ColumnHeaderHeight="35"
|
|
|
|
|
RowHeight="50" AutoGenerateColumns="False" RowHeaderWidth="0" AlternationCount="2"
|
|
|
|
|
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Auto" BorderThickness="0" CanUserAddRows="False" SelectionMode="Single" IsReadOnly="True"
|
|
|
|
|
Foreground="Gray" >
|
|
|
|
|
Foreground="White" >
|
|
|
|
|
<!-- 表头剧中-->
|
|
|
|
|
<DataGrid.ColumnHeaderStyle>
|
|
|
|
|
<Style TargetType="DataGridColumnHeader">
|
|
|
|
|
<Setter Property="HorizontalContentAlignment" Value="Center">
|
|
|
|
|
</Setter>
|
|
|
|
|
<Setter Property="Background" Value="Transparent" />
|
|
|
|
|
</Style>
|
|
|
|
|
</DataGrid.ColumnHeaderStyle>
|
|
|
|
|
<!--修改选中字体颜色-->
|
|
|
|
|
<DataGrid.Columns>
|
|
|
|
|
|
|
|
|
|
<DataGridTextColumn Binding="{Binding PlanCode}" Header="产品条码" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
|
|
|
<DataGridTextColumn Binding="{Binding MaterialBarCode}" Header="产品型号" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
|
|
|
<DataGridTextColumn Binding="{Binding MaterialCode}" Header="产品编码" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding MaterialName}" Header="订单号" Width="2*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}" />
|
|
|
|
|
<DataGridTextColumn Binding="{Binding EnterSpace}" Header="特征信息" Width="*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
|
|
|
<DataGridTextColumn Binding="{Binding Status,StringFormat=\{0:yyyy-MM-dd HH:mm\}}" Header="扫描时间" Width="*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
</DataGrid>
|
|
|
|
|
</Border>
|
|
|
|
|