RegisterReaders simulation in FlyingStartMassCollection test method.
This commit is contained in:
parent
fe758348ba
commit
85c0003a45
@ -1085,6 +1085,25 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection
|
||||
///
|
||||
Bridge.OnTestProgress(this, new TestProgressEventArgs(test, repetitionNr, Config.Entities.Progress.FlowSetting));
|
||||
|
||||
foreach (var rr in sensPath.RegisterReaders)
|
||||
{
|
||||
GenericDevices.IHasTestName readerWithTstName = rr as GenericDevices.IHasTestName;
|
||||
if (readerWithTstName != null)
|
||||
{
|
||||
readerWithTstName.TestName = test.Name;
|
||||
readerWithTstName.TestRepeats = test.Repeats;
|
||||
readerWithTstName.RepetitionNr = repetitionNr;
|
||||
}
|
||||
}
|
||||
|
||||
State.Create(string.Format("{0}({1}) : Reading watermeters", test.Method, test.Name))
|
||||
.AddOperation(checkUiOp)
|
||||
.AddOperation(new Operations.ReadMoreRegistersOp(sensPath.RegisterReaders))
|
||||
.EnterState();
|
||||
StateMachine.WaitRunDevsRunOps();
|
||||
StateMachine.WaitRunDevsRunOps();
|
||||
|
||||
|
||||
if (compoundTestParams != null)
|
||||
{
|
||||
if (test.Name.ToLower().Contains("nok")) MakeSimulatedCompound(test, 1, test.Part, 4.7f, 0.9f);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user