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

Class Seal

                                  object --+        
                                           |        
                            Element'.Element --+    
                                               |    
IEC61970.Core.IdentifiedObject'.IdentifiedObject --+
                                                   |
                                                  Seal

Physically controls access to AssetContainers.

Instance Methods [hide private]
 
__init__(self, kind='other', condition='open', sealNumber='', appliedDateTime='', AssetContainer=None, *args, **kw_args)
Initialises a new 'Seal' instance.
 
getAssetContainer(self)
Asset container to which this seal is applied.
 
setAssetContainer(self, value)

Inherited from IEC61970.Core.IdentifiedObject'.IdentifiedObject: getModelingAuthoritySet, setModelingAuthoritySet

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

Class Variables [hide private]
  _attr_types = {'appliedDateTime': <type 'str'>, 'condition': <...
  _attrs = ['kind', 'condition', 'sealNumber', 'appliedDateTime']
  _defaults = {'appliedDateTime': '', 'condition': 'open', 'kind...
  _enums = {'condition': 'SealConditionKind', 'kind': 'SealKind'}
  _refs = ['AssetContainer']

Inherited from Element'.Element (private): _many_refs

Properties [hide private]
  AssetContainer
Asset container to which this seal is applied.

Inherited from IEC61970.Core.IdentifiedObject'.IdentifiedObject: ModelingAuthoritySet

Inherited from object: __class__

Method Details [hide private]

__init__(self, kind='other', condition='open', sealNumber='', appliedDateTime='', AssetContainer=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'Seal' instance.

Parameters:
  • kind - Kind of seal. Values are: "other", "lead", "steel", "lock"
  • condition - Condition of seal. Values are: "open", "broken", "missing", "other", "locked"
  • sealNumber - (reserved word) Seal number.
  • appliedDateTime - Date and time this seal has been applied.
  • AssetContainer - Asset container to which this seal is applied.
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'appliedDateTime': <type 'str'>,
 'condition': <type 'str'>,
 'kind': <type 'str'>,
 'sealNumber': <type 'str'>}

_defaults

Value:
{'appliedDateTime': '',
 'condition': 'open',
 'kind': 'other',
 'sealNumber': ''}

Property Details [hide private]

AssetContainer

Asset container to which this seal is applied.

Get Method:
getAssetContainer(self) - Asset container to which this seal is applied.
Set Method:
setAssetContainer(self, value)