Exemple #1
0
 def getEntity(self):
     activeEntity = MachineJobShop.getEntity(self)
     productId = activeEntity.productId
     if productId not in self.alreadyProcessedProductIds:
         self.alreadyProcessedProductIds.append(productId)
     else:
         self.procTime = 0
     return activeEntity
Exemple #2
0
    def getEntity(self):
        activeEntity=MachineJobShop.getEntity(self)
        productId=activeEntity.productId
        if productId not in self.alreadyProcessedProductIds:
            self.alreadyProcessedProductIds.append(productId)
        else:
            self.procTime=0
        return activeEntity

        
            
            
            
            
        
        
        
Exemple #3
0
 def initialize(self):
     # keep the ids of products that have already been processed
     self.alreadyProcessedProductIds = []
     MachineJobShop.initialize(self)
Exemple #4
0
 def initialize(self):
     # keep the ids of products that have already been processed
     self.alreadyProcessedProductIds=[]
     MachineJobShop.initialize(self)