Ignore:
Timestamp:
04/22/09 10:46:59 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r8869 r9432  
    3333    int     fCCStatus;    // global status of CC
    3434
     35    Byte_t  fTelescope;
     36
    3537    ComStatus_t fComStat; // communication status
    3638
     
    4951public:
    5052    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),
    5255        fHumidity(0), fTemperature(0), fWindSpeed(0), fSolarRadiation(-1),
    5356        fAlarmCounter(0)
     
    6063    bool SendRep(const char *cmd, const char *str, bool force);
    6164    void SetStatus(Byte_t s) { fStatus=s; }
     65
     66    void SetTelescope(Byte_t tel) { fTelescope = tel; }
    6267
    6368    Float_t GetHumidity() const { return fHumidity; }
Note: See TracChangeset for help on using the changeset viewer.