- FixedStartMassCollection method ready to be tested
- FlyingStart method (without mass collection) flow corrections fixed - DataEntry/WMStates data entry forms added (used by FixedStartMassCollection method) - minor changes
This commit is contained in:
@@ -170,7 +170,7 @@ namespace TBF.Screens
|
||||
{
|
||||
foreach (var testRslt in testResults)
|
||||
{
|
||||
if (testRslt.TestId.Equals(test.Id) && (testRslt.RepetitionNr == rpt) && !testRslt.DoNotPublish)
|
||||
if ((testRslt.TestId == test.Id) && (testRslt.RepetitionNr == rpt) && !testRslt.DoNotPublish)
|
||||
{
|
||||
rslts.Add(testRslt);
|
||||
added = true;
|
||||
@@ -407,7 +407,8 @@ namespace TBF.Screens
|
||||
try
|
||||
{
|
||||
Entities.TestResult tr = testResults
|
||||
.First<Entities.TestResult>(x => x.Name.Equals(args.TestResult.Name));
|
||||
.First<Entities.TestResult>(x => (x.TestId == args.TestResult.TestId) &&
|
||||
(x.RepetitionNr == args.TestResult.RepetitionNr));
|
||||
testResults.Remove(tr);
|
||||
}
|
||||
catch { };
|
||||
|
||||
Reference in New Issue
Block a user