Bug fix: padlo v Active mode na konci cyklu, ver.2.3.230.
This commit is contained in:
parent
82cede65ef
commit
d2493b0331
@ -877,14 +877,17 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
byte[] cfg_0_3 = null;
|
||||
for (int j = 0; j < cfg.MaxCommRetries; j++)
|
||||
{
|
||||
if (0 == ReadRequestPort(wm, MessageID.Configuration, 0, 4, out cfg_0_3, cfg.CommTimeout))
|
||||
if (wm.ConfigStruct == null)
|
||||
{
|
||||
wm.ConfigStruct.Update(0, cfg_0_3);
|
||||
if (wm.ConfigStruct.MeterState == MeterState.Active)
|
||||
if (0 == ReadRequestPort(wm, MessageID.Configuration, 0, 4, out cfg_0_3, cfg.CommTimeout))
|
||||
{
|
||||
error = CommErr.None;
|
||||
resultStr = wm.ConfigStruct.ToString(1);
|
||||
break;
|
||||
wm.ConfigStruct.Update(0, cfg_0_3);
|
||||
if (wm.ConfigStruct.MeterState == MeterState.Active)
|
||||
{
|
||||
error = CommErr.None;
|
||||
resultStr = wm.ConfigStruct.ToString(1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -892,7 +895,10 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
#else
|
||||
if (error == CommErr.None)
|
||||
{
|
||||
resultStr = wm.ConfigStruct.ToString(1);
|
||||
if (wm.ConfigStruct == null)
|
||||
resultStr = "OK (Config not available)";
|
||||
else
|
||||
resultStr = wm.ConfigStruct.ToString(1);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("2.3.229.1")]
|
||||
[assembly: AssemblyFileVersion("2.3.229.1")]
|
||||
[assembly: AssemblyVersion("2.3.230.1")]
|
||||
[assembly: AssemblyFileVersion("2.3.230.1")]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user