Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Dcs_Chiller_Far Class Reference

#include <Dcs_Chiller_Far.h>

Inheritance diagram for Dcs_Chiller_Far:

DbiTableRow List of all members.

Public Member Functions

 Dcs_Chiller_Far ()
 Dcs_Chiller_Far (const Dcs_Chiller_Far &from)
 Dcs_Chiller_Far (Float_t a, Float_t b, Float_t c, Float_t d, Int_t e, Int_t f, Int_t g, Int_t h, Float_t i, Float_t j, Int_t k, Int_t l, Float_t m, Float_t n, Float_t o, Int_t p, Float_t q, Float_t r, Float_t s, Float_t t)
virtual ~Dcs_Chiller_Far ()
Bool_t CanL2Cache () const
Bool_t Compare (const Dcs_Chiller_Far &that) const
Float_t GetReturnWt () const
Float_t GetDischargeFct () const
Float_t GetReturnCwt () const
Float_t GetDischargeCwt () const
Int_t GetStateFluidCooler () const
Int_t GetStatePumpP4 () const
Int_t GetStateChiller1 () const
Int_t GetStateChiller2 () const
Float_t GetDetReturnCwt () const
Float_t GetDetSupplyCwt () const
Int_t GetStatePumpP5 () const
Int_t GetStateDetAlarm () const
Float_t GetAhuS1RmTemp () const
Float_t GetHx3ColdRetWt () const
Float_t GetHx3WarmDischWt () const
Int_t GetStatePumpP1 () const
Float_t GetFcu1RmTemp () const
Float_t GetFcu2RmTemp () const
Float_t GetS1RmTemp () const
Float_t GetSurfaceTemp () const
virtual void Fill (DbiResultSet &rs, const DbiValidityRec *vrec)
virtual void Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const
virtual DbiTableRowCreateTableRow () const

Private Attributes

Float_t ReturnWt
Float_t DischargeFct
Float_t ReturnCwt
Float_t DischargeCwt
Int_t StateFluidCooler
Int_t StatePumpP4
Int_t StateChiller1
Int_t StateChiller2
Float_t DetReturnCwt
Float_t DetSupplyCwt
Int_t StatePumpP5
Int_t StateDetAlarm
Float_t AhuS1RmTemp
Float_t Hx3ColdRetWt
Float_t Hx3WarmDischWt
Int_t StatePumpP1
Float_t Fcu1RmTemp
Float_t Fcu2RmTemp
Float_t S1RmTemp
Float_t SurfaceTemp

Constructor & Destructor Documentation

Dcs_Chiller_Far::Dcs_Chiller_Far  )  [inline]
 

Definition at line 28 of file Dcs_Chiller_Far.h.

00028 { }

Dcs_Chiller_Far::Dcs_Chiller_Far const Dcs_Chiller_Far from  )  [inline]
 

Definition at line 29 of file Dcs_Chiller_Far.h.

00029 : DbiTableRow(from) { *this = from; }

Dcs_Chiller_Far::Dcs_Chiller_Far Float_t  a,
Float_t  b,
Float_t  c,
Float_t  d,
Int_t  e,
Int_t  f,
Int_t  g,
Int_t  h,
Float_t  i,
Float_t  j,
Int_t  k,
Int_t  l,
Float_t  m,
Float_t  n,
Float_t  o,
Int_t  p,
Float_t  q,
Float_t  r,
Float_t  s,
Float_t  t
[inline]
 

Definition at line 30 of file Dcs_Chiller_Far.h.

References AhuS1RmTemp, DetReturnCwt, DetSupplyCwt, DischargeCwt, DischargeFct, Fcu1RmTemp, Fcu2RmTemp, Hx3ColdRetWt, Hx3WarmDischWt, ReturnCwt, ReturnWt, s(), S1RmTemp, StateChiller1, StateChiller2, StateDetAlarm, StateFluidCooler, StatePumpP1, StatePumpP4, StatePumpP5, and SurfaceTemp.

virtual Dcs_Chiller_Far::~Dcs_Chiller_Far  )  [inline, virtual]
 

Definition at line 32 of file Dcs_Chiller_Far.h.

00032 { };


Member Function Documentation

Bool_t Dcs_Chiller_Far::CanL2Cache  )  const [inline, virtual]
 

