Ignore:
Timestamp:
Jan 28, 2014, 11:56:15 AM (10 years ago)
Author:
lemeur
Message:

liste des logiciels compatibles dans les tooltip des elements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/controler/src/dataManager.cc

    r482 r485  
    9292          abstractSoftware* softw = section->getSoftware();
    9393         
    94       //cout << "k= " << k << ", de " << jobList_[k]->getFirstElement()->getLabel() << " à " << jobList_[k]->getLastElement()->getLabel() << " avec " << softw->getName() << endl;
    95      
    96     if (softw == NULL) {
    97       success = false;
    98       consoleMessage("dataManager::executeAll : unknown software");
    99       break;
    100     }
     94          cout << " execution du SOFWARE " << softw->getName() << endl;
     95          cout << " adresse section " << section << endl;
     96          cout << " adresse faisceau " << sector->getParticleBeam() << endl;
     97          if (softw == NULL) {
     98            success = false;
     99            consoleMessage("dataManager::executeAll : unknown software");
     100            break;
     101          }
    101102   
    102     success = softw->createInputFile(sector->getParticleBeam(),workingDir);
    103     if ( success ) {
    104       success = softw->execute(workingDir);
    105       if ( success ) {
    106         success = softw->buildBeamAfterElements(workingDir);
    107       }
    108     }
    109    
    110     if ( success  && (diagnosticBeam_.size() > 0)) {
    111       sector->setParticleBeam(&diagnosticBeam_.at(indexElementToIndexDiag_.back()));
    112       cout << " dataManager::executeAll termine avec succes " << endl;
    113     } else {
    114       sector->setParticleBeam(NULL);
    115       cout << " dataManager::executeAll termine en ECHEC " << endl;
    116     }
    117     if ( !success ) break;
     103          success = softw->createInputFile(sector->getParticleBeam(),workingDir);
     104          if ( success ) {
     105            success = softw->execute(workingDir);
     106            if ( success ) {
     107              success = softw->buildBeamAfterElements(workingDir);
     108            }
     109          }
     110          cout << " dataManager::executeAll success = " << success << " y-a-ty du faisceau : " << diagnosticBeam_.size() << endl;
     111          if ( success  && (diagnosticBeam_.size() > 0)) {
     112            sector->setParticleBeam(&diagnosticBeam_.at(indexElementToIndexDiag_.back()));
     113            cout << " dataManager::executeAll termine avec succes " << endl;
     114          } else {
     115            sector->setParticleBeam(NULL);
     116            cout << " dataManager::executeAll termine en ECHEC " << endl;
     117          }
     118          if ( !success ) break;
    118119   
    119120#if BAVARD > 0
Note: See TracChangeset for help on using the changeset viewer.