You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.1 KiB

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __TGZ1WINDOW_H_INCL__
  2. #define __TGZ1WINDOW_H_INCL__
  3. #include "../../source/lib/cli/cliClass.h"
  4. #ifndef NEWT_CLI
  5. #include "../../source/lib/components/base/basicNCursesEngine.h"
  6. #endif
  7. #include "../../source/lib/components/base/basicLogCollection.h"
  8. #include "../../source/lib/data/protocol/protocolTGZ.h"
  9. /**
  10. * TODO: Add class description
  11. *
  12. * @author gagua
  13. */
  14. class tgz1Window : public WindowCLI {
  15. private:
  16. unsigned int m_dwMyStatus;
  17. unsigned int m_dwTGZStatus;
  18. protocolTGZ *m_pDeviceProtocol;
  19. #ifdef NEWT_CLI
  20. newtComponent m_oMenu;
  21. newtComponent m_l1, m_l2, m_l3, m_l4, m_l5, m_l6, m_l7, m_t1, m_t2, m_t3, m_t4, m_t5, m_t6, m_t7, m_t8, m_t9, m_t10, m_t11, m_t12, m_t13;
  22. newtComponent m_t14, m_t15, m_t16, m_t17, m_t18, m_t19, m_t20, m_t21, m_t22, m_t23, m_t24, m_t25, m_t26;
  23. #endif
  24. public:
  25. explicit tgz1Window( protocolTGZ *Device );
  26. virtual ~tgz1Window();
  27. int decodeEvent( newtComponent evt );
  28. void paint( void );
  29. };
  30. #endif // __PRU0WINDOW_H_INCL__