Changeset 3277 in ntrip for trunk/BNC/combination/bnccomb.cpp


Ignore:
Timestamp:
Apr 13, 2011, 3:54:00 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/combination/bnccomb.cpp

    r3276 r3277  
    350350  out <<                   "Combination:" << endl
    351351      << "------------------------------" << endl;
     352
     353  // Check whether master AC present
     354  // -------------------------------
     355  if (epochs.first()->acName != _masterAC) {
     356    QListIterator<cmbEpoch*> itEpo(epochs);
     357    while (itEpo.hasNext()) {
     358      cmbEpoch* epo = itEpo.next();
     359      bncTime   epoTime = epo->time;
     360      out << epo->acName.toAscii().data() << " "
     361          << epoTime.datestr().c_str()    << " "
     362          << epoTime.timestr().c_str() << endl;
     363      delete epo;
     364    }
     365    out << "Missing Master AC" << endl;
     366    emit newMessage(_log, false);
     367    return;
     368  }
    352369
    353370  // Predict Parameters Values, Add White Noise
Note: See TracChangeset for help on using the changeset viewer.