iPerlCommunicationForm bug fix, ver. 2.26.1542
This commit is contained in:
@@ -864,7 +864,7 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
|||||||
else if (currentActivity.ToLower().Contains(ConditnlUpdateQ2CorrectionsStr.ToLower())) error = WriteQ2Correction(threadID, ihead, wm, currentTest, ref resultStr, Q2CorrType.ConditionalUpdate, currentActivity.Substring(ConditnlUpdateQ2CorrectionsStr.Length).Trim());
|
else if (currentActivity.ToLower().Contains(ConditnlUpdateQ2CorrectionsStr.ToLower())) error = WriteQ2Correction(threadID, ihead, wm, currentTest, ref resultStr, Q2CorrType.ConditionalUpdate, currentActivity.Substring(ConditnlUpdateQ2CorrectionsStr.Length).Trim());
|
||||||
else if (currentActivity.ToLower() == Reset2HzCorrectionStr.ToLower()) error = Reset2HzCorrection(threadID, ihead, wm, ref resultStr);
|
else if (currentActivity.ToLower() == Reset2HzCorrectionStr.ToLower()) error = Reset2HzCorrection(threadID, ihead, wm, ref resultStr);
|
||||||
else if (currentActivity.ToLower() == Write2HzCorrectionStr.ToLower()) error = Write2HzCorrection(threadID, ihead, wm, ref resultStr);
|
else if (currentActivity.ToLower() == Write2HzCorrectionStr.ToLower()) error = Write2HzCorrection(threadID, ihead, wm, ref resultStr);
|
||||||
else if (currentActivity.ToLower() == GetDefaultQ2CorrectionsStr.ToLower()) error = GetQ2PreCorrectionsFormRest(threadID, ihead, wm, ref resultStr);
|
else if (currentActivity.ToLower() == GetDefaultQ2CorrectionsStr.ToLower()) error = GetQ2PreCorrectionsFormRest(threadID, ihead, wm, ref resultStr);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
@@ -892,7 +892,7 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
|||||||
{
|
{
|
||||||
ihead.CommFailed = true;
|
ihead.CommFailed = true;
|
||||||
|
|
||||||
if ((wm.ResultCode & (int)Results.Entities.ResultCode.RfidErrorCodeMask) == 0)
|
if (wm != null && (wm.ResultCode & (int)Results.Entities.ResultCode.RfidErrorCodeMask) == 0)
|
||||||
{
|
{
|
||||||
wm.ResultCode |= (((int)error << 16) | ((int)tests[i].ItemNr << 20));
|
wm.ResultCode |= (((int)error << 16) | ((int)tests[i].ItemNr << 20));
|
||||||
}
|
}
|
||||||
@@ -903,7 +903,7 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
|||||||
{
|
{
|
||||||
ihead.CommFailed = true;
|
ihead.CommFailed = true;
|
||||||
|
|
||||||
if ((wm.ResultCode & (int)Results.Entities.ResultCode.RfidErrorCodeMask) == 0)
|
if (wm != null && (wm.ResultCode & (int)Results.Entities.ResultCode.RfidErrorCodeMask) == 0)
|
||||||
{
|
{
|
||||||
wm.ResultCode |= (((int)error << 16) | ((int)tests[i].ItemNr << 20));
|
wm.ResultCode |= (((int)error << 16) | ((int)tests[i].ItemNr << 20));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
|||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
[assembly: AssemblyVersion("2.26.1528.0")]
|
[assembly: AssemblyVersion("2.26.1542.0")]
|
||||||
[assembly: AssemblyFileVersion("2.26.1528.0")]
|
[assembly: AssemblyFileVersion("2.26.1542.0")]
|
||||||
|
|||||||
Reference in New Issue
Block a user