This commit is contained in:
zhangzhuo 2025-03-17 03:30:37 +08:00
parent 1a64a9325d
commit b2aac838c4

View File

@ -15,130 +15,128 @@
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<materialDesign:Card Grid.Row="0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="16">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<materialDesign:Card VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="16"
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<materialDesign:Card VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="16"
materialDesign:ElevationAssist.Elevation="Dp4">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<materialDesign:ColorZone>
<TextBlock Margin="10" Text="码垛工位1" VerticalAlignment="Center" HorizontalAlignment="Center"
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<materialDesign:ColorZone>
<TextBlock Margin="10" Text="码垛工位1" VerticalAlignment="Center" HorizontalAlignment="Center"
FontSize="22" />
</materialDesign:ColorZone>
<StackPanel Grid.Row="1" Orientation="Horizontal">
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="托盘号:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
</materialDesign:ColorZone>
<StackPanel Grid.Row="1" Orientation="Horizontal">
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="托盘号:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
Text="{Binding ViewModel.Stack1.TrayCode}"
VerticalAlignment="Center" />
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="品类编号:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="品类编号:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
Text="{Binding ViewModel.Stack1.VarietyCode}"
VerticalAlignment="Center" />
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="码垛层数:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="码垛层数:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
Text="{Binding ViewModel.Stack1.Layers}"
VerticalAlignment="Center" />
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="总数:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="总数:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
Text="{Binding ViewModel.Stack1.TotalCount}"
VerticalAlignment="Center" />
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="当前:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="当前:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
Text="{Binding ViewModel.Stack1.CurrentCount}"
VerticalAlignment="Center" />
</StackPanel>
<GroupBox Margin="16" FontSize="20" Grid.Row="2" Header="纱信息">
<ListView
</StackPanel>
<GroupBox Margin="16" FontSize="20" Grid.Row="2" Header="纱信息">
<ListView
ItemsSource="{Binding ViewModel.Stack1.Yarns}">
<ListView.View>
<GridView>
<GridViewColumn
<ListView.View>
<GridView>
<GridViewColumn
DisplayMemberBinding="{Binding }"
Header="序号" />
<GridViewColumn
<GridViewColumn
DisplayMemberBinding="{Binding QrCode}"
Header="二维码" />
<GridViewColumn
<GridViewColumn
DisplayMemberBinding="{Binding Lot}"
Header="Lot" />
<GridViewColumn
<GridViewColumn
DisplayMemberBinding="{Binding StackTime}"
Header="码垛时间" />
</GridView>
</ListView.View>
</ListView>
</GroupBox>
</Grid>
</materialDesign:Card>
</GridView>
</ListView.View>
</ListView>
</GroupBox>
</Grid>
</materialDesign:Card>
<materialDesign:Card Grid.Column="1" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
<materialDesign:Card Grid.Column="1" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
Margin="16"
materialDesign:ElevationAssist.Elevation="Dp4">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<materialDesign:ColorZone>
<TextBlock Margin="10" Text="码垛工位2" VerticalAlignment="Center" HorizontalAlignment="Center"
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<materialDesign:ColorZone>
<TextBlock Margin="10" Text="码垛工位2" VerticalAlignment="Center" HorizontalAlignment="Center"
FontSize="22" />
</materialDesign:ColorZone>
<StackPanel Grid.Row="1" Orientation="Horizontal">
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="托盘号:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
</materialDesign:ColorZone>
<StackPanel Grid.Row="1" Orientation="Horizontal">
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="托盘号:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
Text="{Binding ViewModel.Stack2.TrayCode}"
VerticalAlignment="Center" />
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="品类编号:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="品类编号:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
Text="{Binding ViewModel.Stack2.VarietyCode}"
VerticalAlignment="Center" />
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="码垛层数:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="码垛层数:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
Text="{Binding ViewModel.Stack2.Layers}"
VerticalAlignment="Center" />
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="总数:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="总数:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
Text="{Binding ViewModel.Stack2.TotalCount}"
VerticalAlignment="Center" />
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="当前:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
<TextBlock Foreground="White" Margin="10" FontSize="20" Text="当前:" />
<TextBox Foreground="#76ff03" IsEnabled="False" FontSize="20"
Text="{Binding ViewModel.Stack2.CurrentCount}"
VerticalAlignment="Center" />
</StackPanel>
<GroupBox Margin="16" FontSize="20" Grid.Row="2" Header="纱信息">
<ListView
</StackPanel>
<GroupBox Margin="16" FontSize="20" Grid.Row="2" Header="纱信息">
<ListView
ItemsSource="{Binding ViewModel.Stack2.Yarns}">
<ListView.View>
<GridView>
<GridViewColumn
<ListView.View>
<GridView>
<GridViewColumn
DisplayMemberBinding="{Binding }"
Header="序号" />
<GridViewColumn
<GridViewColumn
DisplayMemberBinding="{Binding QrCode}"
Header="二维码" />
<GridViewColumn
<GridViewColumn
DisplayMemberBinding="{Binding Lot}"
Header="Lot" />
<GridViewColumn
<GridViewColumn
DisplayMemberBinding="{Binding StackTime}"
Header="码垛时间" />
</GridView>
</ListView.View>
</ListView>
</GroupBox>
</Grid>
</materialDesign:Card>
</Grid>
</materialDesign:Card>
</GridView>
</ListView.View>
</ListView>
</GroupBox>
</Grid>
</materialDesign:Card>
</Grid>
<StackPanel Grid.Row="1" Orientation="Horizontal">
<GroupBox
Width="500"