Changeset 4076 for trunk/MagicSoft/Cosy/tcpip/MCeCoCom.h
- Timestamp:
- 05/15/04 16:46:27 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/tcpip/MCeCoCom.h
r2615 r4076 24 24 }; 25 25 26 TString fCommand; // report string of the current system26 //TString fCommand; // report string of the current system 27 27 MTime fT; // time of last report received 28 28 char fStatus; // current status of this system … … 43 43 public: 44 44 MCeCoCom::MCeCoCom(const char *cmd, MLog &out=gLog) 45 : MTcpIpIO(out), fCommand(cmd), fStatus(0), fComStat(kNoCmdReceived)45 : MTcpIpIO(out), /*fCommand(cmd),*/ fStatus(0), fComStat(kNoCmdReceived), fSolarRadiation(-1) 46 46 { 47 47 } 48 48 49 bool Send(const char * str);49 bool Send(const char *cmd, const char *str); 50 50 void SetStatus(Byte_t s) { fStatus=s; } 51 51 52 52 Float_t GetHumidity() const { return fHumidity; } 53 53 Float_t GetTemperature() const { return fTemperature; } 54 Float_t GetWindSpeed() const { return fWindSpeed; } 55 56 TString GetWeather() const; 57 Int_t GetWeatherStatus() const; 54 58 }; 55 59
Note:
See TracChangeset
for help on using the changeset viewer.