添加了 归零等操作
增加了testdll 样例
This commit is contained in:
28
testdll/testdll.h
Normal file
28
testdll/testdll.h
Normal file
@ -0,0 +1,28 @@
|
||||
#ifndef TESTDLL_H
|
||||
#define TESTDLL_H
|
||||
|
||||
#include <QtWidgets/QMainWindow>
|
||||
#include "ui_testdll.h"
|
||||
#include "vincecontrol.h"
|
||||
#include "QTimer"
|
||||
class testdll : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
testdll(QWidget *parent = 0);
|
||||
~testdll();
|
||||
|
||||
private:
|
||||
Ui::testdllClass ui;
|
||||
VinceControl *motor;
|
||||
QTimer *timer;
|
||||
public slots :
|
||||
void onbeginstart();
|
||||
void onfanzhuan();
|
||||
void onstop();
|
||||
void onlogcom(QString str);
|
||||
void oninfomotor();
|
||||
};
|
||||
|
||||
#endif // TESTDLL_H
|
Reference in New Issue
Block a user