Package CIM14 :: Package IEC61970 :: Package Meas :: Module ValueAliasSet' :: Class ValueAliasSet
[hide private]
[frames] | no frames]

Class ValueAliasSet

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

Describes the translation of a set of values into a name and is intendend to facilitate cusom translations. Each ValueAliasSet has a name, description etc. A specific Measurement may represent a discrete state like Open, Closed, Intermediate etc. This requires a translation from the MeasurementValue.value number to a string, e.g. 0->'Invalid', 1->'Open', 2->'Closed', 3->'Intermediate'. Each ValueToAlias member in ValueAliasSet.Value describe a mapping for one particular value to a name.

Instance Methods [hide private]
 
__init__(self, Commands=None, Values=None, Discretes=None, *args, **kw_args)
Initialises a new 'ValueAliasSet' instance.
 
addCommands(self, *Commands)
 
addDiscretes(self, *Discretes)
 
addValues(self, *Values)
 
getCommands(self)
The ValueAliasSet used for translation of a Control value to a name.
 
getDiscretes(self)
The Measurements using the set for translation
 
getValues(self)
The ValueToAlias mappings included in the set
 
removeCommands(self, *Commands)
 
removeDiscretes(self, *Discretes)
 
removeValues(self, *Values)
 
setCommands(self, value)
 
setDiscretes(self, value)
 
setValues(self, value)

Inherited from 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 = {}
  _attrs = []
  _defaults = {}
  _many_refs = ['Commands', 'Values', 'Discretes']
  _refs = ['Commands', 'Values', 'Discretes']

Inherited from Element'.Element (private): _enums

Properties [hide private]
  Commands
The ValueAliasSet used for translation of a Control value to a name.
  Discretes
The Measurements using the set for translation
  Values
The ValueToAlias mappings included in the set

Inherited from Core.IdentifiedObject'.IdentifiedObject: ModelingAuthoritySet

Inherited from object: __class__

Method Details [hide private]

__init__(self, Commands=None, Values=None, Discretes=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'ValueAliasSet' instance.

Parameters:
  • Commands - The ValueAliasSet used for translation of a Control value to a name.
  • Values - The ValueToAlias mappings included in the set
  • Discretes - The Measurements using the set for translation
Overrides: object.__init__

Property Details [hide private]

Commands

The ValueAliasSet used for translation of a Control value to a name.

Get Method:
getCommands(self) - The ValueAliasSet used for translation of a Control value to a name.
Set Method:
setCommands(self, value)

Discretes

The Measurements using the set for translation

Get Method:
getDiscretes(self) - The Measurements using the set for translation
Set Method:
setDiscretes(self, value)

Values

The ValueToAlias mappings included in the set

Get Method:
getValues(self) - The ValueToAlias mappings included in the set
Set Method:
setValues(self, value)