|
|
@@ -171,6 +171,7 @@
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="*" />
|
|
|
<ColumnDefinition Width="*" />
|
|
|
+ <ColumnDefinition Width="*" />
|
|
|
</Grid.ColumnDefinitions>
|
|
|
<!--加载产品-->
|
|
|
<materialDesign:Card Grid.Row="0"
|
|
|
@@ -305,7 +306,7 @@
|
|
|
Text="{Binding management.TotalQuantityToday}" />
|
|
|
<TextBlock Grid.Row="2"
|
|
|
Grid.Column="0"
|
|
|
- Text="UPH:"
|
|
|
+ Text="UPH: "
|
|
|
HorizontalAlignment="Right"
|
|
|
TextAlignment="Right" />
|
|
|
<Border Grid.Row="2"
|
|
|
@@ -318,6 +319,81 @@
|
|
|
Text="{Binding management.CurrentUPH}" />
|
|
|
</Grid>
|
|
|
</materialDesign:Card>
|
|
|
+ <!--生产数量2-->
|
|
|
+ <materialDesign:Card Grid.Row="0"
|
|
|
+ Grid.Column="2"
|
|
|
+ UniformCornerRadius="10"
|
|
|
+ BorderBrush="LightGray"
|
|
|
+ BorderThickness="1">
|
|
|
+ <Grid Grid.Row="1"
|
|
|
+ HorizontalAlignment="Center"
|
|
|
+ VerticalAlignment="Center">
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="auto" />
|
|
|
+ <RowDefinition Height="auto" />
|
|
|
+ <RowDefinition Height="auto" />
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="auto" />
|
|
|
+ <ColumnDefinition Width="auto" />
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+ <Grid.Resources>
|
|
|
+ <Style TargetType="TextBlock">
|
|
|
+ <Setter Property="FontSize"
|
|
|
+ Value="14" />
|
|
|
+ <Setter Property="Margin"
|
|
|
+ Value="5" />
|
|
|
+ <Setter Property="MinWidth"
|
|
|
+ Value="50" />
|
|
|
+ <Setter Property="HorizontalAlignment"
|
|
|
+ Value="Center" />
|
|
|
+ <Setter Property="VerticalAlignment"
|
|
|
+ Value="Center" />
|
|
|
+ <Setter Property="TextAlignment"
|
|
|
+ Value="Center" />
|
|
|
+ <Setter Property="TextTrimming"
|
|
|
+ Value="CharacterEllipsis" />
|
|
|
+ </Style>
|
|
|
+ </Grid.Resources>
|
|
|
+ <TextBlock Text="抛料数:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ TextAlignment="Right" />
|
|
|
+ <Border Grid.Row="0"
|
|
|
+ Grid.Column="1"
|
|
|
+ VerticalAlignment="Bottom"
|
|
|
+ BorderBrush="Gray"
|
|
|
+ BorderThickness="1" />
|
|
|
+ <TextBlock Grid.Row="0"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding management.ThrowNumber}" />
|
|
|
+ <TextBlock Grid.Row="1"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="NG数量:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ TextAlignment="Right" />
|
|
|
+ <Border Grid.Row="1"
|
|
|
+ Grid.Column="1"
|
|
|
+ VerticalAlignment="Bottom"
|
|
|
+ BorderBrush="Gray"
|
|
|
+ BorderThickness="1" />
|
|
|
+ <TextBlock Grid.Row="1"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding management.NgNumber}" />
|
|
|
+ <TextBlock Grid.Row="2"
|
|
|
+ Grid.Column="0"
|
|
|
+ Text="良率:"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ TextAlignment="Right" />
|
|
|
+ <Border Grid.Row="2"
|
|
|
+ Grid.Column="1"
|
|
|
+ VerticalAlignment="Bottom"
|
|
|
+ BorderBrush="Gray"
|
|
|
+ BorderThickness="1" />
|
|
|
+ <TextBlock Grid.Row="2"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding management.Yield,StringFormat={}{0:F2}%}" />
|
|
|
+ </Grid>
|
|
|
+ </materialDesign:Card>
|
|
|
</Grid>
|
|
|
|
|
|
<StackPanel Grid.Row="2"
|
|
|
@@ -356,7 +432,7 @@
|
|
|
materialDesign:ButtonAssist.CornerRadius="10"
|
|
|
Style="{StaticResource MaterialDesignRaisedButton}"
|
|
|
Command="{Binding AddScrewCommand}"
|
|
|
- IsEnabled="{Binding IsAllowEdit}" />
|
|
|
+ IsEnabled="{Binding IsAllowEdit}" />
|
|
|
|
|
|
<Button Content="更换披头"
|
|
|
Margin="3"
|
|
|
@@ -373,7 +449,7 @@
|
|
|
</StackPanel>
|
|
|
|
|
|
</Grid>
|
|
|
-
|
|
|
+
|
|
|
<materialDesign:Card Grid.Row="1"
|
|
|
UniformCornerRadius="10"
|
|
|
BorderBrush="LightGray"
|
|
|
@@ -435,7 +511,7 @@
|
|
|
</StackPanel>
|
|
|
</Grid>
|
|
|
</materialDesign:Card>
|
|
|
-
|
|
|
+
|
|
|
<materialDesign:Card Grid.Row="2"
|
|
|
UniformCornerRadius="10"
|
|
|
BorderBrush="LightGray"
|