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

Class Streetlight

                         object --+            
                                  |            
                   Element'.Element --+        
                                      |        
Core.IdentifiedObject'.IdentifiedObject --+    
                                          |    
               IEC61968.Assets.Asset'.Asset --+
                                              |
                                             Streetlight

Streetlight asset.Streetlight asset.

Instance Methods [hide private]
 
__init__(self, armLength=0.0, lampKind='metalHalide', lightRating=0.0, Pole=None, *args, **kw_args)
Initialises a new 'Streetlight' instance.
 
getPole(self)
Streetlight(s) may be attached to a pole.
 
setPole(self, value)

Inherited from IEC61968.Assets.Asset'.Asset: addActivityRecords, addAssetFunctions, addAssetPropertyCurves, addChangeItems, addDocumentRoles, addErpOrganisationRoles, addErpRecDeliveryItems, addFromAssetRoles, addMeasurements, addMediums, addPowerSystemResources, addProperties, addRatings, addReliabilityInfos, addScheduledEvents, addToAssetRoles, getActivityRecords, getAssetContainer, getAssetFunctions, getAssetInfo, getAssetPropertyCurves, getChangeItems, getDocumentRoles, getErpInventory, getErpItemMaster, getErpOrganisationRoles, getErpRecDeliveryItems, getFinancialInfo, getFromAssetRoles, getLocation, getMeasurements, getMediums, getPowerSystemResources, getProperties, getRatings, getReliabilityInfos, getScheduledEvents, getToAssetRoles, getWorkTask, removeActivityRecords, removeAssetFunctions, removeAssetPropertyCurves, removeChangeItems, removeDocumentRoles, removeErpOrganisationRoles, removeErpRecDeliveryItems, removeFromAssetRoles, removeMeasurements, removeMediums, removePowerSystemResources, removeProperties, removeRatings, removeReliabilityInfos, removeScheduledEvents, removeToAssetRoles, setActivityRecords, setAssetContainer, setAssetFunctions, setAssetInfo, setAssetPropertyCurves, setChangeItems, setDocumentRoles, setErpInventory, setErpItemMaster, setErpOrganisationRoles, setErpRecDeliveryItems, setFinancialInfo, setFromAssetRoles, setLocation, setMeasurements, setMediums, setPowerSystemResources, setProperties, setRatings, setReliabilityInfos, setScheduledEvents, setToAssetRoles, setWorkTask

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 = {'armLength': <type 'float'>, 'lampKind': <type ...
  _attrs = ['armLength', 'lampKind', 'lightRating']
  _defaults = {'armLength': 0.0, 'lampKind': 'metalHalide', 'lig...
  _enums = {'lampKind': 'StreetlightLampKind'}
  _many_refs = []
  _refs = ['Pole']

Inherited from IEC61968.Assets.Asset'.Asset: acceptanceTest, electronicAddress, status

Properties [hide private]
  Pole
Streetlight(s) may be attached to a pole.

Inherited from IEC61968.Assets.Asset'.Asset: ActivityRecords, AssetContainer, AssetFunctions, AssetInfo, AssetPropertyCurves, ChangeItems, DocumentRoles, ErpInventory, ErpItemMaster, ErpOrganisationRoles, ErpRecDeliveryItems, FinancialInfo, FromAssetRoles, Location, Measurements, Mediums, PowerSystemResources, Properties, Ratings, ReliabilityInfos, ScheduledEvents, ToAssetRoles, WorkTask

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

Inherited from object: __class__

Method Details [hide private]

__init__(self, armLength=0.0, lampKind='metalHalide', lightRating=0.0, Pole=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'Streetlight' instance.

Parameters:
  • armLength - Length of arm. Note that a new light may be placed on an existing arm.
  • lampKind - Lamp kind. Values are: "metalHalide", "highPressureSodium", "other", "mercuryVapor"
  • lightRating - Power rating of light.
  • Pole - Streetlight(s) may be attached to a pole.
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'armLength': <type 'float'>,
 'lampKind': <type 'str'>,
 'lightRating': <type 'float'>}

_defaults

Value:
{'armLength': 0.0, 'lampKind': 'metalHalide', 'lightRating': 0.0}

Property Details [hide private]

Pole

Streetlight(s) may be attached to a pole.

Get Method:
getPole(self) - Streetlight(s) may be attached to a pole.
Set Method:
setPole(self, value)