Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,43 @@
|
||||
/**
|
||||
* Helper to store/fetch a radio telegram into/from database
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Christian Ehrlicher, SLSE, 2016-04-22
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "PrtCnvStoredTelegram.hpp"
|
||||
|
||||
namespace PrtCnv
|
||||
{
|
||||
class PrtCnvStoredRadioTelegram : public PrtCnv::PrtCnvStoredTelegram
|
||||
{
|
||||
public:
|
||||
using PrtCnv::PrtCnvStoredTelegram::PrtCnvStoredTelegram;
|
||||
|
||||
/**
|
||||
* The counter while reading this telegram from central
|
||||
*/
|
||||
int32_t m_ReadCounter = 0;
|
||||
/**
|
||||
* The broadcast index if it is a broadcast-telegram and it was sent first time,
|
||||
* otherwise 0.
|
||||
*/
|
||||
uint16_t m_BroadcastIndex = 0;
|
||||
/**
|
||||
* The frame-counter while sending this telegram to radio.
|
||||
*/
|
||||
uint8_t m_WriteCounter = 0;
|
||||
/**
|
||||
* True if telegram must be deleted.
|
||||
*/
|
||||
bool m_DoDelete = false;
|
||||
/**
|
||||
* True if telegram was sent.
|
||||
*/
|
||||
bool m_IsSent = false;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user