RealDensity, AtTemperature, Buoyancy are stored in Results DB in Batch table.

This commit is contained in:
Milan Hanajik
2021-01-28 13:33:38 +01:00
parent dd8feaa963
commit 229c87f920
9 changed files with 47 additions and 73 deletions
@@ -32,10 +32,7 @@ namespace TBF.BenchControl.DataContainers.Buoyancy
/// This is to use data in formulas
Config.Data.Buoyancy = Buoyancy;
/// This is to have data in reports
Results.WMeterRsltItemSpec.Buoyancy = Buoyancy;
log.Debug(this.ToString());
log.Warn(this.ToString());
}
public IList<Config.CalendarEvent.ICalendarEvent> GetCalendarEvents()
@@ -34,11 +34,7 @@ namespace TBF.BenchControl.DataContainers.Density
Config.Data.RealDensity = RealDensity;
Config.Data.AtTemperature = AtTemperature;
/// This is to have data in reports
Results.WMeterRsltItemSpec.RealDensity = RealDensity;
Results.WMeterRsltItemSpec.AtTemperature = AtTemperature;
log.Debug(this.ToString());
log.Warn(this.ToString());
}
public IList<Config.CalendarEvent.ICalendarEvent> GetCalendarEvents()
+3 -2
View File
@@ -636,8 +636,9 @@ namespace TBF.BenchControl.Sequences
StateMachine.Procedure,
waterMeterData,
waterMeterParts,
Config.Formulas.DensityCorrection(Config.Formulas.RealDensity(),
Config.Formulas.AtTemperature()));
Config.Formulas.RealDensity(),
Config.Formulas.AtTemperature(),
Config.Formulas.Buoyancy());
}
/// <summary>