EgtMachKernel 1.9k2 :
- aggiunta gestione massimo affondamento di utensile TdbGetCurrToolMaxDepth - for each (.. in ..) sostituito da for ( .. : ..) vero costrutto C++.
This commit is contained in:
+3
-3
@@ -30,7 +30,7 @@ Machine::GetAllHeadsNames( STRVECTOR& vNames) const
|
||||
// reset lista nomi
|
||||
vNames.clear() ;
|
||||
// ricerca delle teste
|
||||
for each ( const auto& snGro in m_mapGroups) {
|
||||
for ( const auto& snGro : m_mapGroups) {
|
||||
if ( IsHeadGroup( snGro.second))
|
||||
vNames.push_back( snGro.first) ;
|
||||
}
|
||||
@@ -266,7 +266,7 @@ Machine::LoadAllTools( void)
|
||||
if ( ! m_pMchMgr->GetCurrSetupMgr().Exists())
|
||||
return true ;
|
||||
// ciclo su tutte le teste
|
||||
for each ( const auto& snGro in m_mapGroups) {
|
||||
for ( const auto& snGro : m_mapGroups) {
|
||||
if ( IsHeadGroup( snGro.second)) {
|
||||
// recupero l'insieme di appartenenza della testa
|
||||
const STRVECTOR& vsHSet = GetHSet( snGro.first) ;
|
||||
@@ -320,7 +320,7 @@ Machine::UnloadAllTools( void)
|
||||
return false ;
|
||||
// ciclo su tutte le teste
|
||||
bool bOk = true ;
|
||||
for each ( const auto& snGro in m_mapGroups) {
|
||||
for ( const auto& snGro : m_mapGroups) {
|
||||
if ( IsHeadGroup( snGro.second)) {
|
||||
if ( ! UnloadTools( snGro.first))
|
||||
bOk = false ;
|
||||
|
||||
Reference in New Issue
Block a user