Package CIM14 :: Package IEC61968 :: Package Work :: Module Work' :: Class Work
[hide private]
[frames] | no frames]

Class Work

                                  object --+            
                                           |            
                            Element'.Element --+        
                                               |        
IEC61970.Core.IdentifiedObject'.IdentifiedObject --+    
                                                   |    
                           Common.Document'.Document --+
                                                       |
                                                      Work
Known Subclasses:

Document used to request, initiate, track and record work. This is synonymous with Work Breakdown Structure (WBS), which is traversed through the (currently informative) recursive association of Work. Note that the work name is equal to the WBS name, which is given in the inherited 'name' attribute.

Instance Methods [hide private]
 
__init__(self, kind='construction', priority='', requestDateTime='', Customers=None, *args, **kw_args)
Initialises a new 'Work' instance.
 
addCustomers(self, *Customers)
 
getCustomers(self)
All the customers for which this work is performed.
 
removeCustomers(self, *Customers)
 
setCustomers(self, value)

Inherited from Common.Document'.Document: addActivityRecords, addMeasurements, getActivityRecords, getMeasurements, removeActivityRecords, removeMeasurements, setActivityRecords, setMeasurements

Inherited from IEC61970.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 = {'kind': <type 'str'>, 'priority': <type 'str'>,...
  _attrs = ['kind', 'priority', 'requestDateTime']
  _defaults = {'kind': 'construction', 'priority': '', 'requestD...
  _enums = {'kind': 'WorkKind'}
  _many_refs = ['Customers']
  _refs = ['Customers']

Inherited from Common.Document'.Document: docStatus, electronicAddress, status

Properties [hide private]
  Customers
All the customers for which this work is performed.

Inherited from Common.Document'.Document: ActivityRecords, Measurements

Inherited from IEC61970.Core.IdentifiedObject'.IdentifiedObject: ModelingAuthoritySet

Inherited from object: __class__

Method Details [hide private]

__init__(self, kind='construction', priority='', requestDateTime='', Customers=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'Work' instance.

Parameters:
  • kind - Kind of work. Values are: "construction", "maintenance", "reconnect", "meter", "service", "disconnect", "inspection", "other"
  • priority - Priority of work.
  • requestDateTime - Date and time work was requested.
  • Customers - All the customers for which this work is performed.
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'kind': <type 'str'>,
 'priority': <type 'str'>,
 'requestDateTime': <type 'str'>}

_defaults

Value:
{'kind': 'construction', 'priority': '', 'requestDateTime': ''}

Property Details [hide private]

Customers

All the customers for which this work is performed.

Get Method:
getCustomers(self) - All the customers for which this work is performed.
Set Method:
setCustomers(self, value)