Generic improvements

This commit is contained in:
Milan Hanajik
2017-06-15 18:58:51 +02:00
parent c31c19ba02
commit 1bf118bdb9
8 changed files with 53 additions and 6 deletions
+12
View File
@@ -144,6 +144,18 @@ namespace Results.Entities
return null;
}
public virtual TestData GetTestData(string testName)
{
foreach (var mtr in MeterTestRslts)
{
if (mtr.TestRslt.TestData.Name == testName)
{
return mtr.TestRslt.TestData;
}
}
return null;
}
/// <summary>