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.
137 lines
10 KiB
XML
137 lines
10 KiB
XML
<UserControl x:Class="XGLFinishPro.Views.weighWindows"
|
|
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:XGLFinishPro.Views"
|
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
|
Loaded="UserControl_Loaded"
|
|
mc:Ignorable="d"
|
|
Height="800" Width="1920">
|
|
<Grid Margin="0" Background="#404040">
|
|
<Border Background="White" Margin="10" BorderThickness="2" CornerRadius="4">
|
|
|
|
<Grid >
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="10*"/>
|
|
<RowDefinition Height="162*"/>
|
|
<RowDefinition Height="9*"/>
|
|
<RowDefinition Height="232*"/>
|
|
<RowDefinition Height="9*"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="0.01*"/>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="0.01*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Label Background="White" BorderThickness="0" Content="称重" FontSize="14" HorizontalContentAlignment="Center" Margin="88,0,1631,285" Grid.Column="1" Panel.ZIndex="1" Grid.RowSpan="2"/>
|
|
|
|
<Label BorderThickness="0" Background="White" Content="称重历史" FontSize="14" HorizontalContentAlignment="Center" Margin="1319,0,420,292" Grid.Column="1" Panel.ZIndex="1" Grid.RowSpan="2"/>
|
|
<Label BorderThickness="0" Background="Red" Foreground="Black" Content="必须先选择检验规则后才能点称重,称重及上传" HorizontalContentAlignment="Center" Margin="450,283,1105,8" FontSize="10" Grid.Column="1" Panel.ZIndex="1" Grid.Row="1" Grid.RowSpan="2"/>
|
|
<Grid Grid.Column="1" Margin="0,10,0,1" Grid.RowSpan="2">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="494*"/>
|
|
<ColumnDefinition Width="13*"/>
|
|
<ColumnDefinition Width="254*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Border BorderThickness="1" BorderBrush="#404040" Grid.Column="0" Panel.ZIndex="0">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="8*"/>
|
|
<RowDefinition Height="23*"/>
|
|
<RowDefinition Height="25*"/>
|
|
<RowDefinition Height="25*"/>
|
|
<RowDefinition Height="25*"/>
|
|
<RowDefinition Height="35*"/>
|
|
</Grid.RowDefinitions>
|
|
<Label Content="1号称重设备" FontSize="14" Grid.Row="1" Margin="15,10,1078,53" Grid.RowSpan="2"></Label>
|
|
<Border BorderThickness="1" CornerRadius="4" BorderBrush="#404040" Width="70" Grid.Row="1" HorizontalAlignment="Left" Margin="132,14,0,6">
|
|
<TextBlock Text="已连接" Name="lianjiezhuangtai" VerticalAlignment="Center" HorizontalAlignment="Center"></TextBlock>
|
|
</Border>
|
|
<Label Content="检验物料:" FontSize="14" Grid.Row="2" Margin="15,0,1082,0" ></Label>
|
|
<Border Grid.Row="2" Margin="132,6,711,6" BorderBrush="#404040" BorderThickness="1" CornerRadius="4">
|
|
<TextBox BorderThickness="0" Margin="1,1,0,1" HorizontalAlignment="Left" Width="360" ></TextBox>
|
|
</Border>
|
|
<Label Content="检验节点:" FontSize="14" Grid.Row="2" Margin="649,10,455,0" ></Label>
|
|
<Border Grid.Row="2" Margin="755,6,84,6" BorderBrush="#404040" BorderThickness="1" CornerRadius="4">
|
|
<TextBox BorderThickness="0" Margin="1,1,1,1" Width="360"></TextBox>
|
|
</Border>
|
|
<Label Content="任务编号:" FontSize="14" Grid.Row="3" Margin="15,6,1082,0" ></Label>
|
|
<Border Grid.Row="3" Margin="132,6,711,6" BorderBrush="#404040" BorderThickness="1" CornerRadius="4">
|
|
<TextBox BorderThickness="0" Margin="1,1,1,1" Width="360" ></TextBox>
|
|
</Border>
|
|
<Label Content="规则属性:" FontSize="14" Grid.Row="3" Margin="649,10,455,0" ></Label>
|
|
<Border Grid.Row="3" Margin="755,6,84,6" BorderBrush="#404040" BorderThickness="1" CornerRadius="4">
|
|
<TextBox BorderThickness="0" Margin="1,1,1,1" Width="360"></TextBox>
|
|
</Border>
|
|
<Label Content="规则名称:" FontSize="14" Grid.Row="4" Margin="15,6,1082,0" ></Label>
|
|
<Border Grid.Row="4" Margin="132,6,711,6" BorderBrush="#404040" BorderThickness="1" CornerRadius="4">
|
|
<TextBox BorderThickness="0" Margin="1,1,1,1" Width="360"></TextBox>
|
|
</Border>
|
|
<Label Content="重 量(g):" FontSize="14" Grid.Row="4" Margin="649,10,455,0" ></Label>
|
|
<Border Grid.Row="4" Margin="755,6,84,6" BorderBrush="#404040" BorderThickness="1" CornerRadius="4">
|
|
<TextBox BorderThickness="0" Margin="1,1,1,1" Width="360"></TextBox>
|
|
</Border>
|
|
<Border BorderThickness="1" CornerRadius="3" BorderBrush="#404040" Grid.Row="5" Height="32" Margin="88,8,304,8" Width="80">
|
|
<Button Content="称重" BorderThickness="0" Background="Transparent" Margin="0,1,0,-1"/>
|
|
</Border>
|
|
<Border BorderThickness="1" CornerRadius="3" BorderBrush="#404040" Grid.Row="5" Height="32" Margin="200,1,1,1" Width="80">
|
|
<Button Content="去皮" BorderThickness="0" Background="Transparent"></Button>
|
|
</Border>
|
|
</Grid>
|
|
</Border>
|
|
<Border BorderThickness="1" BorderBrush="#404040" Grid.Column="2" >
|
|
|
|
</Border>
|
|
</Grid>
|
|
<Grid Grid.Row="3" Grid.Column="1">
|
|
<Border BorderThickness="1" BorderBrush="#404040" CornerRadius="4" Margin="0,10,0,0">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="59*"/>
|
|
<RowDefinition Height="155*"/>
|
|
</Grid.RowDefinitions>
|
|
<Label BorderThickness="0" Background="White" Content="检验任务" FontSize="14" HorizontalContentAlignment="Center" Grid.Column="0" Panel.ZIndex="0" Grid.Row="0" Margin="69,-12,1588,99"/>
|
|
<Label Content="任务编号:" FontSize="14" Grid.Row="0" Margin="10,22,1750,56" ></Label>
|
|
|
|
<Border Grid.Row="0" Margin="112,20,1471,56" BorderBrush="#404040" BorderThickness="1" CornerRadius="4">
|
|
<TextBox BorderThickness="0" Margin="1,1,1,1" ></TextBox>
|
|
</Border>
|
|
<Label Content="检验日期:" FontSize="14" Grid.Row="0" Margin="400,22,1357,56" ></Label>
|
|
<!--<Border Grid.Row="0" Margin="505,20,1066,56" BorderBrush="#404040" BorderThickness="1" CornerRadius="4">-->
|
|
<hc:DatePicker x:Name="datepickerWorkDate" Grid.Row="0" Margin="505,20,1066,56"/>
|
|
<!--</Border>-->
|
|
<Label Content="检验节点:" FontSize="14" Grid.Row="0" Margin="10,68,1750,10" ></Label>
|
|
<Border Grid.Row="0" Margin="112,64,1471,10" BorderBrush="#404040" BorderThickness="1" CornerRadius="4">
|
|
<TextBox BorderThickness="0" Margin="1,1,1,1" ></TextBox>
|
|
</Border>
|
|
<Label Content="检验物料:" FontSize="14" Grid.Row="0" Margin="400,68,1357,0" Height="36" VerticalAlignment="Top" ></Label>
|
|
<Border Grid.Row="0" Margin="505,64,1066,10" BorderBrush="#404040" BorderThickness="1" CornerRadius="4">
|
|
<TextBox BorderThickness="0" Margin="1,1,1,1" ></TextBox>
|
|
</Border>
|
|
<Border BorderThickness="1" CornerRadius="4" BorderBrush="#404040" Grid.Row="0" Height="32" Margin="867,23,910,59" Width="80">
|
|
<Button Content="查询" BorderThickness="0" Background="Transparent"/>
|
|
</Border>
|
|
<Border BorderThickness="1" CornerRadius="4" BorderBrush="#404040" Grid.Row="0" Height="32" Margin="867,66,910,16" Width="80">
|
|
<Button Content="重置" BorderThickness="0" Background="Transparent"/>
|
|
</Border>
|
|
<DataGrid Grid.Row="1" Margin="10">
|
|
<DataGrid.Columns>
|
|
<DataGridTextColumn Binding="{Binding id}" Width="*" Header="序号" />
|
|
<DataGridTextColumn Binding="{Binding MaterialCode}" Width="*" Header="检验节点" />
|
|
<DataGridTextColumn Binding="{Binding CreateTime,StringFormat='{}{0:yyyy-MM-dd HH:mm:ss}'}" Width="*" Header="检验日期" />
|
|
<DataGridTextColumn Binding="{Binding MaterialType}" Width="*" Header="任务编号" />
|
|
<DataGridTextColumn Binding="{Binding MaterialName}" Width="*" Header="检验物料" />
|
|
<DataGridTextColumn Binding="{Binding MaterialType}" Width="*" Header="物料描述" />
|
|
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
</Grid>
|
|
</Border>
|
|
|
|
</Grid>
|
|
</UserControl>
|