Changeset 8869 for trunk/MagicSoft/Cosy/tcpip/MCeCoCom.h
- Timestamp:
- 02/21/08 22:03:06 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/tcpip/MCeCoCom.h
r8862 r8869 48 48 49 49 public: 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), 52 52 fHumidity(0), fTemperature(0), fWindSpeed(0), fSolarRadiation(-1), 53 53 fAlarmCounter(0) … … 55 55 } 56 56 //virtual bool SendMsg(const char *msg, bool force); 57 58 void SetOutRep(MLog *out) { fOut = out; } 57 59 58 60 bool SendRep(const char *cmd, const char *str, bool force);
Note:
See TracChangeset
for help on using the changeset viewer.