0,0 → 1,57 |
/*************************************************************************** |
* Copyright (C) 2008 by Manuel Schrape * |
* manuel.schrape@gmx.de * |
* * |
* This program is free software; you can redistribute it and/or modify * |
* it under the terms of the GNU General Public License as published by * |
* the Free Software Foundation; either version 2 of the License. * |
* * |
* This program is distributed in the hope that it will be useful, * |
* but WITHOUT ANY WARRANTY; without even the implied warranty of * |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
* GNU General Public License for more details. * |
* * |
* You should have received a copy of the GNU General Public License * |
* along with this program; if not, write to the * |
* Free Software Foundation, Inc., * |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
***************************************************************************/ |
#ifndef DLG_MOTORTEST_H |
#define DLG_MOTORTEST_H |
|
#include <QObject> |
#include <QTimer> |
|
#include "ui_dlg_MotorTest.h" |
|
#include "../../Global/Kopter.h" |
#include "../../Global/Global.h" |
#include "../../Global/MK_Datatypes.h" |
#include "../../Global/Class_HandlerMK/HandlerMK.h" |
|
|
class dlg_MotorTest : public QDialog, public Ui::dlg_MotorTest_UI |
{ |
Q_OBJECT |
|
public: |
dlg_MotorTest(QWidget *parent = 0); |
|
void Stop(); |
|
~dlg_MotorTest(); |
|
private: |
QTimer *Timer; |
unsigned char Motor[16]; |
char c_Data[150]; |
|
private slots: |
void slot_MotorTest(int Wert); |
void slot_Timer(); |
|
signals: |
void sig_SendData(QString ,int); |
}; |
|
#endif |