correction to valid types of order components set to assembly. Electodes are...

correction to valid types of order components set to assembly. Electodes are also taken into to account
parent 7a6086cf
......@@ -49,7 +49,7 @@ class MouldAssemblyBuffer(ConditionalBuffer):
ConditionalBuffer.__init__(self, id=id, name=name, capacity=capacity,
isDummy=isDummy, schedulingRule=schedulingRule)
assemblyValidTypes=set(['Mold Base', 'Mold Insert', 'Slider', 'Misc', 'Z-standards', 'K-Standards'])
assemblyValidTypes=set(['Mold Base', 'Mold Insert', 'Slider', 'Misc', 'Electrode','Z-Standards', 'K-Standards'])
assemblyInvalidTypes=set(['Mold','Injection Molding Part'])
# =======================================================================
# extends the default get entity
......
......@@ -34,7 +34,7 @@ from Job import Job
class Order(Job):
type="Order"
# XX define which are the valid assembly types - for which components should the order be searching for
assemblyValidTypes=set(['Mold Base', 'Mold Insert', 'Slider', 'Misc', 'Z-standards', 'K-Standards'])
assemblyValidTypes=set(['Mold Base', 'Mold Insert', 'Slider', 'Misc', 'Electrode','Z-Standards', 'K-Standards'])
assemblyInvalidTypes=set(['Mold','Injection Molding Part'])
def __init__(self, id=None,
name=None,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment