Changeset 9652 in ntrip for trunk/BNC/src/upload
- Timestamp:
- Mar 11, 2022, 9:57:17 AM (3 years ago)
- Location:
- trunk/BNC/src/upload
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/src/upload/bncrtnetdecoder.cpp ¶
r9025 r9652 76 76 hlp[3], hlp[4], 77 77 hlp[5], hlp[6], hlp[7], CoM, 78 hlp[9], hlp[10], 78 hlp[9], hlp[10],hlp[11], 79 79 PID, SID, IOD, iRow); 80 80 newCaster->start(); -
TabularUnified 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 } -
TabularUnified trunk/BNC/src/upload/bncrtnetuploadcaster.h ¶
r9512 r9652 14 14 class bncClockRinex; 15 15 class bncSP3; 16 class bncBiasSinex; 16 17 17 18 class bncRtnetUploadCaster : public bncUploadCaster { … … 26 27 const QString& sp3FileName, 27 28 const QString& rnxFileName, 29 const QString& bsxFileName, 28 30 int PID, int SID, int IOD, int iRow); 29 31 void decodeRtnetStream(char* buffer, int bufLen); … … 78 80 bncClockRinex* _rnx; 79 81 bncSP3* _sp3; 82 bncBiasSinex* _bsx; 80 83 QMap<QString, const t_eph*>* _usedEph; 81 84 };
Note:
See TracChangeset
for help on using the changeset viewer.