Class OutageCode
object --+
|
Element'.Element --+
|
Core.IdentifiedObject'.IdentifiedObject --+
|
OutageCode
Classification of outage types. Multiple outage codes may apply to a
given outage or outage step.The primary overall outage type is recorded
in 'OutageRecord.outageType'. There may be more than one classification
per outage step and/or per outage record. Example codes/subcodes include:
weather/ice, weather/lightning, wildlife/squirrel, wildlife/bird,
burned/overload, burned/weather, wire down/accident, wire down/tree, wire
down/vandalism, etc. The typical outage code is in the inherited
association to Name. The code is described in the inherited 'description'
attribute.Classification of outage types. Multiple outage codes may apply
to a given outage or outage step.The primary overall outage type is
recorded in 'OutageRecord.outageType'. There may be more than one
classification per outage step and/or per outage record. Example
codes/subcodes include: weather/ice, weather/lightning,
wildlife/squirrel, wildlife/bird, burned/overload, burned/weather, wire
down/accident, wire down/tree, wire down/vandalism, etc. The typical
outage code is in the inherited association to Name. The code is
described in the inherited 'description' attribute.
|
|
__init__(self,
subCode='',
OutageRecords=None,
OutageSteps=None,
*args,
**kw_args)
Initialises a new 'OutageCode' instance. |
|
|
|
|
| addOutageRecords(self,
*OutageRecords) |
|
|
|
|
| addOutageSteps(self,
*OutageSteps) |
|
|
|
|
|
|
|
|
|
|
| removeOutageRecords(self,
*OutageRecords) |
|
|
|
|
| removeOutageSteps(self,
*OutageSteps) |
|
|
|
|
| setOutageRecords(self,
value) |
|
|
|
|
| setOutageSteps(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__
|
|
|
_attr_types = {'subCode': <type 'str'>}
|
|
|
_attrs = ['subCode']
|
|
|
_defaults = {'subCode': ''}
|
|
|
_many_refs = ['OutageRecords', 'OutageSteps']
|
|
|
_refs = ['OutageRecords', 'OutageSteps']
|
|
|
__init__(self,
subCode='',
OutageRecords=None,
OutageSteps=None,
*args,
**kw_args)
(Constructor)
|
|
Initialises a new 'OutageCode' instance.
- Parameters:
subCode - The main code is stored in the inherited association to Name.
This sub-code provides an additional level of classification
detail.
OutageRecords
OutageSteps
- Overrides:
object.__init__
|