Changeset 3370 in ntrip for trunk


Ignore:
Timestamp:
Aug 24, 2011, 10:43:04 AM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r3369 r3370  
    525525      out.setRealNumberNotation(QTextStream::FixedNotation);
    526526      out.setRealNumberPrecision(3); 
    527       out << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss")
     527      out << resTime.datestr().c_str() << " " << resTime.timestr().c_str()
    528528          << " Maximum Residuum " << maxRes << ' '
    529529          << llInfo[maxResIndex-1];
     
    549549        }
    550550      }
    551       out << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss ").toAscii().data();
     551      out << resTime.datestr().c_str() << " "
     552          << resTime.timestr().c_str() << " ";
    552553      out.setRealNumberNotation(QTextStream::FixedNotation);
    553554      out.setFieldWidth(8);
     
    555556      out << pp->toString() << " "
    556557          << pp->xx << " +- " << sqrt(_QQ(pp->index,pp->index)) << endl;
     558      out.setFieldWidth(0);
    557559    }
    558560  }
     
    584586      eph->position(resTime.gpsw(), resTime.gpssec(), xx, yy, zz, cc);
    585587
    586       out << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss ").toAscii().data();
     588      out << resTime.datestr().c_str() << " "
     589          << resTime.timestr().c_str() << " ";
    587590      out.setFieldWidth(3);
    588591      out << "Full Clock " << corr->prn << " " << corr->iod << " ";
    589592      out.setFieldWidth(14);
    590593      out << (cc + corr->dClk) * t_CST::c << endl;
     594      out.setFieldWidth(0);
    591595    }
    592596    else {
Note: See TracChangeset for help on using the changeset viewer.