diff --git a/Thermo.Active.NC/NcAdapter.cs b/Thermo.Active.NC/NcAdapter.cs
index 2d453007..a6808709 100644
--- a/Thermo.Active.NC/NcAdapter.cs
+++ b/Thermo.Active.NC/NcAdapter.cs
@@ -339,30 +339,23 @@ namespace Thermo.Active.NC
return libraryError;
}
-
+ ///
+ /// dati assi da CONF
+ ///
+ ///
+ ///
public CmsError ReadAxisData(out List axesNames)
{
+ CmsError libraryError = NO_ERROR;
axesNames = new List();
- List plcAxes = new List();
- // Read selected process
- ushort selectedProcess = 0;
- CmsError libraryError = numericalControl.PROC_RSelectedProcess(ref selectedProcess);
- if (libraryError.IsError())
- return libraryError;
- if (selectedProcess != 0)
+ axesNames = AxesConfig.Select(x => new DTOAxisNameModel()
{
- // Read axes names
- libraryError = numericalControl.AXES_RAxesNames(selectedProcess, ref plcAxes);
-
- axesNames = plcAxes.Select(x => new DTOAxisNameModel()
- {
- Id = x.Id,
- Name = x.Name,
- IsSelectable = x.IsSelectable,
- Type = x.Type.ToString()
- }).ToList();
- }
+ Id = x.Id,
+ Name = x.Name,
+ IsSelectable = x.IsSelectable,
+ Type = x.Type.ToString()
+ }).ToList();
return libraryError;
}