Changeset 9652 in ntrip for trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
- Timestamp:
- Mar 11, 2022, 9:57:17 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r9512 r9652 20 20 #include "bncephuser.h" 21 21 #include "bncclockrinex.h" 22 #include "bncbiassinex.h" 22 23 #include "bncsp3.h" 23 24 #include "gnss.h" … … 33 34 const QString& userName, const QString& password, 34 35 const QString& crdTrafo, const QString& ssrFormat, bool CoM, const QString& sp3FileName, 35 const QString& rnxFileName, int PID, int SID, int IOD, int iRow) :36 const QString& rnxFileName, const QString& bsxFileName, int PID, int SID, int IOD, int iRow) : 36 37 bncUploadCaster(mountpoint, outHost, outPort, ntripVersion, userName, password, iRow, 0) { 37 38 … … 53 54 if (!rnxFileName.isEmpty()) { 54 55 _casterID += " " + rnxFileName; 56 } 57 58 if (!bsxFileName.isEmpty()) { 59 _casterID += " " + bsxFileName; 55 60 } 56 61 … … 87 92 } 88 93 int samplClkRnx = settings.value("uploadSamplClkRnx").toInt(); 89 int samplSp3 = settings.value("uploadSamplSp3").toInt() * 60; 94 int samplSp3 = settings.value("uploadSamplSp3").toInt() * 60; 95 int samplBiaSnx = settings.value("uploadSamplBiaSnx").toInt(); 90 96 91 97 if (_samplRtcmEphCorr == 0.0) { … … 113 119 _sp3 = 0; 114 120 } 121 122 // SINEX writer 123 // ------------ 124 if (!bsxFileName.isEmpty()) { 125 _bsx = new bncBiasSinex(bsxFileName, intr, samplBiaSnx); 126 } 127 else { 128 _bsx = 0; 129 } 130 115 131 116 132 // Set Transformation Parameters … … 674 690 biasSat->Biases[ii].Type = type; 675 691 biasSat->Biases[ii].Bias = it.value(); 692 if (_bsx) { 693 QString obsCode = 'C' + it.key(); 694 _bsx->write(epoTime.gpsw(), epoTime.gpssec(), prnStr, obsCode, it.value()); 695 } 676 696 } 677 697 } … … 737 757 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 738 758 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 759 if (_bsx) { 760 QString obsCode = 'L' + pbSig.type; 761 _bsx->write(epoTime.gpsw(), epoTime.gpssec(), prnStr, obsCode, pbSig.bias); 762 } 739 763 } 740 764 }
Note:
See TracChangeset
for help on using the changeset viewer.