This commit is contained in:
xyy
2026-03-09 10:50:53 +08:00
parent e66ade7736
commit 860b8103d3

View File

@@ -329,7 +329,7 @@ namespace NET_HRF4826
// 从PLC字段获取当前压力值单位Pa
lock (_plcPressureLock)
{
record.LowPressureCalibrated = _plcLowPressurePa.HasValue ? (float)_plcLowPressurePa.Value : 0f;
record.LowPressureCalibrated = _plcLowPressurePa.HasValue ? (float)_plcLowPressurePa.Value : 1f;
record.HighPressureCalibrated = _plcHighPressurePa ?? 0f;
}