Changeset 8840 for trunk/MagicSoft/Cosy/tcpip/MCeCoCom.h
- Timestamp:
- 01/30/08 15:41:38 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/tcpip/MCeCoCom.h
r8378 r8840 24 24 }; 25 25 26 //TString fCommand; // report string of the current system 26 MLog *fOut; // Stream to which reports are written in addition 27 28 // Int_t fSendInterval; // [ms] 29 // MTime fTime; 30 27 31 MTime fT; // time of last report received 28 32 char fStatus; // current status of this system … … 44 48 45 49 public: 46 MCeCoCom::MCeCoCom(const char *cmd, MLog &out=gLog) 47 : MTcpIpIO(out), /*fCommand(cmd),*/ fStatus(0), fComStat(kNoCmdReceived), fSolarRadiation(-1) 50 MCeCoCom(MLog *out) 51 : MTcpIpIO(7304, 7404), fOut(out), fStatus(0), fComStat(kNoCmdReceived), 52 fHumidity(0), fTemperature(0), fWindSpeed(0), fSolarRadiation(-1), 53 fAlarmCounter(0) 48 54 { 49 55 } 56 //virtual bool SendMsg(const char *msg, bool force); 50 57 51 58 bool SendRep(const char *cmd, const char *str, bool force);
Note:
See TracChangeset
for help on using the changeset viewer.