EgtExecutor 1.6n2 :
- sostuite Exe e Lua IsMachiningNotEmpty con IsMachiningEmpty.
This commit is contained in:
+2
-2
@@ -1295,12 +1295,12 @@ ExeGetMachiningGeometry( SELVECTOR& vIds)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeIsMachiningNotEmpty( void)
|
||||
ExeIsMachiningEmpty( void)
|
||||
{
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_MACHMGR( pGseCtx, false)
|
||||
// restituisco lo stato della lavorazione corrente
|
||||
return pGseCtx->m_pMachMgr->IsNotEmpty() ;
|
||||
return pGseCtx->m_pMachMgr->IsEmpty() ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Binary file not shown.
+4
-4
@@ -1496,14 +1496,14 @@ LuaGetMachiningGeometry( lua_State* L)
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
static int
|
||||
LuaIsMachiningNotEmpty( lua_State* L)
|
||||
LuaIsMachiningEmpty( lua_State* L)
|
||||
{
|
||||
// nessun parametro
|
||||
LuaClearStack( L) ;
|
||||
// recupero lo stato della lavorazione corrente
|
||||
bool bNotEmpty = ExeIsMachiningNotEmpty() ;
|
||||
bool bEmpty = ExeIsMachiningEmpty() ;
|
||||
// restituisco il risultato
|
||||
LuaSetParam( L, bNotEmpty) ;
|
||||
LuaSetParam( L, bEmpty) ;
|
||||
return 1 ;
|
||||
}
|
||||
|
||||
@@ -2050,7 +2050,7 @@ LuaInstallMachMgr( LuaMgr& luaMgr)
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtApplyMachining", LuaApplyMachining) ;
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtGetMachiningParam", LuaGetMachiningParam) ;
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtGetMachiningGeometry", LuaGetMachiningGeometry) ;
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtIsMachiningNotEmpty", LuaIsMachiningNotEmpty) ;
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtIsMachiningEmpty", LuaIsMachiningEmpty) ;
|
||||
// Simulation
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtSimStart", LuaSimStart) ;
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtSimMove", LuaSimMove) ;
|
||||
|
||||
Reference in New Issue
Block a user