Ignore:
Timestamp:
11/14/03 14:07:13 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/tcpip
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/tcpip/MCeCoCom.cc

    r2384 r2514  
    6565        cout << "Hum: " << hum << "%" << endl;
    6666
     67        fHumidity = hum;
     68        fTemperature = temp;
     69
    6770        fComStat = kCmdReceived;
    6871        return true;
  • trunk/MagicSoft/Cosy/tcpip/MCeCoCom.h

    r2384 r2514  
    3131    ComStatus_t fComStat; // communication status
    3232
     33    Float_t fHumidity;    // [%]
     34    Float_t fTemperature; // degrees celsius
     35
    3336    virtual bool InterpreteCmd(TString cmd, TString str);
    3437
     
    4346    bool Send(const char *str);
    4447    void SetStatus(Byte_t s) { fStatus=s; }
     48
     49    Float_t GetHumidity() const { return fHumidity; }
     50    Float_t GetTemperature() const { return fTemperature; }
    4551};
    4652
  • trunk/MagicSoft/Cosy/tcpip/MTcpIpIO.cc

    r2384 r2514  
    66#include <TSocket.h>
    77#include <TServerSocket.h>
     8
     9#undef DEBUG
    810
    911using namespace std;
     
    7173        return false;
    7274    }
    73 
     75#ifdef DEBUG
    7476    cout << "Tx: " << msg << flush;
    75 
     77#endif
    7678    return true;
    7779}
Note: See TracChangeset for help on using the changeset viewer.