This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<local:MainViewModel />
|
||||
</Window.DataContext>
|
||||
|
||||
|
||||
|
||||
<Window.Resources>
|
||||
|
||||
<Style x:Key="LabelStyle" TargetType="TextBlock">
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
|
||||
</Window.Resources>
|
||||
|
||||
|
||||
<!-- 背景层 -->
|
||||
<Grid>
|
||||
<!-- 背景图片 -->
|
||||
@@ -69,7 +69,7 @@
|
||||
<TextBlock Text="定量供应检验系统"
|
||||
FontSize="26" FontWeight="Bold" Foreground="White"/>
|
||||
<!--<TextBlock Text="定量供应检验系统"
|
||||
FontSize="14" Foreground="#CCFFFFFF" Margin="0,5,0,0"/>-->
|
||||
FontSize="14" Foreground="#CCFFFFFF" Margin="0,5,0,0"/>-->
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Center">
|
||||
<TextBlock Text="样品编号:" FontSize="26" FontWeight="Bold" Foreground="White" Style="{StaticResource LabelStyle}"/>
|
||||
@@ -100,6 +100,7 @@
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<!-- 左侧:配置与监控区 -->
|
||||
@@ -113,16 +114,16 @@
|
||||
<Border Grid.Row="0" Background="White" Margin="0,0,0,20"
|
||||
BorderBrush="#E1E8ED" BorderThickness="1">
|
||||
<StackPanel Margin="30,25">
|
||||
|
||||
|
||||
<TextBlock Text="⚙️ 参数配置" FontSize="20" FontWeight="Bold"
|
||||
Foreground="#2C3E50" Margin="0,0,0,20"/>
|
||||
|
||||
|
||||
|
||||
<!-- 检验时间配置 -->
|
||||
<StackPanel Orientation="Horizontal" Margin="0,0,0,15">
|
||||
<TextBlock Text="检验时间:" Width="100" VerticalAlignment="Center"
|
||||
<TextBlock Text="检验时间:" Width="84" VerticalAlignment="Center"
|
||||
FontSize="14" FontWeight="SemiBold" Foreground="#2C3E50"/>
|
||||
<TextBox x:Name="settingtime" Text="0" Width="100" Height="35"
|
||||
<TextBox x:Name="settingtime" Text="0" Width="66" Height="34"
|
||||
VerticalContentAlignment="Center" TextAlignment="Center"
|
||||
BorderBrush="#DCDFE6" BorderThickness="1" Background="#FAFBFC"
|
||||
FontSize="14" TextChanged="settingtime_TextChanged"/>
|
||||
@@ -131,25 +132,25 @@
|
||||
|
||||
<Button Content="🔧 设置参数" Click="BtnWrite401_Click"
|
||||
Background="#3498DB" Foreground="White" FontSize="13" FontWeight="Bold"
|
||||
Width="120" Height="38" BorderThickness="0" Margin="0,0,25,0"
|
||||
Width="100" Height="38" BorderThickness="0" Margin="-30,0,25,0"
|
||||
Cursor="Hand"/>
|
||||
|
||||
<Button x:Name="btn_flow2" Content="定量供氧L/min" Click="BtnWrite400_Click"
|
||||
Background="#3498DB" Foreground="White" FontSize="13" FontWeight="Bold"
|
||||
Width="120" Height="38" BorderThickness="0" Margin="0,0,25,0"
|
||||
Width="100" Height="38" BorderThickness="0" Margin="-20,0,25,0"
|
||||
Cursor="Hand"/>
|
||||
|
||||
<Button x:Name="btn_flow3" Content="自动/手动补给供氧(L/min)" Click="BtnWrite400_Click1"
|
||||
Background="#3498DB" Foreground="White" FontSize="13" FontWeight="Bold"
|
||||
Width="174" Height="38" BorderThickness="0" Margin="0,0,25,0"
|
||||
Width="168" Height="38" BorderThickness="0" Margin="-20,0,25,0"
|
||||
Cursor="Hand"/>
|
||||
|
||||
|
||||
|
||||
<!--<Border Background="#F8F9FA" Padding="10,6" BorderBrush="#E1E8ED" BorderThickness="1">-->
|
||||
<!--<TextBlock x:Name="label_flow" Text="0-100L/min" VerticalAlignment="Center"
|
||||
<!--<TextBlock x:Name="label_flow" Text="0-100L/min" VerticalAlignment="Center"
|
||||
FontSize="12" FontWeight="Bold" Foreground="#3498DB"/>-->
|
||||
|
||||
|
||||
<!--</Border>-->
|
||||
</StackPanel>
|
||||
|
||||
@@ -228,7 +229,7 @@
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
|
||||
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
|
||||
Reference in New Issue
Block a user