Changeset 3339 in ntrip
- Timestamp:
- Aug 1, 2011, 4:03:24 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3329 r3339 368 368 // ------------------------------- 369 369 if (epochs.first()->acName != _masterAC) { 370 QListIterator<cmbEpoch*> itEpo(epochs); 371 while (itEpo.hasNext()) { 372 cmbEpoch* epo = itEpo.next(); 370 if (true) { // version with master switch 371 cmbEpoch* epo = epochs.first(); 373 372 bncTime epoTime = epo->time; 374 out << epo->acName.toAscii().data() << " " 373 out << "Switching Master AC " 374 << epo->acName.toAscii().data() << " --> " 375 << _masterAC.toAscii().data() << " " 375 376 << epoTime.datestr().c_str() << " " 376 << epoTime.timestr().c_str() << endl; 377 delete epo; 378 } 379 out << "Missing Master AC" << endl; 380 emit newMessage(_log, false); 381 return; 377 << epoTime.timestr().c_str() << endl; 378 _masterAC = epo->acName; 379 } 380 else { // original version 381 QListIterator<cmbEpoch*> itEpo(epochs); 382 while (itEpo.hasNext()) { 383 cmbEpoch* epo = itEpo.next(); 384 bncTime epoTime = epo->time; 385 out << epo->acName.toAscii().data() << " " 386 << epoTime.datestr().c_str() << " " 387 << epoTime.timestr().c_str() << endl; 388 delete epo; 389 } 390 out << "Missing Master AC" << endl; 391 emit newMessage(_log, false); 392 return; 393 } 382 394 } 383 395
Note:
See TracChangeset
for help on using the changeset viewer.