Changeset 183 in ntrip


Ignore:
Timestamp:
Sep 24, 2006, 3:54:56 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncrinex.cpp

    r160 r183  
    161161  _nextCloseEpoch = QDateTime(nextDate, nextTime);
    162162
    163   path += _statID.left(4) +
     163  QString ID4 = _statID.left(4);
     164
     165  // Check name conflict
     166  // -------------------
     167  QString distStr;
     168  int num = 0;
     169  QListIterator<QString> it(settings.value("mountPoints").toStringList());
     170  while (it.hasNext()) {
     171    QString mp = it.next();
     172    if (mp.indexOf(ID4) != -1) {
     173      ++num;
     174    }
     175  }
     176  if (num > 1) {
     177    distStr = "_" + _statID.mid(4);
     178  }
     179
     180  path += ID4 +
    164181          QString("%1").arg(datTim.date().dayOfYear(), 3, 10, QChar('0')) +
    165           hlpStr +
     182          hlpStr + distStr +
    166183          datTim.toString(".yyO");
    167184
  • trunk/BNC/bncwindow.cpp

    r182 r183  
    266266  }
    267267  _actDeleteMountPoints->setEnabled(false);
     268
     269  if (_mountPointsTable->rowCount() == 0) {
     270    _actGetData->setEnabled(false);
     271  }
    268272}
    269273
     
    394398    _actGetData->setEnabled(true);
    395399    _actStop->setEnabled(false);
     400    _actAddMountPoints->setEnabled(true);
    396401  }
    397402}
Note: See TracChangeset for help on using the changeset viewer.