Changeset 3974 in ntrip


Ignore:
Timestamp:
Apr 20, 2012, 8:23:05 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmain.cpp

    r3972 r3974  
    123123  }
    124124
    125   // Non-Interactive (Batch) Mode
    126   // ----------------------------
     125  // Post-Processing reqc edit
     126  // -------------------------
     127  else if (settings.value("reqcAction").toString() == "Edit/Concatenate") {
     128    app.setMode(bncApp::batchPostProcessing);
     129    t_reqcEdit* reqcEdit = new t_reqcEdit(0);
     130    reqcEdit->start();
     131  }
     132
     133  // Non-Interactive (data gathering)
     134  // --------------------------------
    127135  else {
    128136
     
    130138
    131139    bncEphUploadCaster* casterEph = new bncEphUploadCaster(); (void) casterEph;
    132 
     140   
    133141    bncCaster* caster = new bncCaster(settings.value("outFile").toString(),
    134142                                      settings.value("outPort").toInt());
     
    138146    app.setPortCorr(settings.value("corrPort").toInt());
    139147    app.initCombination();
    140 
     148   
    141149    app.connect(caster, SIGNAL(getThreadsFinished()), &app, SLOT(quit()));
    142  
     150   
    143151    ((bncApp*)qApp)->slotMessage("========== Start BNC v" BNCVERSION " =========", true);
    144 
    145     // Post-Processing reqc edit
    146     // -------------------------
    147     if      (settings.value("reqcAction").toString() == "Edit/Concatenate") {
    148       app.setMode(bncApp::batchPostProcessing);
    149       t_reqcEdit* reqcEdit = new t_reqcEdit(0);
    150       reqcEdit->start();
    151     }
    152 
     152   
    153153    // Normal case - data from Internet
    154154    // --------------------------------
    155      else if ( rawFileName.isEmpty() ) {
     155    if ( rawFileName.isEmpty() ) {
    156156      app.setMode(bncApp::nonInteractive);
    157157      caster->slotReadMountPoints();
     
    160160      }
    161161    }
    162 
     162   
    163163    // Special case - data from file
    164164    // -----------------------------
     
    170170      caster->addGetThread(getThread, true);
    171171    }
    172 
    173172  }
    174173
Note: See TracChangeset for help on using the changeset viewer.