Fix error messages
Fix frontend assistedTooling Fix application closure
This commit is contained in:
@@ -514,9 +514,9 @@ public static class ThreadsFunctions
|
||||
try
|
||||
{
|
||||
// Try connection
|
||||
CmsError libraryError = ncHandler.Connect();
|
||||
CmsError libraryError = ncHandler.Connect();
|
||||
if (libraryError.errorCode != 0)
|
||||
ManageLibraryError(libraryError);
|
||||
ManageLibraryError(libraryError);
|
||||
|
||||
while (true)
|
||||
{
|
||||
@@ -988,9 +988,10 @@ public static class ThreadsFunctions
|
||||
{
|
||||
toolTable.Connect();
|
||||
// After reconecction write option
|
||||
cmsError = toolTable.WriteOption();
|
||||
// Check if there are blocked magazines
|
||||
cmsError = toolTable.RestoreTableLock();
|
||||
cmsError = toolTable.SetupNcToolManager();
|
||||
if (cmsError.IsError())
|
||||
ManageLibraryError(cmsError);
|
||||
// cmsError = toolTable.RestoreTableLock();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1043,6 +1044,7 @@ public static class ThreadsFunctions
|
||||
break;
|
||||
|
||||
case CMS_ERROR_CODES.INTERNAL_ERROR:
|
||||
case CMS_ERROR_CODES.OPTION_NOT_CONSISTENT:
|
||||
Manage(ERROR_LEVEL.FATAL, cmsError.localizationKey);
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user