EgtMachKernel 1.6x6 :

- aggiunta MachMgr::GetHeadExitCount.
This commit is contained in:
Dario Sassi
2017-01-11 17:20:08 +00:00
parent bf0aa61f9e
commit bd8a08bce9
8 changed files with 39 additions and 10 deletions
+9
View File
@@ -213,6 +213,15 @@ MachMgr::GetHeadId( const string& sHead) const
return ( ( pMch != nullptr) ? pMch->GetHeadId( sHead) : GDB_ID_NULL) ;
}
//----------------------------------------------------------------------------
int
MachMgr::GetHeadExitCount( const string& sHead) const
{
Machine* pMch = GetCurrMachine() ;
// recupero il numero di uscite della testa
return ( ( pMch != nullptr) ? pMch->GetHeadExitCount( sHead) : 0) ;
}
//----------------------------------------------------------------------------
bool
MachMgr::GetAxisToken( const string& sAxis, string& sToken) const