Reimplemented from DbiTableRow.

Definition at line 34 of file Dcs_Chiller_Far.h.

00034 { return kTRUE; }

Bool_t Dcs_Chiller_Far::Compare const Dcs_Chiller_Far that  )  const [inline]
 

Definition at line 35 of file Dcs_Chiller_Far.h.

References AhuS1RmTemp, DetReturnCwt, DetSupplyCwt, DischargeCwt, DischargeFct, Fcu1RmTemp, Fcu2RmTemp, Hx3ColdRetWt, Hx3WarmDischWt, ReturnCwt, ReturnWt, S1RmTemp, StateChiller1, StateChiller2, StateDetAlarm, StateFluidCooler, StatePumpP1, StatePumpP4, StatePumpP5, and SurfaceTemp.

00035                                                      {
00036                 return ReturnWt   == that.ReturnWt
00037                        && DischargeFct      == that.DischargeFct
00038                        && ReturnCwt   == that.ReturnCwt
00039                        && DischargeCwt      == that.DischargeCwt
00040                        &&  StateFluidCooler  == that.StateFluidCooler
00041                        &&  StatePumpP4     == that.StatePumpP4
00042                        &&  StateChiller1     == that.StateChiller1
00043                        &&  StateChiller2     == that.StateChiller2
00044                        &&  DetReturnCwt     == that.DetReturnCwt
00045                        &&  DetSupplyCwt     == that.DetSupplyCwt
00046                        &&  StatePumpP5     == that.StatePumpP5
00047                        &&  StateDetAlarm     == that.StateDetAlarm
00048                        &&  AhuS1RmTemp   == that.AhuS1RmTemp
00049                        &&  Hx3ColdRetWt   == that.Hx3ColdRetWt
00050                        &&  Hx3WarmDischWt   == that.Hx3WarmDischWt
00051                        &&  StatePumpP1     == that.StatePumpP1
00052                        &&  Fcu1RmTemp   == that.Fcu1RmTemp
00053                        &&  Fcu2RmTemp   == that.Fcu2RmTemp
00054                        &&  S1RmTemp     == that.S1RmTemp
00055                        &&  SurfaceTemp == that.SurfaceTemp; }

virtual DbiTableRow* Dcs_Chiller_Far::CreateTableRow  )  const [inline, virtual]
 

Implements DbiTableRow.

Definition at line 85 of file Dcs_Chiller_Far.h.

00085 { return new Dcs_Chiller_Far; }

void Dcs_Chiller_Far::Fill DbiResultSet rs,
const DbiValidityRec vrec
[virtual]
 

Implements DbiTableRow.

Definition at line 30 of file Dcs_Chiller_Far.cxx.

00031                                                           {
00032 //
00033 //
00034 //  Purpose:  Fill object from Result Set
00035 //
00036 //  Arguments: 
00037 //    rs           in    Result Set used to fill object
00038 //    vrec         in    Associated validity record (or 0 if filling
00039 //                                                    DbiValidityRec)
00040 //
00041 //  o Fill object from current row of Result Set.
00042 //  This method demonstrates both the "dumb" fill method (just
00043 //  load the data as it comes) and the smart method (check column
00044 //  name and load according to column order). 
00045 
00046 //  if (    rs.TableName() != "DCS_RPS" 
00047 //       && rs.TableName() != "Dcs_Chiller_Far" ) {
00048     
00049 // Dumb method.
00050           rs >> ReturnWt >> DischargeFct >> ReturnCwt >> DischargeCwt >> StateFluidCooler >> StatePumpP4 >> StateChiller1 >> StateChiller2 >> DetReturnCwt >> DetSupplyCwt >> StatePumpP5 >> StateDetAlarm >> AhuS1RmTemp >> Hx3ColdRetWt >> Hx3WarmDischWt >> StatePumpP1 >> Fcu1RmTemp >> Fcu2RmTemp >> S1RmTemp >> SurfaceTemp;
00051 
00052 
00053 //  }
00054   
00055 // Smart method
00056 /*  else {
00057     Int_t numCol = rs.NumCols();
00058     //  The first column (SeqNo) has already been processed.
00059     for (Int_t curCol = rs.HasRowCounter() ? 3 : 2; curCol <= numCol; ++curCol) {
00060       string colName = rs.CurColName();
00061       if (      colName == "RPS_RACKNO" ) rs >> iRackno;
00062       else if ( colName == "RPS_PACKEDDATA" )  rs >> iRackraw;
00063       else if ( colName == "RPS_RACKSTATUS" )     rs >> iRackstatus;
00064       else if ( colName == "RPS_ISWARN" )     rs >> iWarn;
00065       else if ( colName == "RPS_ISERROR" )     rs >> iErr;
00066       else {
00067         MSG("Dbi",Msg::kDebug) << "Ignoring column " << curCol 
00068                                << "(" << colName << ")"
00069                               << "; not part of DcsChiller_Far" << endl;
00070         rs.IncrementCurCol();
00071       }
00072     }
00073     
00074   }
00075 */
00076 }

