Changeset 584 in ntrip for trunk/BNC/bncapp.cpp


Ignore:
Timestamp:
Nov 23, 2007, 4:03:13 PM (16 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncapp.cpp

    r583 r584  
    262262      hlpStr = ch;
    263263    }
    264     else {
     264    else if (intStr == "15 min") {
    265265      char ch = 'A' + datTim.time().hour();
    266266      hlpStr = ch;
     
    278278      }
    279279    }
     280    else {
     281      char ch = 'A' + datTim.time().hour();
     282      hlpStr = ch;
     283      if      (datTim.time().minute() <  5) {
     284        hlpStr += "00";
     285      }
     286      else if (datTim.time().minute() < 10) {
     287        hlpStr += "05";
     288      }
     289      else if (datTim.time().minute() < 15) {
     290        hlpStr += "10";
     291      }
     292      else if (datTim.time().minute() < 20) {
     293        hlpStr += "15";
     294      }
     295      else if (datTim.time().minute() < 25) {
     296        hlpStr += "20";
     297      }
     298      else if (datTim.time().minute() < 30) {
     299        hlpStr += "25";
     300      }
     301      else if (datTim.time().minute() < 35) {
     302        hlpStr += "30";
     303      }
     304      else if (datTim.time().minute() < 40) {
     305        hlpStr += "35";
     306      }
     307      else if (datTim.time().minute() < 45) {
     308        hlpStr += "40";
     309      }
     310      else if (datTim.time().minute() < 50) {
     311        hlpStr += "45";
     312      }
     313      else if (datTim.time().minute() < 55) {
     314        hlpStr += "50";
     315      }
     316      else {
     317        hlpStr += "55";
     318      }
     319    }
     320
    280321    if (_rinexVers == 3) {
    281322      ephFileNameGPS += hlpStr + datTim.toString(".yyP");
Note: See TracChangeset for help on using the changeset viewer.