This commit is contained in:
@@ -707,21 +707,13 @@ namespace 全自动水压检测仪
|
|||||||
UpdateLiquidLevelStatusBar(_highTempLevelBarSegments, highSensorA, highSensorB, "高温液位");
|
UpdateLiquidLevelStatusBar(_highTempLevelBarSegments, highSensorA, highSensorB, "高温液位");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool normalAlert = TryGetCoilValue(a, out bool normalStopSensorA) &&
|
#region 调用停止
|
||||||
TryGetCoilValue(b, out bool normalStopSensorB) &&
|
if (!a[0] || !cc[0])
|
||||||
IsLiquidLevelAlertState(normalStopSensorA, normalStopSensorB);
|
|
||||||
bool highAlert = TryGetCoilValue(cc, out bool highStopSensorA) &&
|
|
||||||
TryGetCoilValue(d, out bool highStopSensorB) &&
|
|
||||||
IsLiquidLevelAlertState(highStopSensorA, highStopSensorB);
|
|
||||||
|
|
||||||
if (normalAlert || highAlert)
|
|
||||||
{
|
{
|
||||||
StopTestForLiquidLevelAlert("ReadAndUpdateData");
|
ma?.BtnClickFunctionForNew(Function.ButtonType.复归型, 10082);
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
_liquidLevelStopIssued = false;
|
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
//// 更新进度条
|
//// 更新进度条
|
||||||
//if (uiProcessBar1 != null && !uiProcessBar1.IsDisposed)
|
//if (uiProcessBar1 != null && !uiProcessBar1.IsDisposed)
|
||||||
|
|||||||
Reference in New Issue
Block a user