adding basic action reuse and recycling
This commit is contained in:
parent
4adcff0d6e
commit
b195e380a9
|
@ -10,6 +10,7 @@ ml).
|
|||
|
||||
## testing
|
||||
[1.0.10-beta]
|
||||
- [addend] #166 new action recycling and reuse
|
||||
|
||||
## [1.0.10-beta]
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
__version__ = "1.0.9-beta"
|
||||
__version__ = "1.0.10-beta"
|
||||
|
|
|
@ -194,6 +194,16 @@ class ReadyDef(ActionDef):
|
|||
SCHEMA = schemas.Ready
|
||||
|
||||
|
||||
class RecyclingDef(ActionDef):
|
||||
VIEW = None
|
||||
SCHEMA = schemas.Recycling
|
||||
|
||||
|
||||
class ReuseDef(ActionDef):
|
||||
VIEW = None
|
||||
SCHEMA = schemas.Reuse
|
||||
|
||||
|
||||
class ToPrepareDef(ActionDef):
|
||||
VIEW = None
|
||||
SCHEMA = schemas.ToPrepare
|
||||
|
|
|
@ -1341,6 +1341,14 @@ class DataWipe(JoinedTableMixin, ActionWithMultipleDevices):
|
|||
primaryjoin='DataWipe.document_id == DataWipeDocument.id')
|
||||
|
||||
|
||||
class Recycling(ActionWithMultipleDevices):
|
||||
"""This action mark one devices or container as recycled"""
|
||||
|
||||
|
||||
class Reuse(ActionWithMultipleDevices):
|
||||
"""This action mark one devices or container as reuse"""
|
||||
|
||||
|
||||
class Prepare(ActionWithMultipleDevices):
|
||||
"""Work has been performed to the device to a defined point of
|
||||
acceptance.
|
||||
|
|
|
@ -423,6 +423,14 @@ class Ready(ActionWithMultipleDevices):
|
|||
__doc__ = m.Ready.__doc__
|
||||
|
||||
|
||||
class Recycling(ActionWithMultipleDevices):
|
||||
__doc__ = m.Recycling.__doc__
|
||||
|
||||
|
||||
class Reuse(ActionWithMultipleDevices):
|
||||
__doc__ = m.Reuse.__doc__
|
||||
|
||||
|
||||
class ToPrepare(ActionWithMultipleDevices):
|
||||
__doc__ = m.ToPrepare.__doc__
|
||||
|
||||
|
|
Reference in New Issue