This commit is contained in:
xyy
2026-04-15 12:27:58 +08:00
parent ebeb7dd26a
commit 81740673f0
2 changed files with 3 additions and 3 deletions

View File

@@ -209,9 +209,9 @@ namespace MembranePoreTester.ViewModels
MessageBox.Show("低压模式,加压上限不能超过200!");
return;
}
if (!_suppressPressureValidation && HighLowPressure.Contains("高压") && value > 800)
if (!_suppressPressureValidation && HighLowPressure.Contains("高压") && value > 1000)
{
MessageBox.Show("高压模式,加压上限不能超过800!");
MessageBox.Show("高压模式,加压上限不能超过1000!");
return;
}

View File

@@ -138,7 +138,7 @@
<ComboBox ItemsSource="{Binding InTakeModeList}" SelectedItem="{Binding SelecteInTakeMode}" Width="80" IsEnabled="False"/>
<Button Content="▶ 启动" Command="{Binding StartCommand}" Width="80" Background="#4CAF50"/>
<Button Content="⏹ 停止" Command="{Binding StopCommand}" Width="80" Background="#F44336"/>
<Button Content="{Binding PressButtonText}" Command="{Binding PressCommand}" Width="80" Background="#FF9800"/>
<Button Content="{Binding PressButtonText}" Command="{Binding PressCommand}" Width="80" Background="#FF9800" Visibility="Hidden"/>
<!-- 状态指示灯 -->
<StackPanel Orientation="Horizontal" Margin="15,0,0,0">