/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes
Scraper::daq::daqdb_extractor::RawDataFile Class Reference

List of all members.

Public Member Functions

def __init__
def Validate
def Print

Public Attributes

 info

Detailed Description

Definition at line 21 of file daqdb_extractor.py.


Constructor & Destructor Documentation

def Scraper::daq::daqdb_extractor::RawDataFile::__init__ (   self)

Definition at line 22 of file daqdb_extractor.py.

00023                      :
00024       self.info = { }
00025       self.info['runNo'] = _startRun
00026       self.info['fileNo'] = -1


Member Function Documentation

def Scraper::daq::daqdb_extractor::RawDataFile::Validate (   self)

Definition at line 27 of file daqdb_extractor.py.

00028                      :
00029       # timeStart/End
00030       if self.info['timeStart'] == None:
00031          self.info['timeStart'] = 0
00032 
00033       """ Convert timezone, from Beijing time to UTC time"""
00034       self.info['timeStart'] = self.info['timeStart'] + timedelta(seconds=time.timezone)
00035       self.info['timeEnd'] = self.info['timeEnd'] + timedelta(seconds=time.timezone)
00036 
00037       self.info['versionDate'] = self.info['timeStart']
00038       self.info['insertDate'] = datetime.now() + timedelta(seconds=time.timezone)

def Scraper::daq::daqdb_extractor::RawDataFile::Print (   self,
  prompt = 'RawDataFile' 
)

Definition at line 39 of file daqdb_extractor.py.

00040                                         :
00041       print "===>>>", prompt
00042       for k, v in self.info.iteritems():
00043          print "   ", k, "=", v


Member Data Documentation

Definition at line 22 of file daqdb_extractor.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:50:03 for Scraper by doxygen 1.7.4