Fix siemens library bugs and added speed fields
This commit is contained in:
@@ -80,7 +80,7 @@ namespace Step.Controllers.WebApi
|
||||
siemensModel.Id = id;
|
||||
|
||||
ncHandler.Connect();
|
||||
CmsError libraryError = ncHandler.UpdateTool(siemensModel);
|
||||
CmsError libraryError = ncHandler.UpdateTool(ref siemensModel);
|
||||
|
||||
if (libraryError.IsError())
|
||||
if (libraryError.errorCode != CMS_ERROR_CODES.NOT_CONNECTED)
|
||||
|
||||
Reference in New Issue
Block a user