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