Generate CompleteTestInfos from Procedure in case Oracle DB is off, ver. 2.25.1427
This commit is contained in:
@@ -180,13 +180,20 @@ namespace TBF.BenchControl.Output.FileWriters.IperlLogger
|
||||
Results.Entities.WaterMeter wm0 = null;
|
||||
foreach (var wm in batch.WaterMeters)
|
||||
{
|
||||
if ((wm != null) && (wm.CompleteTestInfos != null) && (wm.WaterMeterData != null))
|
||||
//if ((wm != null) && wm.PassedFromTests())
|
||||
if (wm != null && wm.WaterMeterData != null)
|
||||
{
|
||||
wm0 = wm;
|
||||
wm0 = wm;
|
||||
if (wm0.CompleteTestInfos == null)
|
||||
{
|
||||
wm0.CompleteTestInfos = (TBF.BenchControl.Sequences.ProcessData.CompleteTestInfos != null)
|
||||
? TBF.BenchControl.Sequences.ProcessData.CompleteTestInfos
|
||||
: Results.Output.SensusTestInfo.CreateFromProcedure(StateMachine.Procedure);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (wm0 == null)
|
||||
{
|
||||
log.Error("Not a single watermeter in the batch");
|
||||
|
||||
Reference in New Issue
Block a user