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

Class ReadingQuality

      object --+    
               |    
Element'.Element --+
                   |
                  ReadingQuality

Quality of a specific reading value or interval reading value. Note that more than one Quality may be applicable to a given Reading. Typically not used unless problems or unusual conditions occur (i.e., quality for each Reading is assumed to be 'Good' unless stated otherwise in associated ReadingQuality).

Instance Methods [hide private]
 
__init__(self, quality='', IntervalReading=None, Reading=None, *args, **kw_args)
Initialises a new 'ReadingQuality' instance.
 
getIntervalReading(self)
Interval reading value to which this quality applies.
 
getReading(self)
Reading value to which this quality applies.
 
setIntervalReading(self, value)
 
setReading(self, value)

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

Class Variables [hide private]
  _attr_types = {'quality': <type 'str'>}
  _attrs = ['quality']
  _defaults = {'quality': ''}
  _refs = ['IntervalReading', 'Reading']

Inherited from Element'.Element (private): _enums, _many_refs

Properties [hide private]
  IntervalReading
Interval reading value to which this quality applies.
  Reading
Reading value to which this quality applies.

Inherited from object: __class__

Method Details [hide private]

__init__(self, quality='', IntervalReading=None, Reading=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'ReadingQuality' instance.

Parameters:
  • quality - Quality, to be specified if different than 'Good'.
  • IntervalReading - Interval reading value to which this quality applies.
  • Reading - Reading value to which this quality applies.
Overrides: object.__init__

Property Details [hide private]

IntervalReading

Interval reading value to which this quality applies.

Get Method:
getIntervalReading(self) - Interval reading value to which this quality applies.
Set Method:
setIntervalReading(self, value)

Reading

Reading value to which this quality applies.

Get Method:
getReading(self) - Reading value to which this quality applies.
Set Method:
setReading(self, value)