This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user