source: trunk/MagicSoft/Mars/mcamera/MCameraLV.h@ 9488

Last change on this file since 9488 was 3666, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MCameraLV
2#define MARS_MCameraLV
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8#ifndef MARS_MCameraPowerSupply
9#include <MCameraPowerSupply.h>
10#endif
11
12class MCameraLV : public MParContainer
13{
14 friend class MReportCamera;
15private:
16 Byte_t fStatus; // CaCo monitored LV PS status: , Cam.LV_state
17 Bool_t fRequestPowerSupply; // Requested status: o=off, 1=on, blv_ps_status
18
19 Float_t fTemp; // Measured status: o=off, 1=on, blv_temp
20 Byte_t fHumidity; // Measured status: o=off, 1=on, blv_RelativeHumidity
21
22 MCameraPowerSupply fPowerSupplyA; // power supply camera part A
23 MCameraPowerSupply fPowerSupplyB; // power supply camera part B
24
25public:
26 MCameraLV()
27 {
28 fName = "MCameraLV";
29 fTitle = "Container storing information about the Camera LV";
30 }
31
32 Byte_t GetStatus() const { return fStatus; }
33 Bool_t GetRequestPowerSupply() const { return fRequestPowerSupply; }
34
35 Float_t GetTemp() const { return fTemp; }
36 Byte_t GetHumidity() const { return fHumidity; }
37
38 const MCameraPowerSupply &GetPowerSupplyA() const { return fPowerSupplyA; }
39 const MCameraPowerSupply &GetPowerSupplyB() const { return fPowerSupplyB; }
40
41 ClassDef(MCameraLV, 1) // Container storing information about the Camera LV
42};
43
44#endif
Note: See TracBrowser for help on using the repository browser.