Changeset 7208 for trunk/MagicSoft/Mars/mreport
- Timestamp:
- 07/22/05 11:11:26 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mreport
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mreport/MReport.cc
r4575 r7208 29 29 // This is a base class for all reports comming from subsystems stored in 30 30 // a report file. 31 // 32 // 33 // Due to wrong assignment by arehucas the veriosn number for some 34 // cases is replaced. 35 // 36 // Old Version | MjdMin | MjdMax | New Version 37 // -------------+---------+---------+------------- 38 // 200504130 | 53548.0 | 53567.0 | 200506300 39 // 200503170 | 53446.5 | 53447.5 | 200502240 40 // 31 41 // 32 42 // Be carefull: The class name of all classes derived from this class … … 105 115 // SetupReading must be called successfully before. 106 116 // 117 // Due to wrong assignment by arehucas the veriosn number for some 118 // cases is replaced. 119 // 120 // Old Version | MjdMin | MjdMax | New Version 121 // -------------+---------+---------+------------- 122 // 200504130 | 53548.0 | 53567.0 | 200506300 123 // 200503170 | 53446.5 | 53447.5 | 200502240 124 // 107 125 Int_t MReport::Interprete(TString &str, const MTime &start, const MTime &stop, Int_t ver) 108 126 { 127 // Interprete header (time, status, etc) of report 109 128 if (!InterpreteHeader(str)) 110 129 return kFALSE; … … 116 135 return -1; 117 136 137 // Due to wrong assignment by arehucas the veriosn number for some 138 // cases is replaced. 139 if (ver==200504130 && GetMjd()>53548 && GetMjd()<53567) 140 ver=200506300; 141 142 if (ver==200503170 && GetMjd()>53446.5 && GetMjd()<53447.5) 143 ver=200502240; 144 145 // Interprete body (contents) of report 118 146 const Int_t rc = InterpreteBody(str, ver); 119 147 if (rc != kTRUE) -
trunk/MagicSoft/Mars/mreport/MReport.h
r4575 r7208 5 5 #include "MParContainer.h" 6 6 #endif 7 7 #include "MTime.h" 8 8 class MTime; 9 9 class MParList; … … 42 42 43 43 Byte_t GetState() const { return fState; } 44 Double_t GetMjd() const { return fTime ? fTime->GetMjd() : -1; } 44 45 45 46 ClassDef(MReport, 1) // Base class for control reports -
trunk/MagicSoft/Mars/mreport/MReportCamera.cc
r7202 r7208 622 622 return kCONTINUE; 623 623 624 if (ver > =gkActiveLoadControlVersNum)624 if (ver > gkActiveLoadControlVersNum) 625 625 { 626 626 if (!InterpreteActiveLoad(str))
Note:
See TracChangeset
for help on using the changeset viewer.