Changeset 1235 in ntrip for trunk/BNC/bncgetthread.cpp


Ignore:
Timestamp:
Nov 24, 2008, 3:20:06 PM (15 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r1225 r1235  
    765765                                       dL2[0], dL2[1], dL2[2]) == success ) {
    766766
    767                 ostringstream msg2; msg2.setf(ios::fixed);
    768                 msg2 << "station coordinates " << staID().data()
    769                      << ' ' << setw(14) << setprecision(5) << stax
    770                      << ' ' << setw(14) << setprecision(5) << stay
    771                      << ' ' << setw(14) << setprecision(5) << staz
    772                      << " L1 "
    773                      << ' ' << setw(8)  << setprecision(5) << dL1[0]
    774                      << ' ' << setw(8)  << setprecision(5) << dL1[1]
    775                      << ' ' << setw(8)  << setprecision(5) << dL1[2]
    776                      << " L2 "
    777                      << ' ' << setw(8)  << setprecision(5) << dL2[0]
    778                      << ' ' << setw(8)  << setprecision(5) << dL2[1]
    779                      << ' ' << setw(8)  << setprecision(5) << dL2[2]
    780                      << ends;
     767                if ( _checkMountPoint == _staID || _checkMountPoint == "ALL" ) {
     768                  QString ant1;
     769                  ant1 =  QString("%1 ").arg(stax,0,'f',4);
     770                  emit(newMessage(_staID + ": ARP X " + ant1.toAscii() + "m" ));
     771                  ant1 =  QString("%1 ").arg(stay,0,'f',4);
     772                  emit(newMessage(_staID + ": ARP Y " + ant1.toAscii() + "m" ));
     773                  ant1 =  QString("%1 ").arg(staz,0,'f',4);
     774                  emit(newMessage(_staID + ": ARP Z " + ant1.toAscii() + "m" ));
     775                  ant1 =  QString("%1 ").arg(dL1[0],0,'f',4);
     776                  emit(newMessage(_staID + ": L1 APC DX " + ant1.toAscii() + "m" ));
     777                  ant1 =  QString("%1 ").arg(dL1[1],0,'f',4);
     778                  emit(newMessage(_staID + ": L1 APC DY " + ant1.toAscii() + "m" ));
     779                  ant1 =  QString("%1 ").arg(dL1[2],0,'f',4);
     780                  emit(newMessage(_staID + ": L1 APC DZ " + ant1.toAscii() + "m" ));
     781                  ant1 =  QString("%1 ").arg(dL2[0],0,'f',4);
     782                  emit(newMessage(_staID + ": L2 APC DX " + ant1.toAscii() + "m" ));
     783                  ant1 =  QString("%1 ").arg(dL2[1],0,'f',4);
     784                  emit(newMessage(_staID + ": L2 APC DY " + ant1.toAscii() + "m" ));
     785                  ant1 =  QString("%1 ").arg(dL2[2],0,'f',4);
     786                  emit(newMessage(_staID + ": L2 APC DZ " + ant1.toAscii() + "m" ));
     787                }
    781788                _rnx_set_position = true;
    782                 emit newMessage(QByteArray(msg2.str().c_str()));
    783789              }
    784790            } 
Note: See TracChangeset for help on using the changeset viewer.