Bug fix: WMTypeId and WMTypeRev in Results.Entities.WaterMeterData were not initialized.
This commit is contained in:
@@ -254,7 +254,15 @@ namespace TBF.BenchControl.Sequences
|
||||
Qn = WaterMeters[i].Qn,
|
||||
Compound = compound,
|
||||
};
|
||||
}
|
||||
#if IPERLST
|
||||
BenchControl.WaterMeters.iPerl.WaterMeter iPerl = WaterMeters[i] as BenchControl.WaterMeters.iPerl.WaterMeter;
|
||||
if (iPerl != null)
|
||||
{
|
||||
waterMeterData[i].WMTypeId = iPerl.WMType_ID;
|
||||
waterMeterData[i].WMTypeRev = iPerl.WMType_Rev;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// Prepare empty results
|
||||
BatchRslts = Results.BatchResults.NewFromProcedure(Program.LocalSettings.BatchNr, BenchInfo.TestBenchId,
|
||||
|
||||
Reference in New Issue
Block a user