EgtMachKernel 1.6x10 :

- aggiunta GetAllHeadsNames
- aggiunto nome asse a SimGetAxisInfoPos.
This commit is contained in:
Dario Sassi
2017-01-30 08:06:33 +00:00
parent 0bafc660b5
commit 9d1b2d8d60
8 changed files with 45 additions and 11 deletions
+14
View File
@@ -386,6 +386,20 @@ MachMgr::GetCalcRot1W( void) const
return ( ( pMch != nullptr) ? pMch->GetCurrRot1W() : false) ;
}
//----------------------------------------------------------------------------
bool
MachMgr::GetAllHeadsNames( STRVECTOR& vNames) const
{
// pulisco il vettore
vNames.clear() ;
// recupero la macchina corrente
Machine* pMch = GetCurrMachine() ;
if ( pMch == nullptr)
return false ;
// richiedo elenco teste alla macchina
return pMch->GetAllHeadsNames( vNames) ;
}
//----------------------------------------------------------------------------
int
MachMgr::GetCurrLinAxes( void) const