Changeset 4111 in ntrip
- Timestamp:
- May 4, 2012, 5:43:29 PM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r4106 r4111 526 526 // Upload Results 527 527 // ------------- 528 _uploadTable = new QTableWidget(0, 9);529 _uploadTable->setHorizontalHeaderLabels(QString("Host, Port, Mount, Password, System, CoM, SP3 File, RNX File, bytes").split(","));528 _uploadTable = new QTableWidget(0,12); 529 _uploadTable->setHorizontalHeaderLabels(QString("Host, Port, Mount, Password, System, CoM, SP3 File, RNX File, PID, SID, IOD, bytes").split(",")); 530 530 _uploadTable->setSelectionMode(QAbstractItemView::ExtendedSelection); 531 531 _uploadTable->setSelectionBehavior(QAbstractItemView::SelectRows); 532 _uploadTable->horizontalHeader()->resizeSection(0,13*ww); 533 _uploadTable->horizontalHeader()->resizeSection(1,5*ww); 534 _uploadTable->horizontalHeader()->resizeSection(2,6*ww); 535 _uploadTable->horizontalHeader()->resizeSection(3,8*ww); 536 _uploadTable->horizontalHeader()->resizeSection(4,11*ww); 537 _uploadTable->horizontalHeader()->resizeSection(5,4*ww); 538 _uploadTable->horizontalHeader()->resizeSection(6,15*ww); 539 _uploadTable->horizontalHeader()->resizeSection(7,15*ww); 540 _uploadTable->horizontalHeader()->resizeSection(8,10*ww); 532 _uploadTable->horizontalHeader()->resizeSection( 0,13*ww); 533 _uploadTable->horizontalHeader()->resizeSection( 1, 5*ww); 534 _uploadTable->horizontalHeader()->resizeSection( 2, 6*ww); 535 _uploadTable->horizontalHeader()->resizeSection( 3, 8*ww); 536 _uploadTable->horizontalHeader()->resizeSection( 4,11*ww); 537 _uploadTable->horizontalHeader()->resizeSection( 5, 4*ww); 538 _uploadTable->horizontalHeader()->resizeSection( 6,15*ww); 539 _uploadTable->horizontalHeader()->resizeSection( 7,15*ww); 540 _uploadTable->horizontalHeader()->resizeSection( 8, 4*ww); 541 _uploadTable->horizontalHeader()->resizeSection( 9, 4*ww); 542 _uploadTable->horizontalHeader()->resizeSection(10, 4*ww); 543 _uploadTable->horizontalHeader()->resizeSection(11,12*ww); 541 544 _uploadTable->horizontalHeader()->setResizeMode(QHeaderView::Interactive); 542 _uploadTable->horizontalHeader()->setStretchLastSection(true);545 /// _uploadTable->horizontalHeader()->setStretchLastSection(true); 543 546 _uploadTable->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft); 544 547 … … 2392 2395 _uploadTable->setCellWidget(iRow, iCol, com); 2393 2396 } 2394 else if (iCol == 8) {2397 else if (iCol == 11) { 2395 2398 bncTableItem* bncIt = new bncTableItem(); 2396 2399 bncIt->setFlags(bncIt->flags() & ~Qt::ItemIsEditable); … … 2425 2428 for (int iRow = 0; iRow < _uploadTable->rowCount(); iRow++) { 2426 2429 ((bncApp*)qApp)->_uploadTableItems[iRow] = 2427 (bncTableItem*) _uploadTable->item(iRow, 8);2430 (bncTableItem*) _uploadTable->item(iRow, 11); 2428 2431 } 2429 2432 nRows = _uploadTable->rowCount(); … … 2475 2478 _uploadTable->setCellWidget(iRow, iCol, com); 2476 2479 } 2477 else if (iCol == 8) {2480 else if (iCol == 11) { 2478 2481 bncTableItem* bncIt = new bncTableItem(); 2479 2482 bncIt->setFlags(bncIt->flags() & ~Qt::ItemIsEditable); -
trunk/BNC/upload/bncrtnetdecoder.cpp
r3233 r4111 60 60 int outPort = hlp[1].toInt(); 61 61 bool CoM = (hlp[5].toInt() == Qt::Checked); 62 int PID = 0; 63 if (hlp.size() > 8) { 64 PID = hlp[8].toInt(); 65 } 66 int SID = 0; 67 if (hlp.size() > 9) { 68 SID = hlp[9].toInt(); 69 } 70 int IOD = 0; 71 if (hlp.size() > 10) { 72 IOD = hlp[10].toInt(); 73 } 62 74 bncRtnetUploadCaster* newCaster = new bncRtnetUploadCaster( 63 75 hlp[2], hlp[0], outPort, 64 76 hlp[3], hlp[4], CoM, 65 hlp[6], hlp[7], "", iRow); 77 hlp[6], hlp[7], "", 78 PID, SID, IOD, iRow); 66 79 newCaster->start(); 67 80 _casters.push_back(newCaster); -
trunk/BNC/upload/bncrtnetuploadcaster.cpp
r4110 r4111 32 32 const QString& sp3FileName, 33 33 const QString& rnxFileName, 34 const QString& outFileName, int iRow) : 34 const QString& outFileName, 35 int PID, int SID, int IOD, int iRow) : 35 36 bncUploadCaster(mountpoint, outHost, outPort, password, iRow, 0) { 36 37 37 38 _crdTrafo = crdTrafo; 38 39 _CoM = CoM; 40 _PID = PID; 41 _SID = SID; 42 _IOD = IOD; 39 43 40 44 // Member that receives the ephemeris … … 256 260 co.OrbitDataSupplied = 1; 257 261 co.SatRefDatum = DATUM_ITRF; 258 co.SSRIOD = 0;259 co.SSRProviderID = 256; // 256 .. BKG, 257 ... EUREF260 co.SSRSolutionID = 1;262 co.SSRIOD = _IOD; 263 co.SSRProviderID = _PID; // 256 .. BKG, 257 ... EUREF 264 co.SSRSolutionID = _SID; 261 265 262 266 struct Bias bias; -
trunk/BNC/upload/bncrtnetuploadcaster.h
r3753 r4111 24 24 const QString& sp3FileName, 25 25 const QString& rnxFileName, 26 const QString& outFileName, int iRow); 26 const QString& outFileName, 27 int PID, int SID, int IOD, int iRow); 27 28 void decodeRtnetStream(char* buffer, int bufLen); 28 29 protected: … … 40 41 QString _crdTrafo; 41 42 bool _CoM; 43 int _PID; 44 int _SID; 45 int _IOD; 42 46 double _samplOrb; 43 47 double _dx;
Note:
See TracChangeset
for help on using the changeset viewer.