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

Class Discrete

                         object --+            
                                  |            
                   Element'.Element --+        
                                      |        
Core.IdentifiedObject'.IdentifiedObject --+    
                                          |    
                   Measurement'.Measurement --+
                                              |
                                             Discrete

Discrete represents a discrete Measurement, i.e. a Measurement reprsenting discrete values, e.g. a Breaker position.

Instance Methods [hide private]
 
__init__(self, normalValue=0, minValue=0, maxValue=0, Command=None, DiscreteValues=None, ValueAliasSet=None, *args, **kw_args)
Initialises a new 'Discrete' instance.
 
addDiscreteValues(self, *DiscreteValues)
 
getCommand(self)
The Control variable associated with the Measurement.
 
getDiscreteValues(self)
The values connected to this measurement.
 
getValueAliasSet(self)
The ValueAliasSet used for translation of a MeasurementValue.value to a name
 
removeDiscreteValues(self, *DiscreteValues)
 
setCommand(self, value)
 
setDiscreteValues(self, value)
 
setValueAliasSet(self, value)

Inherited from Measurement'.Measurement: addDocuments, addLocations, addtieToMeasurement0, getAsset, getDocuments, getLocations, getPowerSystemResource, getTerminal, getUnit, gettieToMeasurement0, removeDocuments, removeLocations, removetieToMeasurement0, setAsset, setDocuments, setLocations, setPowerSystemResource, setTerminal, setUnit, settieToMeasurement0

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 = {'maxValue': <type 'int'>, 'minValue': <type 'in...
  _attrs = ['normalValue', 'minValue', 'maxValue']
  _defaults = {'maxValue': 0, 'minValue': 0, 'normalValue': 0}
  _many_refs = ['DiscreteValues']
  _refs = ['Command', 'DiscreteValues', 'ValueAliasSet']

Inherited from Element'.Element (private): _enums

Properties [hide private]
  Command
The Control variable associated with the Measurement.
  DiscreteValues
The values connected to this measurement.
  ValueAliasSet
The ValueAliasSet used for translation of a MeasurementValue.value to a name

Inherited from Measurement'.Measurement: Asset, Documents, Locations, PowerSystemResource, Terminal, Unit, tieToMeasurement0

Inherited from Core.IdentifiedObject'.IdentifiedObject: ModelingAuthoritySet

Inherited from object: __class__

Method Details [hide private]

__init__(self, normalValue=0, minValue=0, maxValue=0, Command=None, DiscreteValues=None, ValueAliasSet=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'Discrete' instance.

Parameters:
  • normalValue - Normal measurement value, e.g., used for percentage calculations.
  • minValue - Normal value range minimum for any of the MeasurementValue.values. Used for scaling, e.g. in bar graphs or of telemetered raw values
  • maxValue - Normal value range maximum for any of the MeasurementValue.values. Used for scaling, e.g. in bar graphs or of telemetered raw values.
  • Command - The Control variable associated with the Measurement.
  • DiscreteValues - The values connected to this measurement.
  • ValueAliasSet - The ValueAliasSet used for translation of a MeasurementValue.value to a name
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'maxValue': <type 'int'>,
 'minValue': <type 'int'>,
 'normalValue': <type 'int'>}

Property Details [hide private]

Command

The Control variable associated with the Measurement.

Get Method:
getCommand(self) - The Control variable associated with the Measurement.
Set Method:
setCommand(self, value)

DiscreteValues

The values connected to this measurement.

Get Method:
getDiscreteValues(self) - The values connected to this measurement.
Set Method:
setDiscreteValues(self, value)

ValueAliasSet

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

Get Method:
getValueAliasSet(self) - The ValueAliasSet used for translation of a MeasurementValue.value to a name
Set Method:
setValueAliasSet(self, value)