You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
6.2 KiB
Plaintext
108 lines
6.2 KiB
Plaintext
1 year ago
|
<Window x:Class="FileDataUpload.SysConfigWindw"
|
||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
|
xmlns:local="clr-namespace:FileDataUpload"
|
||
|
mc:Ignorable="d"
|
||
|
Title="SysConfigWindw" Height="500" Width="450">
|
||
|
<Grid Margin="0,30,0,0">
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="30"/>
|
||
|
<RowDefinition Height="30"/>
|
||
|
<RowDefinition Height="30"/>
|
||
|
<RowDefinition Height="30"/>
|
||
|
<RowDefinition Height="30"/>
|
||
|
<RowDefinition Height="30"/>
|
||
|
<RowDefinition Height="30"/>
|
||
|
<RowDefinition Height="30"/>
|
||
|
<RowDefinition Height="30"/>
|
||
|
<RowDefinition Height="30"/>
|
||
|
<RowDefinition Height="30"/>
|
||
|
<RowDefinition Height="30"/>
|
||
|
<RowDefinition Height="30"/>
|
||
|
<RowDefinition Height="30"/>
|
||
|
<RowDefinition Height="30"/>
|
||
|
<RowDefinition Height="30"/>
|
||
|
|
||
|
</Grid.RowDefinitions>
|
||
|
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition Width="*"/>
|
||
|
<ColumnDefinition Width="*"/>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Right" Margin="0,0,20,0">
|
||
|
<TextBlock Text="产线:" FontSize="16" VerticalAlignment="Center" />
|
||
|
|
||
|
</StackPanel>
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="0" Grid.Column="1" Margin="10,0,0,0">
|
||
|
<TextBox Text="{Binding ProductionLine}" HorizontalAlignment="Left" VerticalAlignment="Center" Width="120" FontSize="16" />
|
||
|
</StackPanel>
|
||
|
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="1" Grid.Column="0" HorizontalAlignment="Right" Margin="0,0,20,0">
|
||
|
<TextBlock Text="设备编码:" FontSize="16" VerticalAlignment="Center"/>
|
||
|
</StackPanel>
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="1" Grid.Column="1" Margin="10,0,0,0">
|
||
|
<TextBox Text="{Binding DeviceCode}" HorizontalAlignment="Left" VerticalAlignment="Center" Width="120" FontSize="16" />
|
||
|
</StackPanel>
|
||
|
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="2" Grid.Column="0" HorizontalAlignment="Right" Margin="0,0,20,0">
|
||
|
<TextBlock Text="生产条码:" FontSize="16" VerticalAlignment="Center"/>
|
||
|
</StackPanel>
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="2" Grid.Column="1" Margin="10,0,0,0">
|
||
|
<TextBox Text="{Binding ProductionCode}" HorizontalAlignment="Left" VerticalAlignment="Center" Width="120" FontSize="16" />
|
||
|
</StackPanel>
|
||
|
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="3" Grid.Column="0" HorizontalAlignment="Right" Margin="0,0,20,0">
|
||
|
<TextBlock Text="物料编号:" FontSize="16" VerticalAlignment="Center"/>
|
||
|
</StackPanel>
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="3" Grid.Column="1" Margin="10,0,0,0">
|
||
|
<TextBox Text="{Binding MaterialCode}" HorizontalAlignment="Left" VerticalAlignment="Center" Width="120" FontSize="16" />
|
||
|
</StackPanel>
|
||
|
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="4" Grid.Column="0" HorizontalAlignment="Right" Margin="0,0,20,0">
|
||
|
<TextBlock Text="当日生产不良数:" FontSize="16" VerticalAlignment="Center"/>
|
||
|
</StackPanel>
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="4" Grid.Column="1" Margin="10,0,0,0">
|
||
|
<TextBox Text="{Binding DefectQuantity}" HorizontalAlignment="Left" VerticalAlignment="Center" Width="120" FontSize="16" />
|
||
|
</StackPanel>
|
||
|
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="5" Grid.Column="0" HorizontalAlignment="Right" Margin="0,0,20,0">
|
||
|
<TextBlock Text="当日生产总数:" FontSize="16" VerticalAlignment="Center"/>
|
||
|
</StackPanel>
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="5" Grid.Column="1" Margin="10,0,0,0">
|
||
|
<TextBox Text="{Binding Totality}" HorizontalAlignment="Left" VerticalAlignment="Center" Width="120" FontSize="16" />
|
||
|
</StackPanel>
|
||
|
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="6" Grid.Column="0" HorizontalAlignment="Right" Margin="0,0,20,0">
|
||
|
<TextBlock Text="测试总结果:" FontSize="16" VerticalAlignment="Center"/>
|
||
|
</StackPanel>
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="6" Grid.Column="1" Margin="10,0,0,0">
|
||
|
<TextBox Text="{Binding TestResult}" HorizontalAlignment="Left" VerticalAlignment="Center" Width="120" FontSize="16" />
|
||
|
</StackPanel>
|
||
|
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="7" Grid.Column="0" HorizontalAlignment="Right" Margin="0,0,20,0">
|
||
|
<TextBlock Text="班次:" FontSize="16" VerticalAlignment="Center"/>
|
||
|
</StackPanel>
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="7" Grid.Column="1" Margin="10,0,0,0">
|
||
|
<TextBox Text="{Binding WorkShift}" HorizontalAlignment="Left" VerticalAlignment="Center" Width="120" FontSize="16" />
|
||
|
</StackPanel>
|
||
|
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="8" Grid.Column="0" HorizontalAlignment="Right" Margin="0,0,20,0">
|
||
|
<TextBlock Text="扫描路径:" FontSize="16" VerticalAlignment="Center"/>
|
||
|
</StackPanel>
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="8" Grid.Column="1" Margin="10,0,0,0">
|
||
|
<TextBox Text="{Binding FilePath}" HorizontalAlignment="Left" VerticalAlignment="Center" Width="120" FontSize="16" />
|
||
|
</StackPanel>
|
||
|
|
||
|
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="12" Grid.Column="1" HorizontalAlignment="Center">
|
||
|
<Button Content="保存" Command="{Binding SaveAppConfigCommand}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#009933" BorderBrush="#009933" Margin="0,0,20,0"/>
|
||
|
</StackPanel>
|
||
|
<!--<StackPanel Orientation="Horizontal" Grid.Row="12" Grid.Column="1" HorizontalAlignment="Center">
|
||
|
<Button Content="取消" Command="{Binding CancelOnClickCommand}" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#FF0033" BorderBrush="#FF0033" Margin="0,0,20,0"/>
|
||
|
</StackPanel>-->
|
||
|
</Grid>
|
||
|
</Window>
|