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.
 
 
 
 
 
 

34 lines
786 B

#ifndef __MOTORWINDOW_H_INCL__
#define __MOTORWINDOW_H_INCL__
#include "../../source/lib/hardware/soc/classSOC.h"
#include "../../source/lib/cli/cliClass.h"
#ifndef NEWT_CLI
#include "../../source/lib/components/base/basicNCursesEngine.h"
#endif
#include <fcntl.h>
#include <sys/stat.h>
/**
* TODO: Add class description
*
* @author gagua
*/
class motorWindow : public WindowCLI {
classSOC *m_pSOC;
int cur_P2P_HM;
int min_P2P_HM;
int max_P2P_HM;
int cur_P2P_VM;
int min_P2P_VM;
int max_P2P_VM;
newtComponent m_t1, m_t2, m_t3, m_t4, m_t5, m_t6, m_t7, m_t8;
public:
motorWindow();
~motorWindow();
void paint( void );
void resetStat( void );
void saveStatToFile( char *FileName );
};
#endif // __MOTORWINDOW_H_INCL__