class Shift object def __init__ self self workpieces self cost self ty

1
2
3
4
5
6
7
8
class Shift(object):
def __init__(self):
self.workpieces = []
self.cost = self.type = self.depot = None
def add_workpiece(self, workpiece):
self.workpieces.append(workpiece)