- Elde.FlowMeterCouple component added

- LtrPerPulse and LtrPerPulseCorrected property/function added to IFlowMeter and flowmeters
This commit is contained in:
Milan Hanajik
2014-09-10 13:43:33 +02:00
parent fcfdfeca41
commit 3559ab0ab3
16 changed files with 657 additions and 19 deletions
@@ -32,20 +32,20 @@ namespace TBF.BenchControl.TestMethods.FlyingStartCollectionMethod
/// Operations running in more then one state
checkUiOp = new Operations.CheckUIOp(true);
IList<Event> e; /// Events from currently running operations
IList<Event> e; /// Events from currently running operations
Event retVal = Event.Done;
/// Notes:
ltrPerRefPulse = outPath.FlowMeter.LtrPerPulse; /// [ltr/pulse], nominal flow in [m3/h]
/// Notes:
/// float timeHr = volumeLtr / (1000.0f * targetFlow);
/// float timeSec = 3600.0f * timeHr;
/// int refPulses = (int)(timeSec * (2000.0f * targetFlow / pOut.FlowMeter.NominalFlow));
int totalPulses = (int)(7200.0f * test.Volume / outPath.FlowMeter.NominalFlow); /// Nominal flow in [m3/h]
int totalPulses = (int)(test.Volume / ltrPerRefPulse);
/// Double total pulses for 'added' flowmeters
if (outPath.FlowMeter.Cfg.Name.Contains("+")) { totalPulses *= 2; }
ltrPerRefPulse = outPath.FlowMeter.NominalFlow / 7200.0f; /// [ltr/pulse]
///
processDataLoggingOp = new TBF.BenchControl.Operations.ProcessDataLoggingOp(processDataLogger, this);
int repetitionNr = 1; /// First test: repetitionNr=1