添加项目文件。
This commit is contained in:
176
建材不燃性试验炉/CofficientSetting.xaml
Normal file
176
建材不燃性试验炉/CofficientSetting.xaml
Normal file
@@ -0,0 +1,176 @@
|
||||
<Window x:Class="建材不燃性试验炉.CofficientSetting"
|
||||
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:建材不燃性试验炉"
|
||||
mc:Ignorable="d"
|
||||
Title="系数设置界面" Height="800" Width="1280"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
FontFamily="Microsoft YaHei" FontSize="14" Loaded="Window_Loaded" Closing="Window_Closing" >
|
||||
|
||||
<Grid Margin="25" Background="#F5F5F5">
|
||||
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="9.333"/>
|
||||
<ColumnDefinition Width="0.667"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<!-- 左侧区域 -->
|
||||
<StackPanel Grid.Column="0">
|
||||
<!-- 输出电压 -->
|
||||
<GroupBox Header="输出电压" Margin="0,0,0,20" Padding="15"
|
||||
BorderBrush="#4A90E2" BorderThickness="1"
|
||||
Background="White" FontSize="16" FontWeight="SemiBold">
|
||||
<StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,10,0,10">
|
||||
<TextBlock Text="输出电压系数:" Width="150" VerticalAlignment="Center"
|
||||
FontSize="15" FontWeight="Normal"/>
|
||||
<TextBox Name="txtOutputVoltageCoefficient" Width="120" Height="28" Padding="5,3,5,3"
|
||||
FontSize="15" VerticalContentAlignment="Center"
|
||||
BorderBrush="#CCCCCC" BorderThickness="1" GotFocus="txtOutputVoltageCoefficient_GotFocus"/>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,10,0,10">
|
||||
<TextBlock Text="输出电压模拟量(V):" Width="150" VerticalAlignment="Center"
|
||||
FontSize="15" FontWeight="Normal"/>
|
||||
<TextBlock Name="txtOutputVoltageAnalog" Text="0.0" VerticalAlignment="Center" Foreground="#666"
|
||||
FontSize="15" Width="100" HorizontalAlignment="Left"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
|
||||
<!-- 炉内温度 -->
|
||||
<GroupBox Header="炉内温度" Margin="0,0,0,20" Padding="15"
|
||||
BorderBrush="#4A90E2" BorderThickness="1"
|
||||
Background="White" FontSize="16" FontWeight="SemiBold">
|
||||
<StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,10,0,10">
|
||||
<TextBlock Text="炉内温度系数:" Width="150" VerticalAlignment="Center"
|
||||
FontSize="15" FontWeight="Normal"/>
|
||||
<TextBox Name="txtFurnaceTempCoefficient" Width="120" Height="28" Padding="5,3,5,3"
|
||||
FontSize="15" VerticalContentAlignment="Center"
|
||||
BorderBrush="#CCCCCC" BorderThickness="1" GotFocus="txtFurnaceTempCoefficient_GotFocus"/>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,10,0,10">
|
||||
<TextBlock Text="炉内温度显示(℃):" Width="150" VerticalAlignment="Center"
|
||||
FontSize="15" FontWeight="Normal"/>
|
||||
<TextBlock Name="txtFurnaceTempDisplay" Text="0.0" VerticalAlignment="Center" Foreground="#666"
|
||||
FontSize="15" Width="100" HorizontalAlignment="Left"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
|
||||
<!-- 样品内温度 -->
|
||||
<GroupBox Header="样品内温度" Margin="0,0,0,20" Padding="15"
|
||||
BorderBrush="#4A90E2" BorderThickness="1"
|
||||
Background="White" FontSize="16" FontWeight="SemiBold">
|
||||
<StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,10,0,10">
|
||||
<TextBlock Text="样品内温度系数:" Width="150" VerticalAlignment="Center"
|
||||
FontSize="15" FontWeight="Normal"/>
|
||||
<TextBox Name="txtSampleInnerTempCoefficient" Width="120" Height="28" Padding="5,3,5,3"
|
||||
FontSize="15" VerticalContentAlignment="Center"
|
||||
BorderBrush="#CCCCCC" BorderThickness="1" GotFocus="txtSampleInnerTempCoefficient_GotFocus"/>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,10,0,10">
|
||||
<TextBlock Text="样品内温度显示(℃):" Width="150" VerticalAlignment="Center"
|
||||
FontSize="15" FontWeight="Normal"/>
|
||||
<TextBlock Name="txtSampleInnerTempDisplay" Text="0.0" VerticalAlignment="Center" Foreground="#666"
|
||||
FontSize="15" Width="100" HorizontalAlignment="Left"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
|
||||
<!-- 样品外温度 -->
|
||||
<GroupBox Header="样品外温度" Padding="15"
|
||||
BorderBrush="#4A90E2" BorderThickness="1"
|
||||
Background="White" FontSize="16" FontWeight="SemiBold">
|
||||
<StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,10,0,10">
|
||||
<TextBlock Text="样品外温度系数:" Width="150" VerticalAlignment="Center"
|
||||
FontSize="15" FontWeight="Normal"/>
|
||||
<TextBox Name="txtSampleOuterTempCoefficient" Width="120" Height="28" Padding="5,3,5,3"
|
||||
FontSize="15" VerticalContentAlignment="Center"
|
||||
BorderBrush="#CCCCCC" BorderThickness="1" GotFocus="txtSampleOuterTempCoefficient_GotFocus"/>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,10,0,10">
|
||||
<TextBlock Text="样品外温度显示(℃):" Width="150" VerticalAlignment="Center"
|
||||
FontSize="15" FontWeight="Normal"/>
|
||||
<TextBlock Name="txtSampleOuterTempDisplay" Text="0.0" VerticalAlignment="Center" Foreground="#666"
|
||||
FontSize="15" Width="100" HorizontalAlignment="Left"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
</StackPanel>
|
||||
|
||||
<!-- 右侧区域 -->
|
||||
<StackPanel Grid.Column="3" Margin="10,0,0,0">
|
||||
<!-- 电流系数 -->
|
||||
<GroupBox Header="电流系数" Margin="0,0,0,20" Padding="15"
|
||||
BorderBrush="#4A90E2" BorderThickness="1"
|
||||
Background="White" FontSize="16" FontWeight="SemiBold">
|
||||
<StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,10,0,10">
|
||||
<TextBlock Text="电流系数:" Width="150" VerticalAlignment="Center"
|
||||
FontSize="15" FontWeight="Normal"/>
|
||||
<TextBox Name="txtCurrentCoefficient" Width="120" Height="28" Padding="5,3,5,3"
|
||||
FontSize="15" VerticalContentAlignment="Center"
|
||||
BorderBrush="#CCCCCC" BorderThickness="1" GotFocus="txtCurrentCoefficient_GotFocus"/>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,10,0,10">
|
||||
<TextBlock Text="电流表显示(A):" Width="150" VerticalAlignment="Center"
|
||||
FontSize="15" FontWeight="Normal"/>
|
||||
<TextBlock Name="txtCurrentDisplay" Text="0.0" VerticalAlignment="Center" Foreground="#666"
|
||||
FontSize="15" Width="100" HorizontalAlignment="Left"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
|
||||
<!-- 电压系数 -->
|
||||
<GroupBox Header="电压系数" Padding="15"
|
||||
BorderBrush="#4A90E2" BorderThickness="1"
|
||||
Background="White" FontSize="16" FontWeight="SemiBold">
|
||||
<StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,10,0,10">
|
||||
<TextBlock Text="电压表系数:" Width="150" VerticalAlignment="Center"
|
||||
FontSize="15" FontWeight="Normal"/>
|
||||
<TextBox Name="txtVoltmeterCoefficient" Width="120" Height="28" Padding="5,3,5,3"
|
||||
FontSize="15" VerticalContentAlignment="Center"
|
||||
BorderBrush="#CCCCCC" BorderThickness="1" GotFocus="txtVoltmeterCoefficient_GotFocus"/>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,10,0,10">
|
||||
<TextBlock Text="电压表显示(V):" Width="150" VerticalAlignment="Center"
|
||||
FontSize="15" FontWeight="Normal"/>
|
||||
<TextBlock Name="txtVoltmeterDisplay" Text="0.0" VerticalAlignment="Center" Foreground="#666"
|
||||
FontSize="15" Width="100" HorizontalAlignment="Left"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
|
||||
<Border Margin="0,30,0,0" Padding="15"
|
||||
Background="Transparent">
|
||||
<Button x:Name="btnReturn"
|
||||
Content="返回"
|
||||
Width="120"
|
||||
Height="45"
|
||||
HorizontalAlignment="Right"
|
||||
Background="#E74C3C"
|
||||
Foreground="White"
|
||||
FontSize="16"
|
||||
FontWeight="Bold"
|
||||
BorderThickness="0"
|
||||
Cursor="Hand"
|
||||
Click="btnReturn_Click">
|
||||
<Button.Resources>
|
||||
<Style TargetType="Border">
|
||||
<Setter Property="CornerRadius" Value="8"/>
|
||||
</Style>
|
||||
</Button.Resources>
|
||||
</Button>
|
||||
</Border>
|
||||
</StackPanel>
|
||||
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user