Fix siemens library bugs and added speed fields

This commit is contained in:
Lucio Maranta
2018-05-21 15:44:57 +02:00
parent 748650d311
commit 1bd9d47b02
4 changed files with 11 additions and 4 deletions
@@ -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)