diff --git a/MTC_Adapter/MTC_Adapter/AdapterGeneric.cs b/MTC_Adapter/MTC_Adapter/AdapterGeneric.cs
index 3447aa0..4d060b1 100644
--- a/MTC_Adapter/MTC_Adapter/AdapterGeneric.cs
+++ b/MTC_Adapter/MTC_Adapter/AdapterGeneric.cs
@@ -471,18 +471,22 @@ namespace MTC_Adapter
///
public class Axis : element
{
+ ///
+ /// Descrizione asse (nome assegnato)
+ ///
+ public Event mAxDescr;
///
/// Processo di appartenenza
///
- public Message mAxMainProc;
+ public Event mAxMainProc;
///
/// Bit se sia master (=1) o slave (=0)
///
- public Message mAxIsMaster;
+ public Event mAxIsMaster;
///
/// ID del master
///
- public Message mAxMastId;
+ public Event mAxMastId;
///
/// Gruppo di appartenenza dell'asse
///
@@ -575,9 +579,10 @@ namespace MTC_Adapter
}
// valori standard
- mAxMainProc = new Message(string.Format("{0}_MainProc", ident));
- mAxIsMaster = new Message(string.Format("{0}_IsMast", ident));
- mAxMastId = new Message(string.Format("{0}_MastId", ident));
+ mAxDescr = new Event(string.Format("{0}_Descr", ident));
+ mAxMainProc = new Event(string.Format("{0}_MainProc", ident));
+ mAxIsMaster = new Event(string.Format("{0}_IsMast", ident));
+ mAxMastId = new Event(string.Format("{0}_MastId", ident));
mAxDir = new Event(string.Format("{0}_Dir", ident));
mAxLoad = new Sample(string.Format("{0}_Load", ident));
mAxPosAct = new Sample(string.Format("{0}_PosAct", ident));
@@ -1310,6 +1315,7 @@ namespace MTC_Adapter
for (int i = 0; i < adpConf.nAxis; i++)
{
vettAxis[i] = new Axis(adpConf.Axis[i]);
+ mAdapter.AddDataItem(vettAxis[i].mAxDescr);
mAdapter.AddDataItem(vettAxis[i].mAxMainProc);
mAdapter.AddDataItem(vettAxis[i].mAxIsMaster);
mAdapter.AddDataItem(vettAxis[i].mAxMastId);