Config.Entities.Test : Support for tests using multiple (but not all) lines (Israel PT50, 4 lines).

This commit is contained in:
Milan Hanajik
2019-01-14 15:33:36 +02:00
parent f180af692f
commit f5926259a7
26 changed files with 96 additions and 47 deletions
@@ -242,7 +242,10 @@ namespace TBF.BenchControl.TestMethods.SensitivityTest
}
int time = StateMachine.Time;
/// TODO: !!! The following can only be done for compound meters
int diff = RegisterReaders[(test.Part - 1) * 2 + 1].WMPulses - lastWMPulses[(test.Part - 1) * 2 + 1];
flowsForDetection[0] = cBrd.ReferenceFreq * outPath.FlowMeter.NominalFlow / 2000.0f;
pulseFreqsForDetection[0] = (float)diff / (float)(time - lastTime);
lastTime = StateMachine.Time;