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

Class ShiftPattern

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

The patterns of shifts worked by people or crews.The patterns of shifts worked by people or crews.

Instance Methods [hide private]
 
__init__(self, cycleCount=0, assignmentType='', Crews=None, status=None, validityInterval=None, *args, **kw_args)
Initialises a new 'ShiftPattern' instance.
 
addCrews(self, *Crews)
 
getCrews(self)
 
removeCrews(self, *Crews)
 
setCrews(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 = {'assignmentType': <type 'str'>, 'cycleCount': <...
  _attrs = ['cycleCount', 'assignmentType']
  _defaults = {'assignmentType': '', 'cycleCount': 0}
  _many_refs = ['Crews']
  _refs = ['Crews', 'status', 'validityInterval']
  status = None
  validityInterval = None

Inherited from Element'.Element (private): _enums

Properties [hide private]
  Crews

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

Inherited from object: __class__

Method Details [hide private]

__init__(self, cycleCount=0, assignmentType='', Crews=None, status=None, validityInterval=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'ShiftPattern' instance.

Parameters:
  • cycleCount - Number of cycles for a temporary shift.
  • assignmentType - Type of assignement intended to be worked on this shift, for example, temporary, standard, etc.
  • Crews
  • status
  • validityInterval - Date and time interval for which this shift pattern is valid (when it became effective and when it expires).
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'assignmentType': <type 'str'>, 'cycleCount': <type 'int'>}

Property Details [hide private]

Crews

Get Method:
getCrews(self)
Set Method:
setCrews(self, value)