|
|
@ -2,62 +2,61 @@ |
|
|
|
#define HONAPACKET_H |
|
|
|
|
|
|
|
#include <QtGlobal> |
|
|
|
#include "include/LowLevel/Utils/Utils.h" |
|
|
|
|
|
|
|
#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; |
|
|
|
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; |
|
|
|
|
|
|
|
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); |
|
|
|
/******************************************************************/ |
|
|
|
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); |
|
|
|
/******************************************************************/ |
|
|
|
}; |
|
|
|
|
|
|
|
#endif // HONAPACKET_H
|
|
|
|
#endif //HONAPACKET_H
|
|
|
|