Changeset 9432 for trunk/MagicSoft/Cosy/tcpip/MCeCoCom.h
- Timestamp:
- 04/22/09 10:46:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/tcpip/MCeCoCom.h
r8869 r9432 33 33 int fCCStatus; // global status of CC 34 34 35 Byte_t fTelescope; 36 35 37 ComStatus_t fComStat; // communication status 36 38 … … 49 51 public: 50 52 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), 53 : MTcpIpIO(addr, tx, rx), fOut(out), fStatus(0), 54 fTelescope(1), fComStat(kNoCmdReceived), 52 55 fHumidity(0), fTemperature(0), fWindSpeed(0), fSolarRadiation(-1), 53 56 fAlarmCounter(0) … … 60 63 bool SendRep(const char *cmd, const char *str, bool force); 61 64 void SetStatus(Byte_t s) { fStatus=s; } 65 66 void SetTelescope(Byte_t tel) { fTelescope = tel; } 62 67 63 68 Float_t GetHumidity() const { return fHumidity; }
Note:
See TracChangeset
for help on using the changeset viewer.