You cannot 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
452 B
C
34 lines
452 B
C
#ifndef __FRAMEHEAD_H__
|
|
#define __FRAMEHEAD_H__
|
|
#include <QString>
|
|
|
|
struct SComFrame
|
|
{
|
|
quint16 devicecode;
|
|
quint16 totalnum;
|
|
quint8 hdrlen;
|
|
quint8 r_hdrlen;
|
|
quint8 checksun;
|
|
quint8 cmd;
|
|
quint16 data1;
|
|
quint16 data2;
|
|
quint16 data3;
|
|
quint16 data4;
|
|
quint16 data5;
|
|
quint16 data6;
|
|
quint16 data7;
|
|
quint16 data8;
|
|
};
|
|
struct MyMsg
|
|
{
|
|
int ID;
|
|
QString m_windowsTitle;
|
|
QString m_buttomTitle;
|
|
SComFrame frame;
|
|
};
|
|
|
|
|
|
#endif // !__FRAMEHEAD_H__
|
|
|
|
|