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

Detailed Description

Definition at line 11 of file Dcs_Chiller_Far.h.


Constructor & Destructor Documentation

Dcs_Chiller_Far::Dcs_Chiller_Far (  )  [inline]

Definition at line 18 of file Dcs_Chiller_Far.h.

00018 { }

Dcs_Chiller_Far::Dcs_Chiller_Far ( const Dcs_Chiller_Far from  )  [inline]

Definition at line 19 of file Dcs_Chiller_Far.h.

00019 : 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]
virtual Dcs_Chiller_Far::~Dcs_Chiller_Far (  )  [inline, virtual]

Definition at line 22 of file Dcs_Chiller_Far.h.

00022 { };


Member Function Documentation

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

Reimplemented from DbiTableRow.

Definition at line 24 of file Dcs_Chiller_Far.h.

00024 { return kTRUE; }

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

Definition at line 25 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.

00025                                                      {
00026                 return ReturnWt   == that.ReturnWt
00027                        && DischargeFct      == that.DischargeFct
00028                        && ReturnCwt   == that.ReturnCwt
00029                        && DischargeCwt      == that.DischargeCwt
00030                        &&  StateFluidCooler  == that.StateFluidCooler
00031                        &&  StatePumpP4     == that.StatePumpP4
00032                        &&  StateChiller1     == that.StateChiller1
00033                        &&  StateChiller2     == that.StateChiller2
00034                        &&  DetReturnCwt     == that.DetReturnCwt
00035                        &&  DetSupplyCwt     == that.DetSupplyCwt
00036                        &&  StatePumpP5     == that.StatePumpP5
00037                        &&  StateDetAlarm     == that.StateDetAlarm
00038                        &&  AhuS1RmTemp   == that.AhuS1RmTemp
00039                        &&  Hx3ColdRetWt   == that.Hx3ColdRetWt
00040                        &&  Hx3WarmDischWt   == that.Hx3WarmDischWt
00041                        &&  StatePumpP1     == that.StatePumpP1
00042                        &&  Fcu1RmTemp   == that.Fcu1RmTemp
00043                        &&  Fcu2RmTemp   == that.Fcu2RmTemp
00044                        &&  S1RmTemp     == that.S1RmTemp
00045                        &&  SurfaceTemp == that.SurfaceTemp; }

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

Implements DbiTableRow.

Definition at line 75 of file Dcs_Chiller_Far.h.