Float_t Dcs_Chiller_Far::GetAhuS1RmTemp  )  const [inline]
 

Definition at line 71 of file Dcs_Chiller_Far.h.

00071 { return AhuS1RmTemp; }

Float_t Dcs_Chiller_Far::GetDetReturnCwt  )  const [inline]
 

Definition at line 67 of file Dcs_Chiller_Far.h.

00067 { return DetReturnCwt; }

Float_t Dcs_Chiller_Far::GetDetSupplyCwt  )  const [inline]
 

Definition at line 68 of file Dcs_Chiller_Far.h.

00068 { return DetSupplyCwt; }

Float_t Dcs_Chiller_Far::GetDischargeCwt  )  const [inline]
 

Definition at line 61 of file Dcs_Chiller_Far.h.

00061 { return DischargeCwt; }

Float_t Dcs_Chiller_Far::GetDischargeFct  )  const [inline]
 

Definition at line 59 of file Dcs_Chiller_Far.h.

00059 { return DischargeFct; }

Float_t Dcs_Chiller_Far::GetFcu1RmTemp  )  const [inline]
 

Definition at line 75 of file Dcs_Chiller_Far.h.

00075 { return Fcu1RmTemp; }

Float_t Dcs_Chiller_Far::GetFcu2RmTemp  )  const [inline]
 

Definition at line 76 of file Dcs_Chiller_Far.h.

00076 { return Fcu2RmTemp; }

Float_t Dcs_Chiller_Far::GetHx3ColdRetWt  )  const [inline]
 

Definition at line 72 of file Dcs_Chiller_Far.h.

00072 { return Hx3ColdRetWt; }

Float_t Dcs_Chiller_Far::GetHx3WarmDischWt  )  const [inline]
 

Definition at line 73 of file Dcs_Chiller_Far.h.

00073 { return Hx3WarmDischWt; }

Float_t Dcs_Chiller_Far::GetReturnCwt  )  const [inline]
 

Definition at line 60 of file Dcs_Chiller_Far.h.

00060 { return ReturnCwt; }

Float_t Dcs_Chiller_Far::GetReturnWt  )  const [inline]
 

Definition at line 58 of file Dcs_Chiller_Far.h.

00058 { return ReturnWt; }

Float_t Dcs_Chiller_Far::GetS1RmTemp  )  const [inline]
 

Definition at line 77 of file Dcs_Chiller_Far.h.

00077 { return S1RmTemp; }

Int_t Dcs_Chiller_Far::GetStateChiller1  )  const [inline]
 

Definition at line 64 of file Dcs_Chiller_Far.h.

00064 { return StateChiller1; }

Int_t Dcs_Chiller_Far::GetStateChiller2  )  const [inline]
 

Definition at line 66 of file Dcs_Chiller_Far.h.

00066 { return StateChiller2; }

Int_t Dcs_Chiller_Far::GetStateDetAlarm  )  const [inline]
 

Definition at line 70 of file Dcs_Chiller_Far.h.

00070 { return StateDetAlarm; }

Int_t Dcs_Chiller_Far::GetStateFluidCooler  )  const [inline]
 

Definition at line 62 of file Dcs_Chiller_Far.h.

00062 { return StateFluidCooler; }

Int_t Dcs_Chiller_Far::GetStatePumpP1  )  const [inline]
 

Definition at line 74 of file Dcs_Chiller_Far.h.

00074 { return StatePumpP1; }

Int_t Dcs_Chiller_Far::GetStatePumpP4  )  const [inline]
 

