This commit is contained in:
@@ -1918,17 +1918,6 @@ namespace 全自动水压检测仪
|
|||||||
//启动测试
|
//启动测试
|
||||||
private void uiButton2_Click(object sender, EventArgs e)
|
private void uiButton2_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (IsAnyLiquidLevelBarInAlert())
|
|
||||||
{
|
|
||||||
_liquidLevelStopIssued = false;
|
|
||||||
StopTestForLiquidLevelAlert("uiButton2_Click");
|
|
||||||
SafeInvoke(() =>
|
|
||||||
{
|
|
||||||
MessageBox.Show("液位显示红色,禁止启动测试,请先处理液位状态。", "液位联锁", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
||||||
});
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
ma?.BtnClickFunctionForNew(Function.ButtonType.切换型, 10080);
|
ma?.BtnClickFunctionForNew(Function.ButtonType.切换型, 10080);
|
||||||
isAddTag = false;
|
isAddTag = false;
|
||||||
_liquidLevelStopIssued = false;
|
_liquidLevelStopIssued = false;
|
||||||
@@ -1943,7 +1932,6 @@ namespace 全自动水压检测仪
|
|||||||
private void uiButton3_Click(object sender, EventArgs e)
|
private void uiButton3_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
ma?.BtnClickFunctionForNew(Function.ButtonType.复归型, 10082);
|
ma?.BtnClickFunctionForNew(Function.ButtonType.复归型, 10082);
|
||||||
_liquidLevelStopIssued = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//切换实验模式(优化版本 - 减少延迟和卡顿)
|
//切换实验模式(优化版本 - 减少延迟和卡顿)
|
||||||
|
|||||||
Reference in New Issue
Block a user