Package CIM15 :: Package IEC61970 :: Package Informative :: Package InfWork :: Module LaborItem' :: Class LaborItem
[hide private]
[frames] | no frames]

Class LaborItem

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

Labor used for work order.Labor used for work order.

Instance Methods [hide private]
 
__init__(self, cost=0.0, laborRate=0.0, laborDuration=0.0, activityCode='', ErpPersons=None, WorkTask=None, status=None, WorkCostDetail=None, *args, **kw_args)
Initialises a new 'LaborItem' instance.
 
addErpPersons(self, *ErpPersons)
 
getErpPersons(self)
 
getWorkCostDetail(self)
 
getWorkTask(self)
 
removeErpPersons(self, *ErpPersons)
 
setErpPersons(self, value)
 
setWorkCostDetail(self, value)
 
setWorkTask(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 = {'activityCode': <type 'str'>, 'cost': <type 'fl...
  _attrs = ['cost', 'laborRate', 'laborDuration', 'activityCode']
  _defaults = {'activityCode': '', 'cost': 0.0, 'laborDuration':...
  _many_refs = ['ErpPersons']
  _refs = ['ErpPersons', 'WorkTask', 'status', 'WorkCostDetail']
  status = None

Inherited from Element'.Element (private): _enums

Properties [hide private]
  ErpPersons
  WorkCostDetail
  WorkTask

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

Inherited from object: __class__

Method Details [hide private]

__init__(self, cost=0.0, laborRate=0.0, laborDuration=0.0, activityCode='', ErpPersons=None, WorkTask=None, status=None, WorkCostDetail=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'LaborItem' instance.

Parameters:
  • cost - Total cost for labor. Note that this may not be able to be derived from labor rate and time charged.
  • laborRate - The labor rate applied for work.
  • laborDuration - Time required to perform work.
  • activityCode - Activity code identifies a specific and distinguishable unit of work.
  • ErpPersons
  • WorkTask
  • status
  • WorkCostDetail
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'activityCode': <type 'str'>,
 'cost': <type 'float'>,
 'laborDuration': <type 'float'>,
 'laborRate': <type 'float'>}

_defaults

Value:
{'activityCode': '',
 'cost': 0.0,
 'laborDuration': 0.0,
 'laborRate': 0.0}

Property Details [hide private]

ErpPersons

Get Method:
getErpPersons(self)
Set Method:
setErpPersons(self, value)

WorkCostDetail

Get Method:
getWorkCostDetail(self)
Set Method:
setWorkCostDetail(self, value)

WorkTask

Get Method:
getWorkTask(self)
Set Method:
setWorkTask(self, value)