EgtExecutor 2.1j4 :

- aggiunte funzioni Exe e Lua GetClEntMove, GetClEntFlag, GetClEntindex.
This commit is contained in:
Dario Sassi
2019-10-16 06:35:55 +00:00
parent 3cd59132dd
commit 26a7dfef8b
3 changed files with 97 additions and 2 deletions
+34 -2
View File
@@ -1,7 +1,7 @@
//----------------------------------------------------------------------------
// EgalTech 2015-2015
// EgalTech 2015-2019
//----------------------------------------------------------------------------
// File : EXE_MachMgr.cpp Data : 05.05.15 Versione : 1.6e1
// File : EXE_MachMgr.cpp Data : 15.10.19 Versione : 2.1j4
// Contenuto : Funzioni Machining Manager per EXE.
//
//
@@ -2573,6 +2573,38 @@ ExeUpdateAllMachinings( bool bStopOnFirstErr, string& sErrList)
return bOk ;
}
//-----------------------------------------------------------------------------
// CL Entities Interrogations
//-----------------------------------------------------------------------------
bool
ExeGetClEntMove( int nEntId, int& nMove)
{
IMachMgr* pMachMgr = GetCurrMachMgr() ;
VERIFY_MACHMGR( pMachMgr, false)
// recupero il tipo di movimento
return pMachMgr->GetClEntMove( nEntId, nMove) ;
}
//-----------------------------------------------------------------------------
bool
ExeGetClEntFlag( int nEntId, int& nFlag)
{
IMachMgr* pMachMgr = GetCurrMachMgr() ;
VERIFY_MACHMGR( pMachMgr, false)
// recupero il flag
return pMachMgr->GetClEntFlag( nEntId, nFlag) ;
}
//-----------------------------------------------------------------------------
bool
ExeGetClEntIndex( int nEntId, int& nIndex)
{
IMachMgr* pMachMgr = GetCurrMachMgr() ;
VERIFY_MACHMGR( pMachMgr, false)
// recupero l'indice
return pMachMgr->GetClEntIndex( nEntId, nIndex) ;
}
//-----------------------------------------------------------------------------
// Simulazione
//-----------------------------------------------------------------------------