| 4 |
#include "SubPacket.h" |
#include "SubPacket.h" |
| 5 |
|
|
| 6 |
namespace pamela { |
namespace pamela { |
| 7 |
/** |
/** |
| 8 |
* Information events about the RunTrailer. |
* RunTrailerEvent data Wrapper. |
| 9 |
*/ |
* The RunTrailerEvent represent a RunHeader packet generated by the PAMELA CPU software. |
| 10 |
|
* A RunTrailer packet marks the end of a Run, that is an acquisition loop. <BR> |
| 11 |
|
* It is written in the MM just after the break of the run process. |
| 12 |
|
* Run process can be stoppede due to different reasons, including dowload, alarms, |
| 13 |
|
* ordinal time out, RunTrailer is written after ``End of run'' acquistion packet. |
| 14 |
|
*/ |
| 15 |
class RunTrailerEvent: public pamela::SubPacket { |
class RunTrailerEvent: public pamela::SubPacket { |
| 16 |
private: |
private: |
| 17 |
|
|
| 18 |
public: |
public: |
| 19 |
RunTrailerEvent(void); |
RunTrailerEvent(void); |
| 20 |
|
|
| 21 |
|
/** |
| 22 |
|
* The total packet counter value (only physics packets) since software bootstrap. |
| 23 |
|
*/ |
| 24 |
UINT32 PKT_COUNTER; |
UINT32 PKT_COUNTER; |
| 25 |
|
|
| 26 |
|
/** |
| 27 |
|
* The total packet counter value, for the ended run; the end of run packet excluded. |
| 28 |
|
*/ |
| 29 |
UINT32 PKT_ReadyCounter; |
UINT32 PKT_ReadyCounter; |
| 30 |
|
|
| 31 |
|
/** |
| 32 |
|
* The last On-Board-Time on which has been received the LAST_TIME_SYNC_INFO. |
| 33 |
|
* This parameter is the copy of On-Board-Time received in the last Timesync MCMD. |
| 34 |
|
* If zero means TimeSync mcmd nerver come. |
| 35 |
|
*/ |
| 36 |
UINT32 OBT_TYME_SYNC; |
UINT32 OBT_TYME_SYNC; |
| 37 |
|
|
| 38 |
|
/** |
| 39 |
|
* The last received TimeSync. |
| 40 |
|
* This parameter is the copy of TimeSync received in the last Timesync MCMD. |
| 41 |
|
* If zero means TimeSync mcmd nerver come. |
| 42 |
|
*/ |
| 43 |
UINT32 LAST_TYME_SYNC_INFO; |
UINT32 LAST_TYME_SYNC_INFO; |
| 44 |
|
|
| 45 |
ClassDef(RunTrailerEvent, 1) |
ClassDef(RunTrailerEvent, 1) |