EgtExecutor :

- aggiunte ExeResetCurrMachining, ExeGetCurrMachining
- corretto ExeVerifyMachining (non deve essere necessario che il preview della lavorazione sia visibile).
This commit is contained in:
Dario Sassi
2016-02-18 08:06:01 +00:00
parent 851a2afdee
commit e46bed6d8e
2 changed files with 47 additions and 19 deletions
+21 -1
View File
@@ -1331,10 +1331,30 @@ ExeSetCurrMachining( int nId)
{
GseContext* pGseCtx = GetCurrGseContext() ;
VERIFY_CTX_MACHMGR( pGseCtx, false)
// imposto la lavorazione di identificativo Id come corrnte
// imposto la lavorazione di identificativo Id come corrente
return pGseCtx->m_pMachMgr->SetCurrMachining( nId) ;
}
//-----------------------------------------------------------------------------
bool
ExeResetCurrMachining( void)
{
GseContext* pGseCtx = GetCurrGseContext() ;
VERIFY_CTX_MACHMGR( pGseCtx, false)
// reset della lavorazione corrente
return pGseCtx->m_pMachMgr->ResetCurrMachining() ;
}
//-----------------------------------------------------------------------------
int
ExeGetCurrMachining( void)
{
GseContext* pGseCtx = GetCurrGseContext() ;
VERIFY_CTX_MACHMGR( pGseCtx, false)
// restituisco l'identificativo della lavorazione corrente
return pGseCtx->m_pMachMgr->GetCurrMachining() ;
}
//-----------------------------------------------------------------------------
bool
ExeSetMachiningParam( int nType, bool bVal)