Changeset 17369


Ignore:
Timestamp:
11/23/13 19:35:00 (11 years ago)
Author:
tbretz
Message:
Fixed aproblem with the new temperature hist and the displayed GPS time.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/smartfact.cc

    r17368 r17369  
    18141814
    18151815        out << HTML::kWhite << '\t' << nema.count << '\n';
    1816         out << HTML::kWhite << '\t' << Time(nema.time).GetAsStr("%H:%M:%S") << '\n';
     1816        out << HTML::kWhite << '\t' << Time(floor(Time().Mjd())+nema.time).GetAsStr("%H:%M:%S") << '\n';
    18171817        out << HTML::kWhite << '\t' << setprecision(4) << nema.lat    << '\n';
    18181818        out << HTML::kWhite << '\t' << setprecision(4) << nema.lng    << '\n';
     
    18551855        ofstream(fPath+"/temperature.data") << out.str();
    18561856
    1857         if (!fTemperatureControlHist.empty())
    1858         {
    1859             fTemperatureControlHist.push_back(temp[0]);
    1860             if (fTemperatureControlHist.size()>60) // 1h
    1861                 fTemperatureControlHist.pop_front();
    1862         }
     1857        fTemperatureControlHist.push_back(temp[0]);
     1858        if (fTemperatureControlHist.size()>60) // 1h
     1859            fTemperatureControlHist.pop_front();
    18631860
    18641861        WriteHist(d, "hist-temperaturecontrol",
Note: See TracChangeset for help on using the changeset viewer.