|
@@ -3140,17 +3140,15 @@ void DisplaySensorInfo(void)
|
|
|
#else
|
|
|
// if(Config_info_all.Config_fun_id&0x80) //Һλ
|
|
|
{
|
|
|
- float disp_level;
|
|
|
- if((AlarmOfPressureThreshold_Upper>0) && (pT2C_ALL_Sensor_Data_Disp->MoniLiang_Data_Every_Cang[0]<AlarmOfPressureThreshold_Upper))
|
|
|
- {
|
|
|
- disp_level=0.0;
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- disp_level=pT2C_ALL_Sensor_Data_Disp->MoniLiang_Data_Every_Cang[0];
|
|
|
- }
|
|
|
+ float disp_level, air_high, real_high;
|
|
|
+
|
|
|
+ real_high = ExpansionRatio[CangNum_tskUart3-1];
|
|
|
+ air_high = real_high - pT2C_ALL_Sensor_Data_Disp->MoniLiang_Data_Every_Cang[0];
|
|
|
+ if(air_high > real_high) air_high = real_high;
|
|
|
+ disp_level = real_high - air_high;
|
|
|
+
|
|
|
Len003 += sprintf((char *)bufTextSensorInfo + Len003, " %5.1f %5.1f %.1f",
|
|
|
- ExpansionRatio[CangNum_tskUart3-1]-pT2C_ALL_Sensor_Data_Disp->MoniLiang_Data_Every_Cang[0],
|
|
|
+ air_high,
|
|
|
disp_level,
|
|
|
Zero_Of_LiquidMeter[CangNum_tskUart3-1]);
|
|
|
}
|