S640TestApp to verify web-services, etc.

This commit is contained in:
Milan Hanajik
2023-06-15 11:29:50 +02:00
parent b4f41a2f1f
commit f4db55cc0b
17 changed files with 912 additions and 8 deletions
@@ -235,16 +235,16 @@ namespace TBF.Rig.TestMethods.S640Communication
throw new Exception("Something strange: activities.Count != tests.Count");
}
if (ProcessData.RegisterReaders.Length != ProcessData.BatchRslts.Batch.WaterMeters.Count)
if (activities.Count > 0)
{
ProcessData.RegisterReaders = StateMachine.GetMetersPath(tests[0]).RegisterReaders;
}
if (ProcessData.RegisterReaders.Length != waterMeters.Count)
{
throw new Exception("Something strange: RegisterReaders.Length != WaterMeters.Count");
}
if (activities.Count > 0)
{
ProcessData.RegisterReaders = StateMachine.GetMetersPath(tests[0]).RegisterReaders;
}
optoHeads = new RegisterReaders.S640Stream.S640Stream[ProcessData.RegisterReaders.Length];
///
for (int wmPos = 0; wmPos < ProcessData.RegisterReaders.Length; wmPos++)