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.

64 lines
2.0 KiB

3 years ago
#ifndef HONAPACKET_H
#define HONAPACKET_H
#include <QtGlobal>
#include "include/LowLevel/Utils/Utils.h"
3 years ago
class HonaPacket
3 years ago
{
private:
3 years ago
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;
3 years ago
public:
HonaPacket();
/******************************************************************/
honaPacketType getPacketType(void);
void setPacketType(honaPacketType &temp);
/******************************************************************/
quint32 getPacketNumber(void);
void setPacketNumber(quint32 temp);
/******************************************************************/
qulonglong getToa(void);
void setToa(qulonglong temp);
/******************************************************************/
quint32 getDoa(void);
void setDoa(quint32 temp);
/******************************************************************/
quint32 getPa1(void);
void setPa1(quint32 temp);
/******************************************************************/
quint32 getPa2(void);
void setPa2(quint32 temp);
/******************************************************************/
quint32 getPa3(void);
void setPa3(quint32 temp);
/******************************************************************/
quint32 getPa4(void);
void setPa4(quint32 temp);
/******************************************************************/
quint32 getCode(void);
void setCode(quint32 temp);
/******************************************************************/
quint32 getCodeL(void);
void setCodeL(quint32 temp);
/******************************************************************/
quint32 getCodeM(void);
void setCodeM(quint32 temp);
/******************************************************************/
3 years ago
};
#endif // HONAPACKET_H