00075 { 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.

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

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 61 of file Dcs_Chiller_Far.h.

References AhuS1RmTemp.

00061 { return AhuS1RmTemp; }

Float_t Dcs_Chiller_Far::GetDetReturnCwt (  )  const [inline]

Definition at line 57 of file Dcs_Chiller_Far.h.

References DetReturnCwt.

00057 { return DetReturnCwt; }

Float_t Dcs_Chiller_Far::GetDetSupplyCwt (  )  const [inline]

Definition at line 58 of file Dcs_Chiller_Far.h.

References DetSupplyCwt.

00058 { return DetSupplyCwt; }

Float_t Dcs_Chiller_Far::GetDischargeCwt (  )  const [inline]

Definition at line 51 of file Dcs_Chiller_Far.h.

References DischargeCwt.

00051 { return DischargeCwt; }

Float_t Dcs_Chiller_Far::GetDischargeFct (  )  const [inline]

Definition at line 49 of file Dcs_Chiller_Far.h.

References DischargeFct.

00049 { return DischargeFct; }

Float_t Dcs_Chiller_Far::GetFcu1RmTemp (  )  const [inline]

Definition at line 65 of file Dcs_Chiller_Far.h.

References Fcu1RmTemp.

00065 { return Fcu1RmTemp; }

Float_t Dcs_Chiller_Far::GetFcu2RmTemp (  )  const [inline]

Definition at line 66 of file Dcs_Chiller_Far.h.

References Fcu2RmTemp.

00066 { return Fcu2RmTemp; }

Float_t Dcs_Chiller_Far::GetHx3ColdRetWt (  )  const [inline]

Definition at line 62 of file Dcs_Chiller_Far.h.

References Hx3ColdRetWt.

00062 { return Hx3ColdRetWt; }

Float_t Dcs_Chiller_Far::GetHx3WarmDischWt (  )  const [inline]

Definition at line 63 of file Dcs_Chiller_Far.h.

References Hx3WarmDischWt.

00063 { return Hx3WarmDischWt; }

Float_t Dcs_Chiller_Far::GetReturnCwt (  )  const [inline]

Definition at line 50 of file Dcs_Chiller_Far.h.

References ReturnCwt.

00050 { return ReturnCwt; }

Float_t Dcs_Chiller_Far::GetReturnWt (  )  const [inline]

Definition at line 48 of file Dcs_Chiller_Far.h.

References ReturnWt.

00048 { return ReturnWt; }

Float_t Dcs_Chiller_Far::GetS1RmTemp (  )  const [inline]

Definition at line 67 of file Dcs_Chiller_Far.h.

References S1RmTemp.

00067 { return S1RmTemp; }

Int_t Dcs_Chiller_Far::GetStateChiller1 (  )  const [inline]

Definition at line 54 of file Dcs_Chiller_Far.h.

References StateChiller1.

00054 { return StateChiller1; }

Int_t Dcs_Chiller_Far::GetStateChiller2 (  )  const [inline]

Definition at line 56 of file Dcs_Chiller_Far.h.

References StateChiller2.

00056 { return StateChiller2; }

Int_t Dcs_Chiller_Far::GetStateDetAlarm (  )  const [inline]

Definition at line 60 of file Dcs_Chiller_Far.h.

References StateDetAlarm.

00060 { return StateDetAlarm; }

Int_t Dcs_Chiller_Far::GetStateFluidCooler (  )  const [inline]

Definition at line 52 of file Dcs_Chiller_Far.h.

References StateFluidCooler.

00052 { return StateFluidCooler; }

Int_t Dcs_Chiller_Far::GetStatePumpP1 (  )  const [inline]

Definition at line 64 of file Dcs_Chiller_Far.h.

References StatePumpP1.

00064 { return StatePumpP1; }

Int_t Dcs_Chiller_Far::GetStatePumpP4 (  )  const [inline]

Definition at line 53 of file Dcs_Chiller_Far.h.

References StatePumpP4.

00053 { return StatePumpP4; }

Int_t Dcs_Chiller_Far::GetStatePumpP5 (  )  const [inline]

Definition at line 59 of file Dcs_Chiller_Far.h.

References StatePumpP5.

00059 { return StatePumpP5; }

Float_t Dcs_Chiller_Far::GetSurfaceTemp (  )  const [inline]

Definition at line 68 of file Dcs_Chiller_Far.h.

References SurfaceTemp.

00068 { 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, StatePumpP5, and SurfaceTemp.

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 92 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetAhuS1RmTemp(), and Store().

Float_t Dcs_Chiller_Far::DetReturnCwt [private]

Definition at line 88 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetDetReturnCwt(), and Store().

Float_t Dcs_Chiller_Far::DetSupplyCwt [private]

Definition at line 89 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetDetSupplyCwt(), and Store().

Float_t Dcs_Chiller_Far::DischargeCwt [private]

Definition at line 83 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetDischargeCwt(), and Store().

Float_t Dcs_Chiller_Far::DischargeFct [private]

Definition at line 81 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetDischargeFct(), and Store().

Float_t Dcs_Chiller_Far::Fcu1RmTemp [private]

Definition at line 96 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetFcu1RmTemp(), and Store().

Float_t Dcs_Chiller_Far::Fcu2RmTemp [private]

Definition at line 97 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetFcu2RmTemp(), and Store().

Float_t Dcs_Chiller_Far::Hx3ColdRetWt [private]

Definition at line 93 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetHx3ColdRetWt(), and Store().

Definition at line 94 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetHx3WarmDischWt(), and Store().

Float_t Dcs_Chiller_Far::ReturnCwt [private]

Definition at line 82 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetReturnCwt(), and Store().

Float_t Dcs_Chiller_Far::ReturnWt [private]

Definition at line 80 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetReturnWt(), and Store().

Float_t Dcs_Chiller_Far::S1RmTemp [private]

Definition at line 98 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetS1RmTemp(), and Store().

Definition at line 86 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetStateChiller1(), and Store().

Definition at line 87 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetStateChiller2(), and Store().

Definition at line 91 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetStateDetAlarm(), and Store().

Definition at line 84 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetStateFluidCooler(), and Store().

Definition at line 95 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetStatePumpP1(), and Store().

Definition at line 85 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetStatePumpP4(), and Store().

Definition at line 90 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetStatePumpP5(), and Store().

Float_t Dcs_Chiller_Far::SurfaceTemp [private]

Definition at line 99 of file Dcs_Chiller_Far.h.

Referenced by Compare(), Fill(), GetSurfaceTemp(), and Store().


The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1