BmfoMeter Class Reference

List of all members.

Public Member Functions

 BmfoMeter ($dbxconnection, $NetworkOID)
 getProduction ($dateStart, $dateEnd)
 getLocationDescription ($strLanguage)
 getMeasuredVolume ($dateStart, $dateEnd)
 getEstimatedVolume ($dateStart, $dateEnd)
 getEstimatedArray ($dateStart, $dateEnd)
 getMeasuredArray ($dateStart, $dateEnd)
 getLastStatus ($strDate)
 getLastValue ($strDate)
 getFirstStatus ($strDate)
 getFirstValue ($strDate)
 getLastRecordDate ($strDate)
 getFirstRecordDate ($strDate)
 getLastInstallationArray ($strDate, $intSubtype)
 getNextInstallationArray ($strDate, $intSubtype)

Public Attributes

 $rdbms
 $NetworkOID

Constructor & Destructor Documentation

BmfoMeter::BmfoMeter dbxconnection,
NetworkOID
 


Member Function Documentation

BmfoMeter::getEstimatedArray dateStart,
dateEnd
 

BmfoMeter::getEstimatedVolume dateStart,
dateEnd
 

BmfoMeter::getFirstRecordDate strDate  ) 
 

BmfoMeter::getFirstStatus strDate  ) 
 

BmfoMeter::getFirstValue strDate  ) 
 

Returns the first reading of a meter after a given date.

Parameters:
$strDate is the date after which the value will be searched for.
Todo:
Refactor with getLastStatus() and getLastInstallation().

BmfoMeter::getLastInstallationArray strDate,
intSubtype
 

Return the last installation event prior to a given date

Parameters:
$strDate is the date before the installation event has taken place
$intSubtype allows to specify the installation subtype
Returns:
An array with RecordDate, EquipmentOID, Subtype and Value or a dummy array.

BmfoMeter::getLastRecordDate strDate  ) 
 

BmfoMeter::getLastStatus strDate  ) 
 

BmfoMeter::getLastValue strDate  ) 
 

BmfoMeter::getLocationDescription strLanguage  ) 
 

BmfoMeter::getMeasuredArray dateStart,
dateEnd
 

BmfoMeter::getMeasuredVolume dateStart,
dateEnd
 

BmfoMeter::getNextInstallationArray strDate,
intSubtype
 

Return the next installation event after a given date

Parameters:
$strDate is the date before the installation event has taken place
$intSubtype allows to specify the installation subtype
Returns:
An array with RecordDate, EquipmentOID, Subtype and Reading or a dummy array.

BmfoMeter::getProduction dateStart,
dateEnd
 


Member Data Documentation

BmfoMeter::$NetworkOID
 

BmfoMeter::$rdbms
 


The documentation for this class was generated from the following file:
Generated on Tue Sep 26 22:29:57 2006 for BMFO by  doxygen 1.4.6-NO