EgtMachKernel 1.8d4 :

- aggiunta funzione GetAxisType.
This commit is contained in:
Dario Sassi
2017-04-13 18:24:14 +00:00
parent a90a7ad34a
commit d474f151b0
3 changed files with 10 additions and 0 deletions
+9
View File
@@ -242,6 +242,15 @@ MachMgr::GetAxisToken( const string& sAxis, string& sToken) const
return ( ( pMch != nullptr) ? pMch->GetAxisToken( sAxis, sToken) : false) ;
}
//----------------------------------------------------------------------------
bool
MachMgr::GetAxisType( const string& sAxis, bool& bLinear) const
{
Machine* pMch = GetCurrMachine() ;
// restituisco il tipo dell'asse indicato nella macchina corrente
return ( ( pMch != nullptr) ? pMch->GetAxisType( sAxis, bLinear) : false) ;
}
//----------------------------------------------------------------------------
bool
MachMgr::SetAxisPos( const string& sAxis, double dVal)