Ignore:
Timestamp:
02/21/08 22:03:06 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r8862 r8869  
    4848
    4949public:
    50     MCeCoCom(const char *addr, MLog *out)
    51         : MTcpIpIO(addr, 7304, 7404), fOut(out), fStatus(0), fComStat(kNoCmdReceived),
     50    MCeCoCom(const char *addr, const int tx=7304, const int rx=7404, MLog *out=NULL)
     51        : MTcpIpIO(addr, tx, rx), fOut(out), fStatus(0), fComStat(kNoCmdReceived),
    5252        fHumidity(0), fTemperature(0), fWindSpeed(0), fSolarRadiation(-1),
    5353        fAlarmCounter(0)
     
    5555    }
    5656    //virtual bool SendMsg(const char *msg, bool force);
     57
     58    void SetOutRep(MLog *out) { fOut = out; }
    5759
    5860    bool SendRep(const char *cmd, const char *str, bool force);
Note: See TracChangeset for help on using the changeset viewer.