Changeset 3169 in ntrip
- Timestamp:
- Mar 29, 2011, 11:30:05 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmodel.cpp
r3118 r3169 903 903 std[ii] = sqrt(std[ii] / nn); 904 904 } 905 906 if (settings.value("pppRefCrdX").toString() != "" && 907 settings.value("pppRefCrdY").toString() != "" && 908 settings.value("pppRefCrdZ").toString() != "") { 905 909 906 ostringstream strD; strD.setf(ios::fixed); 907 strD << _staID.data() << " AVE-XYZ " 908 << epoData->tt.timestr(1) << " " 909 // << setw(13) << setprecision(3) << mean[0] << " +- " 910 << setw(13) << setprecision(3) << mean[0] + xyzRef[0] << " +- " 911 << setw(6) << setprecision(3) << std[0] << " " 912 // << setw(14) << setprecision(3) << mean[1] << " +- " 913 << setw(14) << setprecision(3) << mean[1] + xyzRef[1] << " +- " 914 << setw(6) << setprecision(3) << std[1] << " " 915 // << setw(14) << setprecision(3) << mean[2] << " +- " 916 << setw(14) << setprecision(3) << mean[2] + xyzRef[2] << " +- " 917 << setw(6) << setprecision(3) << std[2]; 918 emit newMessage(QByteArray(strD.str().c_str()), true); 919 920 ostringstream strE; strE.setf(ios::fixed); 921 strE << _staID.data() << " AVE-NEU " 922 << epoData->tt.timestr(1) << " " 923 << setw(13) << setprecision(3) << mean[3] << " +- " 924 << setw(6) << setprecision(3) << std[3] << " " 925 << setw(14) << setprecision(3) << mean[4] << " +- " 926 << setw(6) << setprecision(3) << std[4] << " " 927 << setw(14) << setprecision(3) << mean[5] << " +- " 928 << setw(6) << setprecision(3) << std[5]; 929 930 emit newMessage(QByteArray(strE.str().c_str()), true); 931 932 if ( Qt::CheckState(settings.value("pppEstTropo").toInt()) == Qt::Checked) { 933 ostringstream strF; strF.setf(ios::fixed); 934 strF << _staID.data() << " AVE-TRP " 910 ostringstream strD; strD.setf(ios::fixed); 911 strD << _staID.data() << " AVE-XYZ " 935 912 << epoData->tt.timestr(1) << " " 936 << setw(13) << setprecision(3) << mean[6] << " +- " 937 << setw(6) << setprecision(3) << std[6] << endl; 938 emit newMessage(QByteArray(strF.str().c_str()), true); 913 << setw(13) << setprecision(3) << mean[0] + xyzRef[0] << " +- " 914 << setw(6) << setprecision(3) << std[0] << " " 915 << setw(14) << setprecision(3) << mean[1] + xyzRef[1] << " +- " 916 << setw(6) << setprecision(3) << std[1] << " " 917 << setw(14) << setprecision(3) << mean[2] + xyzRef[2] << " +- " 918 << setw(6) << setprecision(3) << std[2]; 919 emit newMessage(QByteArray(strD.str().c_str()), true); 920 921 ostringstream strE; strE.setf(ios::fixed); 922 strE << _staID.data() << " AVE-NEU " 923 << epoData->tt.timestr(1) << " " 924 << setw(13) << setprecision(3) << mean[3] << " +- " 925 << setw(6) << setprecision(3) << std[3] << " " 926 << setw(14) << setprecision(3) << mean[4] << " +- " 927 << setw(6) << setprecision(3) << std[4] << " " 928 << setw(14) << setprecision(3) << mean[5] << " +- " 929 << setw(6) << setprecision(3) << std[5]; 930 emit newMessage(QByteArray(strE.str().c_str()), true); 931 932 if ( Qt::CheckState(settings.value("pppEstTropo").toInt()) == Qt::Checked) { 933 ostringstream strF; strF.setf(ios::fixed); 934 strF << _staID.data() << " AVE-TRP " 935 << epoData->tt.timestr(1) << " " 936 << setw(13) << setprecision(3) << mean[6] << " +- " 937 << setw(6) << setprecision(3) << std[6] << endl; 938 emit newMessage(QByteArray(strF.str().c_str()), true); 939 } 939 940 } 940 941 }
Note:
See TracChangeset
for help on using the changeset viewer.