Definition at line 63 of file Dcs_Chiller_Far.h.

00063 { return StatePumpP4; }

Int_t Dcs_Chiller_Far::GetStatePumpP5  )  const [inline]
 

Definition at line 69 of file Dcs_Chiller_Far.h.

00069 { return StatePumpP5; }

Float_t Dcs_Chiller_Far::GetSurfaceTemp  )  const [inline]
 

Definition at line 78 of file Dcs_Chiller_Far.h.

00078 { return SurfaceTemp; }

void Dcs_Chiller_Far::Store DbiOutRowStream ors,
const DbiValidityRec vrec
const [virtual]
 

Reimplemented from DbiTableRow.

Definition at line 79 of file Dcs_Chiller_Far.cxx.

References AhuS1RmTemp, DetReturnCwt, DetSupplyCwt, DischargeCwt, DischargeFct, Fcu1RmTemp, Fcu2RmTemp, Hx3ColdRetWt, Hx3WarmDischWt, ReturnCwt, ReturnWt, S1RmTemp, StateChiller1, StateChiller2, StateDetAlarm, StateFluidCooler, StatePumpP1, StatePumpP4, and StatePumpP5.

00080                                                                  {
00081 //  Purpose:  Stream object to output row stream
00082 //
00083 //  Arguments: 
00084 //    ors          in     Output row stream.
00085 //    vrec         in    Associated validity record (or 0 if filling
00086 //                                                    DbiValidityRec)
00087 //  o  Stream object to output row stream.
00088 
00089   ors << ReturnWt << DischargeFct << ReturnCwt << DischargeCwt << StateFluidCooler << StatePumpP4 << StateChiller1 << StateChiller2 << DetReturnCwt << DetSupplyCwt << StatePumpP5 << StateDetAlarm << AhuS1RmTemp << Hx3ColdRetWt << Hx3WarmDischWt << StatePumpP1 << Fcu1RmTemp << Fcu2RmTemp << S1RmTemp << SurfaceTemp;
00090 }


Member Data Documentation

Float_t Dcs_Chiller_Far::AhuS1RmTemp [private]
 

Definition at line 102 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Float_t Dcs_Chiller_Far::DetReturnCwt [private]
 

Definition at line 98 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Float_t Dcs_Chiller_Far::DetSupplyCwt [private]
 

Definition at line 99 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Float_t Dcs_Chiller_Far::DischargeCwt [private]
 

Definition at line 93 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Float_t Dcs_Chiller_Far::DischargeFct [private]
 

Definition at line 91 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Float_t Dcs_Chiller_Far::Fcu1RmTemp [private]
 

Definition at line 106 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Float_t Dcs_Chiller_Far::Fcu2RmTemp [private]
 

Definition at line 107 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Float_t Dcs_Chiller_Far::Hx3ColdRetWt [private]
 

Definition at line 103 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Float_t Dcs_Chiller_Far::Hx3WarmDischWt [private]
 

Definition at line 104 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Float_t Dcs_Chiller_Far::ReturnCwt [private]
 

Definition at line 92 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Float_t Dcs_Chiller_Far::ReturnWt [private]
 

Definition at line 90 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Float_t Dcs_Chiller_Far::S1RmTemp [private]
 

Definition at line 108 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Int_t Dcs_Chiller_Far::StateChiller1 [private]
 

Definition at line 96 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Int_t Dcs_Chiller_Far::StateChiller2 [private]
 

Definition at line 97 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Int_t Dcs_Chiller_Far::StateDetAlarm [private]
 

Definition at line 101 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Int_t Dcs_Chiller_Far::StateFluidCooler [private]
 

Definition at line 94 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Int_t Dcs_Chiller_Far::StatePumpP1 [private]
 

Definition at line 105 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Int_t Dcs_Chiller_Far::StatePumpP4 [private]
 

Definition at line 95 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Int_t Dcs_Chiller_Far::StatePumpP5 [private]
 

Definition at line 100 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Dcs_Chiller_Far(), and Store().

Float_t Dcs_Chiller_Far::SurfaceTemp [private]
 

Definition at line 109 of file Dcs_Chiller_Far.h.

Referenced by Compare(), and Dcs_Chiller_Far().


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:09:05 2010 for loon by  doxygen 1.3.9.1