| 1 |
#ifndef PAMINCLUDE_H_ |
| 2 |
#define PAMINCLUDE_H_ |
| 3 |
using namespace std; |
| 4 |
|
| 5 |
#include "Logger.h" |
| 6 |
|
| 7 |
#include <stdio.h> |
| 8 |
#include <stdlib.h> |
| 9 |
#include <iostream> |
| 10 |
#include <string.h> |
| 11 |
#include <fstream> |
| 12 |
#include <sstream> |
| 13 |
#include <math.h> |
| 14 |
#include <time.h> |
| 15 |
#include <iomanip> |
| 16 |
#include <bitset> |
| 17 |
#include <new> |
| 18 |
|
| 19 |
#include <TSQLServer.h> |
| 20 |
#include <TSQLResult.h> |
| 21 |
#include <TSQLRow.h> |
| 22 |
|
| 23 |
//header VRL |
| 24 |
#define CODE_FF 0xFF //VRL |
| 25 |
#define CODE_46 0x46 //kadr |
| 26 |
#define CODE_D5 0xD5 //header |
| 27 |
//old name |
| 28 |
#define CODE1 CODE_FF //VRL |
| 29 |
#define CODE2 CODE_46 //kadr |
| 30 |
#define CODE3 CODE_D5 //header |
| 31 |
|
| 32 |
//header Pamela Packets |
| 33 |
#define LENGTH_HEADER_PKT 16 //length of the packet header |
| 34 |
#define CODE_FA 0xFA //PAMELA |
| 35 |
#define CODE_FE 0xFE //packet |
| 36 |
#define CODE_DE 0xDE //header |
| 37 |
//old name |
| 38 |
#define CODE_BYTE1 CODE_FA //PAMELA |
| 39 |
#define CODE_BYTE2 CODE_FE //packet |
| 40 |
#define CODE_BYTE3 CODE_DE //header |
| 41 |
|
| 42 |
//#define NumberPack (int)(53) //Number of PAMELA packets |
| 43 |
|
| 44 |
|
| 45 |
//dbg function |
| 46 |
void exitDBG(); |
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
#endif /*PAMINCLUDE_H_*/ |