(1) MetrologyDlgDiverterTab added to UI, (2) double TestTimeCorrection(double flow) added to IDiverter and implemented in Elde.Diverter and Dummy.Diverter.

This commit is contained in:
Milan Hanajik
2019-05-15 11:18:20 +02:00
parent 55ed11ae58
commit 3fceee156b
9 changed files with 867 additions and 55 deletions
@@ -46,6 +46,15 @@ namespace TBF.BenchControl.Elde.Diverter
public int ThresholdHi { get { return diverterCfg.ThresholdHi; } }
/// <summary>
/// For a given flow in [m3/h] returns a test time correction in [s]
/// </summary>
public double TestTimeCorrection(double flow)
{
return Config.Formulas.GetCorrection(flow, Corrections);
}
public Diverter()
{
}