This commit is contained in:
@@ -209,6 +209,11 @@ namespace MembranePoreTester.ViewModels
|
||||
MessageBox.Show("低压模式,加压上限不能超过200!");
|
||||
return;
|
||||
}
|
||||
if (!_suppressPressureValidation && HighLowPressure.Contains("高压") && value > 800)
|
||||
{
|
||||
MessageBox.Show("高压模式,加压上限不能超过500!");
|
||||
return;
|
||||
}
|
||||
|
||||
bool changed = SetProperty(ref _pressureUpperLimit, value);
|
||||
// 仅在非抑制模式下将改变写回PLC,避免把PLC读回的值再次写入造成循环
|
||||
|
||||
Reference in New Issue
Block a user