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