WIP assisisted tooling

This commit is contained in:
Lucio Maranta
2019-03-12 17:41:49 +01:00
parent 09b6e4e009
commit 0da197ebf6
11 changed files with 134 additions and 23 deletions
+8 -2
View File
@@ -664,6 +664,12 @@ public static class ThreadsFunctions
ManageLibraryError(libraryError);
MessageServices.Current.Publish(NC_MAGAZINE_IS_ACTIVE, null, status);
libraryError = ncHandler.ReadAssistedToolingProcedure(out DTOAssistedToolingEndValueModel data);
if (libraryError.IsError())
ManageLibraryError(libraryError);
MessageServices.Current.Publish(ASSISTED_TOOLING_DATA, null, status);
}
else
RestoreConnection();
@@ -775,7 +781,7 @@ public static class ThreadsFunctions
// Try connection
CmsError libraryError = ncHandler.Connect();
if (libraryError.errorCode != 0)
ManageLibraryError(libraryError);
ManageLibraryError(libraryError);
while (true)
{
@@ -856,7 +862,7 @@ public static class ThreadsFunctions
}
else //MTC
{
string stringVal = "Path_" + m154.Process + "_";
string stringVal = "Path_0" + m154.Process + "_";
string val = "";
// Check if command is MTC