Package CIM15 :: Package IEC61970 :: Package Informative :: Package InfAssets :: Module Medium' :: Class Medium
[hide private]
[frames] | no frames]

Class Medium

                         object --+        
                                  |        
                   Element'.Element --+    
                                      |    
Core.IdentifiedObject'.IdentifiedObject --+
                                          |
                                         Medium

A substance that either (1) provides the means of transmission of a force or effect, such as hydraulic fluid, or (2) is used for a surrounding or enveloping substance, such as oil in a transformer or circuit breaker.A substance that either (1) provides the means of transmission of a force or effect, such as hydraulic fluid, or (2) is used for a surrounding or enveloping substance, such as oil in a transformer or circuit breaker.

Instance Methods [hide private]
 
__init__(self, kind='gas', volumeSpec=0.0, Specification=None, Assets=None, *args, **kw_args)
Initialises a new 'Medium' instance.
 
addAssets(self, *Assets)
 
getAssets(self)
 
getSpecification(self)
 
removeAssets(self, *Assets)
 
setAssets(self, value)
 
setSpecification(self, value)

Inherited from 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 = {'kind': <type 'str'>, 'volumeSpec': <type 'floa...
  _attrs = ['kind', 'volumeSpec']
  _defaults = {'kind': 'gas', 'volumeSpec': 0.0}
  _enums = {'kind': 'MediumKind'}
  _many_refs = ['Assets']
  _refs = ['Specification', 'Assets']
Properties [hide private]
  Assets
  Specification

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

Inherited from object: __class__

Method Details [hide private]

__init__(self, kind='gas', volumeSpec=0.0, Specification=None, Assets=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'Medium' instance.

Parameters:
  • kind - Kind of this medium. Values are: "gas", "liquid", "solid"
  • volumeSpec - The volume of the medium specified for this application. Note that the actual volume is a type of measurement associated witht the asset.
  • Specification
  • Assets
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'kind': <type 'str'>, 'volumeSpec': <type 'float'>}

Property Details [hide private]

Assets

Get Method:
getAssets(self)
Set Method:
setAssets(self, value)

Specification

Get Method:
getSpecification(self)
Set Method:
setSpecification(self, value)