All pressures are stored in bar instead of mbar. Units are not localized, (concatenated in localized texts).
This commit is contained in:
@@ -446,8 +446,8 @@ namespace TBF.Screens
|
||||
/// Always available
|
||||
///
|
||||
airTempLabel.Text = ProcessData.AmbientTemp.ToString();
|
||||
airPressLabel.Text = ProcessData.AmbientPressure.ToString();
|
||||
airHumiLabel.Text = ProcessData.AmbientHumidity.ToString();
|
||||
airPressLabel.Text = Config.Units.ConvertTo(Config.Unit.mbar, ProcessData.AmbientPressure.Val).ToString("F0");
|
||||
airHumiLabel.Text = ProcessData.AmbientHumidity.ToString();
|
||||
|
||||
tInLabel.Text = ProcessData.TempIn.ToString();
|
||||
tOutLabel.Text = ProcessData.TempOut.ToString();
|
||||
@@ -542,8 +542,8 @@ namespace TBF.Screens
|
||||
Results.Entities.TestRslt tRes = args.TestRslt;
|
||||
|
||||
airTempLabel.Text = tRes.AmbientTempAve.ToString("F1");
|
||||
airPressLabel.Text = tRes.AmbientPressAve.ToString("F1");
|
||||
airHumiLabel.Text = tRes.AmbientHumiAve.ToString("F1");
|
||||
airPressLabel.Text = Config.Units.ConvertTo(Config.Unit.mbar, tRes.AmbientPressAve).ToString("F0");
|
||||
airHumiLabel.Text = tRes.AmbientHumiAve.ToString("F1");
|
||||
|
||||
tInLabel.Text = tRes.TempInAvrg.ToString("F2");
|
||||
tOutLabel.Text = tRes.TempOutAvrg.ToString("F2");
|
||||
|
||||
Reference in New Issue
Block a user