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.
66 lines
1.9 KiB
66 lines
1.9 KiB
#ifndef HONAPACKET_H
|
|
#define HONAPACKET_H
|
|
|
|
#include <QtGlobal>
|
|
|
|
#include "include/LowLevel/Utils/Utils.h"
|
|
|
|
class HonaPacket
|
|
{
|
|
private:
|
|
qreal toaClock;
|
|
honaPacketType m_PacketType;
|
|
quint32 m_PacketNumber;
|
|
qulonglong m_Toa;
|
|
quint32 m_Doa;
|
|
quint32 m_Pa1;
|
|
quint32 m_Pa2;
|
|
quint32 m_Pa3;
|
|
quint32 m_Pa4;
|
|
quint32 m_Code;
|
|
quint32 m_CodeL;
|
|
quint32 m_CodeM;
|
|
quint8 m4Status;
|
|
|
|
public:
|
|
HonaPacket();
|
|
/******************************************************************/
|
|
honaPacketType getPacketType();
|
|
void setPacketType(honaPacketType temp);
|
|
/******************************************************************/
|
|
quint32 getPacketNumber();
|
|
void setPacketNumber(quint32 temp);
|
|
/******************************************************************/
|
|
qulonglong getToa();
|
|
void setToa(qulonglong temp);
|
|
/******************************************************************/
|
|
quint32 getDoa();
|
|
void setDoa(quint32 temp);
|
|
/******************************************************************/
|
|
quint32 getPa1();
|
|
void setPa1(quint32 temp);
|
|
/******************************************************************/
|
|
quint32 getPa2();
|
|
void setPa2(quint32 temp);
|
|
/******************************************************************/
|
|
quint32 getPa3();
|
|
void setPa3(quint32 temp);
|
|
/******************************************************************/
|
|
quint32 getPa4();
|
|
void setPa4(quint32 temp);
|
|
/******************************************************************/
|
|
quint32 getCode();
|
|
void setCode(quint32 temp);
|
|
/******************************************************************/
|
|
quint32 getCodeL();
|
|
void setCodeL(quint32 temp);
|
|
/******************************************************************/
|
|
quint32 getCodeM();
|
|
void setCodeM(quint32 temp);
|
|
/******************************************************************/
|
|
quint8 getm4Status();
|
|
void setm4Status(quint8 temp);
|
|
/******************************************************************/
|
|
};
|
|
|
|
#endif //HONAPACKET_H
|
|
|