1 |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/event/tmtc/TmtcRecord.h,v $ |
3 |
* $Id: TmtcRecord.h,v 4.1 2005/05/07 08:49:09 kusanagi Exp $ |
4 |
* $Author: kusanagi $ |
5 |
* |
6 |
* 16 May 2005 - added 4 more TM_TH_ANA. Updated the ClassDef to 2 |
7 |
* |
8 |
* Header file for the TmtcRecord class. |
9 |
*/ |
10 |
#ifndef TMTC_RECORD_H |
11 |
#define TMTC_RECORD_H |
12 |
|
13 |
#include "event/SubPacket.h" |
14 |
|
15 |
namespace pamela { |
16 |
/** |
17 |
* TmtcRecord data Wrapper |
18 |
*/ |
19 |
class TmtcRecord: public TObject { |
20 |
private: |
21 |
|
22 |
public: |
23 |
/** |
24 |
* The On-Board-Time of the Record. |
25 |
*/ |
26 |
UINT32 TM_RECORD_OBT; |
27 |
|
28 |
/** |
29 |
* Conctac closure and bi-livel single ended digital acquisitions data from the TMTC board. |
30 |
* |
31 |
* From MSB to LSB: (significant IDs is the last one) <br> |
32 |
* TMTC_PACK_BIT(tm_val,TM_KRB_IPM1);<br> |
33 |
* TMTC_PACK_BIT(tm_val,TM_KRB_IPM2);<br> |
34 |
* TMTC_PACK_BIT(tm_val,TM_KRB_IPM3);<br> |
35 |
* TMTC_PACK_BIT(tm_val,TM_KRB_IPM4);<br> |
36 |
* TMTC_PACK_BIT(tm_val,TM_KRB_IPM5);<br> |
37 |
* TMTC_PACK_BIT(tm_val,TM_KRB_IPM6);<br> |
38 |
* <br> |
39 |
* TMTC_PACK_BIT(tm_val,TM_KHB_HOT_LATCHUP);<br> |
40 |
* TMTC_PACK_BIT(tm_val,TM_KHB_COLD_LATCHUP);<br> |
41 |
* <br> |
42 |
* TMTC_PACK_BIT(tm_val,TM_IDAQ_HOT_ALARM);<br> |
43 |
* TMTC_PACK_BIT(tm_val,TM_IDAQ_COLD_ALARM);<br> |
44 |
* <br> |
45 |
* TMTC_PACK_BIT(tm_val,TM_VCB_STANDBY);<br> |
46 |
* <br> |
47 |
* TMTC_PACK_BIT(tm_val,TM_VRL_HOT);<br> |
48 |
* TMTC_PACK_BIT(tm_val,TM_VRL_COLD);<br> |
49 |
* <br> |
50 |
* TMTC_PACK_BIT(tm_val,TM_PSB_ALARM);<br> |
51 |
* <br> |
52 |
* TMTC_PACK_BIT(tm_val,TM_TOFHV_HOT_ALARM);<br> |
53 |
* TMTC_PACK_BIT(tm_val,TM_TOFHV_COLD_ALARM);<br> |
54 |
*/ |
55 |
UINT16 TM_DIAG_AND_BILEVEL_ACQ; |
56 |
|
57 |
/** |
58 |
* Thermistor analogue acquisition data from the TMTC board. |
59 |
* |
60 |
* The order from 0 to 11 is the following: (significant name are inside brackets)<br> |
61 |
* <br> |
62 |
* HB_WRITE_UINT16(HB_TMTC,tmtc_tmp_array[TM_IPM_TH]);<br> |
63 |
* HB_WRITE_UINT16(HB_TMTC,tmtc_tmp_array[TM_S1_TH]);<br> |
64 |
* <br> |
65 |
* HB_WRITE_UINT16(HB_TMTC,tmtc_tmp_array[TM_S4_TH]);<br> |
66 |
* HB_WRITE_UINT16(HB_TMTC,tmtc_tmp_array[TM_S4_ND_PLATE_TH]);<br> |
67 |
* <br> |
68 |
* HB_WRITE_UINT16(HB_TMTC,tmtc_tmp_array[TM_TRK_TH1]);<br> |
69 |
* HB_WRITE_UINT16(HB_TMTC,tmtc_tmp_array[TM_TRK_TH2]);<br> |
70 |
* <br> |
71 |
* HB_WRITE_UINT16(HB_TMTC,tmtc_tmp_array[TM_FLUID_IN_TH]);<br> |
72 |
* HB_WRITE_UINT16(HB_TMTC,tmtc_tmp_array[TM_FLUID_OUT_TH]);<br> |
73 |
* <br> |
74 |
* HB_WRITE_UINT16(HB_TMTC,tmtc_tmp_array[TM_VME_TH]);<br> |
75 |
* <br> |
76 |
* HB_WRITE_UINT16(HB_TMTC,tmtc_tmp_array[TM_DCDC_TH]);<br> |
77 |
* <br> |
78 |
* HB_WRITE_UINT16(HB_TMTC,tmtc_tmp_array[TM_CPU_TH1]);<br> |
79 |
* HB_WRITE_UINT16(HB_TMTC,tmtc_tmp_array[TM_CPU_TH2]);<br> |
80 |
* <br> |
81 |
* HB_WRITE_UINT16(unknow 1);<br> |
82 |
* HB_WRITE_UINT16(unknow 2);<br> |
83 |
* HB_WRITE_UINT16(unknow 3);<br> |
84 |
* HB_WRITE_UINT16(unknow 4);<br> |
85 |
*/ |
86 |
UINT16 TM_TH_ANA[16]; |
87 |
|
88 |
|
89 |
/** |
90 |
* Digital data from the TMTC board. |
91 |
* |
92 |
* The order from 0 to 5 is the following: (significant name are inside brackets)<br> |
93 |
* <br> |
94 |
* HB_WRITE_UINT8(HB_TMTC,tmtc_tmp_array[TM_IPM_MOV_IPM1]);<br> |
95 |
* HB_WRITE_UINT8(HB_TMTC,tmtc_tmp_array[TM_IPM_MOV_IPM2]);<br> |
96 |
* HB_WRITE_UINT8(HB_TMTC,tmtc_tmp_array[TM_IPM_MOV_IPM3]);<br> |
97 |
* HB_WRITE_UINT8(HB_TMTC,tmtc_tmp_array[TM_IPM_MOV_IPM4]);<br> |
98 |
* HB_WRITE_UINT8(HB_TMTC,tmtc_tmp_array[TM_IPM_MOV_IPM5]);<br> |
99 |
* HB_WRITE_UINT8(HB_TMTC,tmtc_tmp_array[TM_IPM_MOV_IPM6]);<br> |
100 |
*/ |
101 |
UINT8 TM_DEA_ANA[6]; |
102 |
|
103 |
TmtcRecord(void); |
104 |
~TmtcRecord(void){}; |
105 |
ClassDef(TmtcRecord, 2) |
106 |
}; |
107 |
} |
108 |
|
109 |
#endif /* TMTC_RECORD_H */ |
110 |
|