- 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:
Milan Hanajik
2014-09-16 21:05:54 +02:00
parent 54ef1e1216
commit b1f7730b96
24 changed files with 1049 additions and 102 deletions
@@ -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 { };