EgtExecutor 1.6k8 :

- aggiornamenti per lavorazioni
- aggiunta GetTableArea e rinominata GetTableRef.
This commit is contained in:
Dario Sassi
2015-11-23 09:08:11 +00:00
parent d86c9a9797
commit 7d8dd64d76
3 changed files with 39 additions and 15 deletions
+7 -7
View File
@@ -564,22 +564,22 @@ ExeSetTable( const std::string& sTable)
//-----------------------------------------------------------------------------
bool
ExeGetTableRef1( Point3d& ptPos)
ExeGetTableRef( int nInd, Point3d& ptPos)
{
GseContext* pGseCtx = GetCurrGseContext() ;
VERIFY_CTX_MACHMGR( pGseCtx, false)
// recupero il riferimento della tavola corrente della macchinata corrente
return pGseCtx->m_pMachMgr->GetTableRef1( ptPos) ;
return pGseCtx->m_pMachMgr->GetTableRef( nInd, ptPos) ;
}
//-----------------------------------------------------------------------------
bool
ExeGetTableArea1( int& nAreaId)
ExeGetTableArea( int nInd, BBox3d& b3Area)
{
GseContext* pGseCtx = GetCurrGseContext() ;
VERIFY_CTX_MACHMGR( pGseCtx, false)
// recupero l'oggetto che definisce l'area utile della tavola corrente della macchinata corrente
return pGseCtx->m_pMachMgr->GetTableArea1( nAreaId) ;
// recupero l'estensione dell'area utile della tavola corrente della macchinata corrente
return pGseCtx->m_pMachMgr->GetTableArea( nInd, b3Area) ;
}
//-----------------------------------------------------------------------------
@@ -1174,12 +1174,12 @@ ExeSimStart( void)
//-----------------------------------------------------------------------------
bool
ExeSimMove( void)
ExeSimMove( int& nStatus)
{
GseContext* pGseCtx = GetCurrGseContext() ;
VERIFY_CTX_MACHMGR( pGseCtx, false)
// eseguo movimento di simulazione della macchinata corrente
return pGseCtx->m_pMachMgr->SimMove() ;
return pGseCtx->m_pMachMgr->SimMove( nStatus) ;
}
//-----------------------------------------------------------------------------