EgtMachKernel 1.8d4 :
- aggiunta funzione GetAxisType.
This commit is contained in:
Binary file not shown.
@@ -293,6 +293,7 @@ class MachMgr : public IMachMgr
|
||||
int GetHeadId( const std::string& sHead) const override ;
|
||||
int GetHeadExitCount( const std::string& sHead) const override ;
|
||||
bool GetAxisToken( const std::string& sAxis, std::string& sToken) const override ;
|
||||
bool GetAxisType( const std::string& sAxis, bool& bLinear) const override ;
|
||||
bool SetAxisPos( const std::string& sAxis, double dVal) override ;
|
||||
bool GetAxisPos( const std::string& sAxis, double& dVal) const override ;
|
||||
bool GetAxisHomePos( const std::string& sAxis, double& dHomeVal) const override ;
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user