Package CIM14 :: Package IEC61968 :: Package Assets :: Module AcceptanceTest' :: Class AcceptanceTest
[hide private]
[frames] | no frames]

Class AcceptanceTest

      object --+    
               |    
Element'.Element --+
                   |
                  AcceptanceTest

Acceptance test for assets.

Instance Methods [hide private]
 
__init__(self, success=False, type='', dateTime='', *args, **kw_args)
Initialises a new 'AcceptanceTest' instance.

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

Class Variables [hide private]
  _attr_types = {'dateTime': <type 'str'>, 'success': <type 'boo...
  _attrs = ['success', 'type', 'dateTime']
  _defaults = {'dateTime': '', 'success': False, 'type': ''}

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, success=False, type='', dateTime='', *args, **kw_args)
(Constructor)

 

Initialises a new 'AcceptanceTest' instance.

Parameters:
  • success - True if asset has passed acceptance test and may be placed in or is in service. It is set to false if asset is removed from service and is required to be tested again before being placed back in service, possibly in a new location. Since asset may go through multiple tests during its life cycle, the date of each acceptance test may be recorded in Asset.ActivityRecord.status.dateTime.
  • type - Type of test or group of tests that was conducted on 'dateTime'.
  • dateTime - Date and time the asset was last tested using the 'type' of test and yielding the current status in 'success' attribute.
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'dateTime': <type 'str'>,
 'success': <type 'bool'>,
 'type': <type 'str'>}