Package CIM14 :: Package IEC61968 :: Package Metering :: Module IntervalBlock' :: Class IntervalBlock
[hide private]
[frames] | no frames]

Class IntervalBlock

      object --+    
               |    
Element'.Element --+
                   |
                  IntervalBlock

Time sequence of Readings of the same ReadingType. Contained IntervalReadings may need conversion through the application of an offset and a scalar defined in associated Pending.

Instance Methods [hide private]
 
__init__(self, MeterReading=None, Pending=None, ReadingType=None, IntervalReadings=None, *args, **kw_args)
Initialises a new 'IntervalBlock' instance.
 
addIntervalReadings(self, *IntervalReadings)
 
getIntervalReadings(self)
Interval reading contained in this block.
 
getMeterReading(self)
Meter reading containing this interval block.
 
getPending(self)
Pending conversion to apply to interval reading values contained by this block (after which the resulting reading type is different than the original because it reflects the conversion result).
 
getReadingType(self)
Type information for interval reading values contained in this block.
 
removeIntervalReadings(self, *IntervalReadings)
 
setIntervalReadings(self, value)
 
setMeterReading(self, value)
 
setPending(self, value)
 
setReadingType(self, value)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _attr_types = {}
  _attrs = []
  _defaults = {}
  _many_refs = ['IntervalReadings']
  _refs = ['MeterReading', 'Pending', 'ReadingType', 'IntervalRe...

Inherited from Element'.Element (private): _enums

Properties [hide private]
  IntervalReadings
Interval reading contained in this block.
  MeterReading
Meter reading containing this interval block.
  Pending
Pending conversion to apply to interval reading values contained by this block (after which the resulting reading type is different than the original because it reflects the conversion result).
  ReadingType
Type information for interval reading values contained in this block.

Inherited from object: __class__

Method Details [hide private]

__init__(self, MeterReading=None, Pending=None, ReadingType=None, IntervalReadings=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'IntervalBlock' instance.

Parameters:
  • MeterReading - Meter reading containing this interval block.
  • Pending - Pending conversion to apply to interval reading values contained by this block (after which the resulting reading type is different than the original because it reflects the conversion result).
  • ReadingType - Type information for interval reading values contained in this block.
  • IntervalReadings - Interval reading contained in this block.
Overrides: object.__init__

Class Variable Details [hide private]

_refs

Value:
['MeterReading', 'Pending', 'ReadingType', 'IntervalReadings']

Property Details [hide private]

IntervalReadings

Interval reading contained in this block.

Get Method:
getIntervalReadings(self) - Interval reading contained in this block.
Set Method:
setIntervalReadings(self, value)

MeterReading

Meter reading containing this interval block.

Get Method:
getMeterReading(self) - Meter reading containing this interval block.
Set Method:
setMeterReading(self, value)

Pending

Pending conversion to apply to interval reading values contained by this block (after which the resulting reading type is different than the original because it reflects the conversion result).

Get Method:
getPending(self) - Pending conversion to apply to interval reading values contained by this block (after which the resulting reading type is different than the original because it reflects the conversion result).
Set Method:
setPending(self, value)

ReadingType

Type information for interval reading values contained in this block.

Get Method:
getReadingType(self) - Type information for interval reading values contained in this block.
Set Method:
setReadingType(self, value)