Config.Entities.Test : Support for tests using multiple (but not all) lines (Israel PT50, 4 lines).
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user