76 lines
5.1 KiB
XML
76 lines
5.1 KiB
XML
<UserControl x:Class="PetroleumViscosityTest.Controls.TestRecordControl"
|
||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
FontFamily="SimSun" FontSize="11">
|
||
<Border BorderBrush="Black" BorderThickness="1" Padding="8">
|
||
<StackPanel>
|
||
<TextBlock Text="石油产品运动粘度测定原始记录" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" Margin="0,0,0,15"/>
|
||
|
||
<Grid>
|
||
<Grid.ColumnDefinitions>
|
||
<ColumnDefinition Width="Auto"/>
|
||
<ColumnDefinition Width="*"/>
|
||
<ColumnDefinition Width="Auto"/>
|
||
<ColumnDefinition Width="*"/>
|
||
</Grid.ColumnDefinitions>
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="Auto"/>
|
||
<RowDefinition Height="Auto"/>
|
||
<RowDefinition Height="Auto"/>
|
||
<RowDefinition Height="Auto"/>
|
||
<RowDefinition Height="Auto"/>
|
||
<RowDefinition Height="Auto"/>
|
||
</Grid.RowDefinitions>
|
||
|
||
<TextBlock Grid.Row="0" Grid.Column="0" Text="试样编号:" Margin="2"/>
|
||
<TextBox x:Name="txtSampleID" Grid.Row="0" Grid.Column="1" IsReadOnly="True" BorderThickness="0" Background="Transparent"/>
|
||
<TextBlock Grid.Row="0" Grid.Column="2" Text="试样名称:" Margin="20,2,2,2"/>
|
||
<TextBox x:Name="txtSampleName" Grid.Row="0" Grid.Column="3" IsReadOnly="True" BorderThickness="0" Background="Transparent"/>
|
||
|
||
<TextBlock Grid.Row="1" Grid.Column="0" Text="试验温度(℃):" Margin="2"/>
|
||
<TextBox x:Name="txtTestTemp" Grid.Row="1" Grid.Column="1" IsReadOnly="True" BorderThickness="0" Background="Transparent"/>
|
||
<TextBlock Grid.Row="1" Grid.Column="2" Text="恒温时间(min):" Margin="20,2,2,2"/>
|
||
<TextBox x:Name="txtThermostatTime" Grid.Row="1" Grid.Column="3" IsReadOnly="True" BorderThickness="0" Background="Transparent"/>
|
||
|
||
<TextBlock Grid.Row="2" Grid.Column="0" Text="粘度计常数 C:" Margin="2"/>
|
||
<TextBox x:Name="txtConstant" Grid.Row="2" Grid.Column="1" IsReadOnly="True" BorderThickness="0" Background="Transparent"/>
|
||
<TextBlock Grid.Row="2" Grid.Column="2" Text="密度 ρ (g/cm³):" Margin="20,2,2,2"/>
|
||
<TextBox x:Name="txtDensity" Grid.Row="2" Grid.Column="3" IsReadOnly="True" BorderThickness="0" Background="Transparent"/>
|
||
|
||
<TextBlock Grid.Row="3" Grid.Column="0" Text="流动时间记录(s):" Margin="2" VerticalAlignment="Top"/>
|
||
<ListBox x:Name="lstTimes" Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="3" Height="80" IsHitTestVisible="False" BorderThickness="0"/>
|
||
|
||
<TextBlock Grid.Row="4" Grid.Column="0" Text="平均流动时间 τ:" Margin="2"/>
|
||
<TextBox x:Name="txtAvgTime" Grid.Row="4" Grid.Column="1" IsReadOnly="True" BorderThickness="0" Background="Transparent"/>
|
||
<TextBlock Grid.Row="4" Grid.Column="2" Text="运动粘度 ν (mm²/s):" Margin="20,2,2,2"/>
|
||
<TextBox x:Name="txtViscosity" Grid.Row="4" Grid.Column="3" IsReadOnly="True" BorderThickness="0" Background="Transparent" FontWeight="Bold"/>
|
||
|
||
<TextBlock Grid.Row="5" Grid.Column="0" Text="动力粘度 η (mPa·s):" Margin="2"/>
|
||
<TextBox x:Name="txtDynamicViscosity" Grid.Row="5" Grid.Column="1" IsReadOnly="True" BorderThickness="0" Background="Transparent"/>
|
||
<TextBlock Grid.Row="5" Grid.Column="2" Text="有效测量次数:" Margin="20,2,2,2"/>
|
||
<TextBox x:Name="txtValidCount" Grid.Row="5" Grid.Column="3" IsReadOnly="True" BorderThickness="0" Background="Transparent"/>
|
||
</Grid>
|
||
|
||
<Grid Margin="0,10,0,0">
|
||
<Grid.ColumnDefinitions>
|
||
<ColumnDefinition Width="Auto"/>
|
||
<ColumnDefinition Width="*"/>
|
||
<ColumnDefinition Width="Auto"/>
|
||
<ColumnDefinition Width="*"/>
|
||
</Grid.ColumnDefinitions>
|
||
<TextBlock Grid.Column="0" Text="操作者:" Margin="2"/>
|
||
<TextBox x:Name="txtOperator" Grid.Column="1" IsReadOnly="True" BorderThickness="0" Background="Transparent"/>
|
||
<TextBlock Grid.Column="2" Text="试验日期:" Margin="20,2,2,2"/>
|
||
<TextBox x:Name="txtTestDate" Grid.Column="3" IsReadOnly="True" BorderThickness="0" Background="Transparent"/>
|
||
</Grid>
|
||
<Grid Margin="0,5,0,0">
|
||
<Grid.ColumnDefinitions>
|
||
<ColumnDefinition Width="Auto"/>
|
||
<ColumnDefinition Width="*"/>
|
||
</Grid.ColumnDefinitions>
|
||
<TextBlock Grid.Column="0" Text="备注:" Margin="2"/>
|
||
<TextBox x:Name="txtRemark" Grid.Column="1" IsReadOnly="True" BorderThickness="0" Background="Transparent" TextWrapping="Wrap"/>
|
||
</Grid>
|
||
</StackPanel>
|
||
</Border>
|
||
</UserControl> |