EgtMachKernel 2.2f1 :
- corretta segnalazione errore caricamento TcPos - corretta gestione e segnalazione caricamento gruppo di lavoro non riuscito.
This commit is contained in:
Binary file not shown.
@@ -371,7 +371,10 @@ MachMgr::PrepareCurrMachGroup( int nId)
|
||||
m_nCurrMGrpId = nId ;
|
||||
m_cCurrMGrp = mgData ;
|
||||
m_nCurrMch = GetMachine( m_cCurrMGrp.MGeoName) ;
|
||||
m_stuMgr.Init( this) ;
|
||||
if ( ! m_stuMgr.Init( this)) {
|
||||
m_nCurrMGrpId = GDB_ID_NULL ;
|
||||
return false ;
|
||||
}
|
||||
m_stuMgr.Load() ;
|
||||
m_nPhasesCount = CalcPhaseCount() ;
|
||||
m_nCurrPhase = 0 ;
|
||||
|
||||
+1
-1
@@ -804,7 +804,7 @@ Machine::LuaEmtTcPos( lua_State* L)
|
||||
|
||||
// carico i dati della posizione cambio utensile
|
||||
if ( ! m_pMchLua->LoadMachineTcPos( sName, sParent, ptPos, vtTDir, vtADir, sGeo, vsAux))
|
||||
return luaL_error( L, " Load Machine Standard Head failed") ;
|
||||
return luaL_error( L, " Load Machine Tc Position failed") ;
|
||||
|
||||
// restituisco l'indice della posizione cambio utensile
|
||||
int nTcPosId = m_pMchLua->GetTcPosId( sName) ;
|
||||
|
||||
Reference in New Issue
Block a user