///////////////////////////////////////////////////////////////////// // class CTCU // // $Log: tcu.h,v $ // Revision 1.1 1997/06/13 18:13:06 nettleto // Initial revision // // #ifndef CTCU_H #define CTCU_H #include "thread.h" #include "mutex.h" // Temperature-Controlled Unit // class CTCU : public CThread { // attributes protected: CMutex Heater_CMutex; int Low, High; int Step; int Temp; int Period; int Heater_On; int Auto_Mode; public: // constructors CTCU (int t1, int t2, int p); // Operations void Set_On (); void Set_Off (); void Set_Auto (); void Get_Status (int &Temp, int &Auto, int &On); protected: void Body (); }; #endif // not CTCU_H