EgtExecutor :
- aggiunte ExeResetCurrMachining, ExeGetCurrMachining - corretto ExeVerifyMachining (non deve essere necessario che il preview della lavorazione sia visibile).
This commit is contained in:
+21
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user