ResultsPrinter.Cevak implemented, bug fixes in ResultsPrinter.Basic. Bug fixes in EntryForms (Purchase order via UpdateTestResultss(..)), version 2.2.222.
This commit is contained in:
@@ -264,14 +264,16 @@ namespace TBF.BenchControl.DataEntry.Combined
|
||||
currentOp = CurrentOp.None;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Updates test results with the information collected in watermeters.
|
||||
/// </summary>
|
||||
/// <param name="waterMeters">Watermetes with information entered in the forms</param>
|
||||
/// <param name="testResults">Test results to be updated with the information</param>
|
||||
public void UpdateTestResults(Results.BatchResults results)
|
||||
{
|
||||
/// Nothing to be done
|
||||
/// <summary>
|
||||
/// Updates test results with the information collected in watermeters.
|
||||
/// </summary>
|
||||
/// <param name="batchResults">Test results to be updated with the information</param>
|
||||
public void UpdateTestResults(Results.BatchResults batchResults)
|
||||
{
|
||||
foreach (var wm in batchResults.WaterMeters)
|
||||
{
|
||||
if (wm != null && !wm.Disabled) wm.PurchaseOrder = PurchaseOrder;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -255,23 +255,16 @@ namespace TBF.BenchControl.DataEntry.Standard
|
||||
currentOp = CurrentOp.None;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Updates test results with the information collected in watermeters.
|
||||
/// </summary>
|
||||
/// <param name="waterMeters">Watermetes with information entered in the forms</param>
|
||||
/// <param name="testResults">Test results to be updated with the information</param>
|
||||
public void UpdateTestResults(Results.BatchResults results)
|
||||
{
|
||||
/// Nothing to be done
|
||||
|
||||
//for (int i = 0; i < results.WMPositionsCount; i++)
|
||||
//{
|
||||
// if (results.Batch.WaterMeters[i] == null || results.Batch.WaterMeters[i].Compound()) continue;
|
||||
|
||||
// results.Batch.WaterMeters[i].SerialNr = SerialNr(i);
|
||||
// results.Batch.WaterMeters[i].Disabled = Disabled(i);
|
||||
// results.Batch.WaterMeters[i].EndState = WMCycleEndState(i);
|
||||
//}
|
||||
/// <summary>
|
||||
/// Updates test results with the information collected in watermeters.
|
||||
/// </summary>
|
||||
/// <param name="batchResults">Test results to be updated with the information</param>
|
||||
public void UpdateTestResults(Results.BatchResults batchResults)
|
||||
{
|
||||
foreach (var wm in batchResults.WaterMeters)
|
||||
{
|
||||
if (wm != null && !wm.Disabled) wm.PurchaseOrder = PurchaseOrder;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -252,23 +252,16 @@ namespace TBF.BenchControl.DataEntry.Standard12
|
||||
currentOp = CurrentOp.None;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Updates test results with the information collected in watermeters.
|
||||
/// </summary>
|
||||
/// <param name="waterMeters">Watermetes with information entered in the forms</param>
|
||||
/// <param name="testResults">Test results to be updated with the information</param>
|
||||
public void UpdateTestResults(Results.BatchResults results)
|
||||
{
|
||||
/// Nothing to be done
|
||||
|
||||
//for (int i = 0; i < results.WMPositionsCount; i++)
|
||||
//{
|
||||
// if (results.Batch.WaterMeters[i] == null || results.Batch.WaterMeters[i].Compound()) continue;
|
||||
|
||||
// results.Batch.WaterMeters[i].SerialNr = SerialNr(i);
|
||||
// results.Batch.WaterMeters[i].Disabled = Disabled(i);
|
||||
// results.Batch.WaterMeters[i].EndState = WMCycleEndState(i);
|
||||
//}
|
||||
/// <summary>
|
||||
/// Updates test results with the information collected in watermeters.
|
||||
/// </summary>
|
||||
/// <param name="batchResults">Test results to be updated with the information</param>
|
||||
public void UpdateTestResults(Results.BatchResults batchResults)
|
||||
{
|
||||
foreach (var wm in batchResults.WaterMeters)
|
||||
{
|
||||
if (wm != null && !wm.Disabled) wm.PurchaseOrder = PurchaseOrder;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -255,20 +255,13 @@ namespace TBF.BenchControl.DataEntry.Standard24
|
||||
/// <summary>
|
||||
/// Updates test results with the information collected in watermeters.
|
||||
/// </summary>
|
||||
/// <param name="waterMeters">Watermetes with information entered in the forms</param>
|
||||
/// <param name="testResults">Test results to be updated with the information</param>
|
||||
public void UpdateTestResults(Results.BatchResults results)
|
||||
/// <param name="batchResults">Test results to be updated with the information</param>
|
||||
public void UpdateTestResults(Results.BatchResults batchResults)
|
||||
{
|
||||
/// Nothing to be done
|
||||
|
||||
//for (int i = 0; i < results.WMPositionsCount; i++)
|
||||
//{
|
||||
// if (results.Batch.WaterMeters[i] == null || results.Batch.WaterMeters[i].Compound()) continue;
|
||||
|
||||
// results.Batch.WaterMeters[i].SerialNr = SerialNr(i);
|
||||
// results.Batch.WaterMeters[i].Disabled = Disabled(i);
|
||||
// results.Batch.WaterMeters[i].EndState = WMCycleEndState(i);
|
||||
//}
|
||||
foreach (var wm in batchResults.WaterMeters)
|
||||
{
|
||||
if (wm != null && !wm.Disabled) wm.PurchaseOrder = PurchaseOrder;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -252,23 +252,16 @@ namespace TBF.BenchControl.DataEntry.Standard48
|
||||
currentOp = CurrentOp.None;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Updates test results with the information collected in watermeters.
|
||||
/// </summary>
|
||||
/// <param name="waterMeters">Watermetes with information entered in the forms</param>
|
||||
/// <param name="testResults">Test results to be updated with the information</param>
|
||||
public void UpdateTestResults(Results.BatchResults results)
|
||||
{
|
||||
/// Nothing to be done
|
||||
|
||||
//for (int i = 0; i < results.WMPositionsCount; i++)
|
||||
//{
|
||||
// if (results.Batch.WaterMeters[i] == null || results.Batch.WaterMeters[i].Compound()) continue;
|
||||
|
||||
// results.Batch.WaterMeters[i].SerialNr = SerialNr(i);
|
||||
// results.Batch.WaterMeters[i].Disabled = Disabled(i);
|
||||
// results.Batch.WaterMeters[i].EndState = WMCycleEndState(i);
|
||||
//}
|
||||
/// <summary>
|
||||
/// Updates test results with the information collected in watermeters.
|
||||
/// </summary>
|
||||
/// <param name="batchResults">Test results to be updated with the information</param>
|
||||
public void UpdateTestResults(Results.BatchResults batchResults)
|
||||
{
|
||||
foreach (var wm in batchResults.WaterMeters)
|
||||
{
|
||||
if (wm != null && !wm.Disabled) wm.PurchaseOrder = PurchaseOrder;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -222,7 +222,7 @@ namespace TBF.BenchControl.DataEntry.iPerl
|
||||
/// <param name="waterMeters">Watermetes with information entered in the forms</param>
|
||||
/// <param name="testResults">Test results to be updated with the information</param>
|
||||
public void UpdateTestResults(Results.BatchResults batchResults)
|
||||
{
|
||||
{
|
||||
foreach (var wm in batchResults.WaterMeters)
|
||||
{
|
||||
if (wm != null && !wm.Disabled)
|
||||
|
||||
Reference in New Issue
Block a user