Bug fix : iPerl RFID comm. evaluation in case RegisterReaders are not complete fixed, ver. 2.12.475
This commit is contained in:
+2
-3
@@ -421,7 +421,6 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
waterMeters.Add(iPerl);
|
||||
waterMeterPositions.Add(wmPos);
|
||||
}
|
||||
wmPos++;
|
||||
}
|
||||
|
||||
WaterMetersCount = waterMeters.Count;
|
||||
@@ -508,9 +507,9 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
void Localize()
|
||||
{
|
||||
Text = Strings.Water_Meter_States;
|
||||
for (int i = 0; i < textBoxesCount; i++)
|
||||
for (int i = 0; i < Math.Min(textBoxesCount, waterMeters.Count); i++)
|
||||
{
|
||||
labels[i].Text = string.Format("iPerl{0}", i + 1);
|
||||
labels[i].Text = waterMeters[i].Name;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("2.12.472.1")]
|
||||
[assembly: AssemblyFileVersion("2.12.472.1")]
|
||||
[assembly: AssemblyVersion("2.12.475.1")]
|
||||
[assembly: AssemblyFileVersion("2.12.475.1")]
|
||||
|
||||
Reference in New Issue
Block a user