Package CIM15 :: 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.Physically controls access to AssetContainers.

Instance Methods [hide private]
 
__init__(self, appliedDateTime='', sealNumber='', kind='lead', condition='open', 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: addDiagramObjects, addNames, getDiagramObjects, getModelingAuthoritySet, getNames, removeDiagramObjects, removeNames, setDiagramObjects, setModelingAuthoritySet, setNames

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 = ['appliedDateTime', 'sealNumber', 'kind', 'condition']
  _defaults = {'appliedDateTime': '', 'condition': 'open', 'kind...
  _enums = {'condition': 'SealConditionKind', 'kind': 'SealKind'}
  _many_refs = []
  _refs = ['AssetContainer']
Properties [hide private]
  AssetContainer
Asset container to which this seal is applied.

Inherited from IEC61970.Core.IdentifiedObject'.IdentifiedObject: DiagramObjects, ModelingAuthoritySet, Names

Inherited from object: __class__

Method Details [hide private]

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

 

Initialises a new 'Seal' instance.

Parameters:
  • appliedDateTime - Date and time this seal has been applied.
  • sealNumber - (reserved word) Seal number.
  • kind - Kind of seal. Values are: "lead", "other", "steel", "lock"
  • condition - Condition of seal. Values are: "open", "broken", "other", "missing", "locked"
  • 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': 'lead',
 '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)