1 |
/** @file |
/** @file |
2 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
3 |
* $Date: 2004/12/09 08:48:41 $ |
* $Date: 2004/12/16 17:32:57 $ |
4 |
* $Revision: 2.3 $ |
* $Revision: 2.4 $ |
5 |
* |
* |
6 |
* Header file for the algorithms used to read the techmodel data file. |
* Header file for the algorithms used to read the techmodel data file. |
7 |
*/ |
*/ |
508 |
**********************************************/ |
**********************************************/ |
509 |
class TmtcReader: public TechmodelAlgorithm { |
class TmtcReader: public TechmodelAlgorithm { |
510 |
//Length in bytes of the subPacket (that is te TmtcRecord excluded subCRC) |
//Length in bytes of the subPacket (that is te TmtcRecord excluded subCRC) |
511 |
static const int TMTC_SUB_LENGTH = 57; |
static const int TMTC_SUB_LENGTH = 33; |
512 |
//Length in bytes of the subPacketCRC |
//Length in bytes of the subPacketCRC |
513 |
static const int TMTC_SUBCRC_LENGTH = 1; |
static const int TMTC_SUBCRC_LENGTH = 1; |
514 |
//Length in bytes of the PacketCRC |
//Length in bytes of the PacketCRC |
516 |
private: |
private: |
517 |
/** The TMTC event that is created in the reader. */ |
/** The TMTC event that is created in the reader. */ |
518 |
TmtcEvent* Tmtc; |
TmtcEvent* Tmtc; |
519 |
float convert_th(int); |
//float convert_th(int); |
520 |
public: |
public: |
521 |
TmtcReader(void); |
TmtcReader(void); |
522 |
virtual void Init(PamelaRun *); |
virtual void Init(PamelaRun *); |