Package CIM15 :: Package IEC61970 :: Package Informative :: Package InfLocations :: Module Hazard' :: Class Hazard
[hide private]
[frames] | no frames]

Class Hazard

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

A hazard is any object or condition that is a danger for causing loss or perils to an asset and/or people. Examples of hazards are trees growing under overhead power lines, a park being located by a substation (i.e., children climb fence to recover a ball), a lake near an overhead distribution line (fishing pole/line contacting power lines), etc.A hazard is any object or condition that is a danger for causing loss or perils to an asset and/or people. Examples of hazards are trees growing under overhead power lines, a park being located by a substation (i.e., children climb fence to recover a ball), a lake near an overhead distribution line (fishing pole/line contacting power lines), etc.

Instance Methods [hide private]
 
__init__(self, category='', Locations=None, status=None, *args, **kw_args)
Initialises a new 'Hazard' instance.
 
addLocations(self, *Locations)
 
getLocations(self)
The point or polygon location of a given hazard.
 
removeLocations(self, *Locations)
 
setLocations(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 = {'category': <type 'str'>}
  _attrs = ['category']
  _defaults = {'category': ''}
  _many_refs = ['Locations']
  _refs = ['Locations', 'status']
  status = None

Inherited from Element'.Element (private): _enums

Properties [hide private]
  Locations
The point or polygon location of a given hazard.

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

Inherited from object: __class__

Method Details [hide private]

__init__(self, category='', Locations=None, status=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'Hazard' instance.

Parameters:
  • category - Category by utility's corporate standards and practices.
  • Locations - The point or polygon location of a given hazard.
  • status
Overrides: object.__init__

Property Details [hide private]

Locations

The point or polygon location of a given hazard.

Get Method:
getLocations(self) - The point or polygon location of a given hazard.
Set Method:
setLocations(self, value)