Index: trunk/MagicSoft/Mars/mreport/MReportCamera.cc
===================================================================
--- trunk/MagicSoft/Mars/mreport/MReportCamera.cc	(revision 8963)
+++ trunk/MagicSoft/Mars/mreport/MReportCamera.cc	(revision 9005)
@@ -33,4 +33,8 @@
 // there.
 //
+// Version 2:
+// ----------
+//   - fStstusDC
+//
 //////////////////////////////////////////////////////////////////////////////
 #include "MReportCamera.h"
@@ -43,4 +47,5 @@
 #include "MCameraCalibration.h"
 #include "MCameraCooling.h"
+#include "MCameraDC.h"
 #include "MCameraHV.h"
 #include "MCameraLV.h"
@@ -53,6 +58,4 @@
 
 using namespace std;
-
-const Int_t  MReportCamera::gkActiveLoadControlVersNum = 200504130;
 
 // --------------------------------------------------------------------------
@@ -94,4 +97,8 @@
         return kFALSE;
 
+    fDC = (MCameraDC*)plist.FindCreateObj("MCameraDC");
+    if (!fDC)
+        return kFALSE;
+
     fLV = (MCameraLV*)plist.FindCreateObj("MCameraLV");
     if (!fLV)
@@ -122,7 +129,5 @@
         return kFALSE;
 
-    str.Remove(0, 577*4); // Remove DC currents
-    str=str.Strip(TString::kLeading);
-    return kTRUE;
+    return fDC->Interprete(str);
 }
 
@@ -548,9 +553,9 @@
     fCalibration->fStatusLoVoltage = (Bool_t)clv;
     fStatus                        = (Byte_t)stat;
-    fStatusDC                      = (Byte_t)dc;
+    fDC->fStatus                   = (Byte_t)dc;
     fActiveLoad->fStatus           = 0xff;
 
     Int_t len2=0;
-    if (ver > gkActiveLoadControlVersNum)
+    if (ver > 200504130)
     {
         Short_t actl;
@@ -608,5 +613,5 @@
     }
 
-    if (ver > gkActiveLoadControlVersNum)
+    if (ver > 200504130)
     {
          if (!InterpreteActiveLoad(str))
Index: trunk/MagicSoft/Mars/mreport/MReportCamera.h
===================================================================
--- trunk/MagicSoft/Mars/mreport/MReportCamera.h	(revision 8963)
+++ trunk/MagicSoft/Mars/mreport/MReportCamera.h	(revision 9005)
@@ -9,4 +9,5 @@
 class MCameraLids;
 class MCameraHV;
+class MCameraDC;
 class MCameraLV;
 class MCameraAUX;
@@ -18,9 +19,5 @@
 {
 private:
-    
-    static const Int_t gkActiveLoadControlVersNum; //!
-
     Byte_t fStatus;   // CaCo monitored status of the sentinel (0-9), Sentinel_state
-    Byte_t fStatusDC; // CaCo monitored status of the DC currents (0-9), Cam.DC_state
 
     MCameraCooling     *fCooling;     //!
@@ -28,4 +25,5 @@
     MCameraAUX         *fAUX;         //!
     MCameraHV          *fHV;          //!
+    MCameraDC          *fDC;          //!
     MCameraLV          *fLV;          //!
     MCameraActiveLoad  *fActiveLoad;  //!
@@ -56,7 +54,6 @@
 
     Byte_t GetStatus() const { return  fStatus; }
-    Byte_t GetStatusDC() const { return fStatusDC; }
 
-    ClassDef(MReportCamera, 1) // Class for CAMERA-REPORT information
+    ClassDef(MReportCamera, 2) // Class for CAMERA-REPORT information
 };
 
Index: trunk/MagicSoft/Mars/mreport/MReportCurrents.cc
===================================================================
--- trunk/MagicSoft/Mars/mreport/MReportCurrents.cc	(revision 8963)
+++ trunk/MagicSoft/Mars/mreport/MReportCurrents.cc	(revision 9005)
@@ -84,27 +84,6 @@
     fStatus2 = (Byte_t)err2;
 
-    const char *pos = str.Data()+len;
-    const char *end = pos+577*4;
+    // FIXME: Set fDC->fStatus ???
 
-    Int_t i=0;
-    while (pos<end)
-    {
-        Int_t c;
-        const Char_t hex[5] = { pos[0], pos[1], pos[2], pos[3], 0 };
-        pos += 4;
-
-        const Int_t nn=sscanf(hex, "%4x", &c);
-        if (nn!=1)
-        {
-            *fLog << warn << "WARNING - Reading hexadecimal DC information." << endl;
-            return kCONTINUE;
-        }
-
-        (*fDC)[i++] = 0.001*c;
-    }
-
-    str.Remove(0, pos-str.Data()); // Remove DC currents
-    str=str.Strip(TString::kLeading);
-
-    return str.IsNull() ? kTRUE : kCONTINUE;
+    return fDC->Interprete(str, len);
 }
