-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathmakepacket.h
48 lines (36 loc) · 885 Bytes
/
makepacket.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef MAKEPACKET_H
#define MAKEPACKET_H
#include <QDialog>
#include "includes.h"
#include "mymethod.h"
#include "gatherpacket.h"
#include "controlpacket.h"
#include "statepacket.h"
#include "testpacket.h"
#include "infopacket.h"
namespace Ui {
class MakePacket;
}
class MakePacket : public QDialog
{
Q_OBJECT
public:
explicit MakePacket(QWidget *parent = 0);
~MakePacket();
private slots:
void on_comboBox_currentIndexChanged(int index);
void on_pushButton_2_clicked();
void on_pushButton_clicked();
private:
Ui::MakePacket *ui;
GatherPacket* gatherPacket;
ControlPacket* controlPacket;
StatePacket* stPacket;
TestPacket* testPacket;
InfoPacket* infoPacket;
const int packetNum = 5;
std::vector<QString> packetsName;
signals:
void addSendFramSignal(const CAN_SEND_FRAME_STRUCT& info);
};
#endif // MAKEPACKET_H