Class SequentialBatchSpecificationSet

java.lang.Object
  extended byswarm.BaseImpl
      extended byswarm.objectbase.SwarmObjectImpl
          extended bySequentialBatchSpecificationSet
All Implemented Interfaces:
swarm.defobj.Create, swarm.defobj.CreateS, swarm.defobj.Customize, swarm.defobj.CustomizeS, swarm.defobj.DefinedObject, swarm.defobj.DefinedObjectS, swarm.defobj.Drop, swarm.defobj.DropS, swarm.defobj.GetName, swarm.defobj.GetNameS, swarm.objectbase.SwarmObject, swarm.objectbase.SwarmObjectS

public class SequentialBatchSpecificationSet
extends swarm.objectbase.SwarmObjectImpl

The container generated by an order and containing the spefications about a sequential batch process

Author:
Pietro Terna

Field Summary
 int initialProductionTimeInTicks
          the specifications
 int myOrderNumber
          number (i.e. that of the order which has generated this object
 int pos
          the position of this sequence in the recipe
 int productionTimeInTicks
          the specifications
 int quantityInSequentialBatch
           
 int sequentialBatchDoneSteps
          the number of steps of the batch done
 
Constructor Summary
SequentialBatchSpecificationSet(swarm.defobj.Zone aZone, int n, int p)
          constructor for SequentialBatchSpecificationSet
 
Method Summary
 int decreaseProductionTime()
          ????????
 int getInitialProductionTimeInTicks()
          returning the initial production time in ticks
 int getNumber()
          returning the number of the order of this procurement specification
 int getPositionInRecipe()
          returning the position of this procurement specification into its recipe
 int getProductionTimeInTicks()
          returning production time in ticks (unmodified at the beggining of the batch activity and then diminished)
 int getQuantityInSequentialBatch()
          returning quantity in sequential batch
 int getSequentialBatchDoneSteps()
          returning the number of sequentialBatchDoneSteps
 void increaseSequentialBatchDoneSteps()
          increasing the number of sequentialBatchDoneSteps
 void setProductionTimeInTicks(int t)
          settinging production time in ticks (residual)
 void setSpecifications(int k1, int k2)
          setting the sequential batch specifications
 
Methods inherited from class swarm.objectbase.SwarmObjectImpl
compare, describe, describeID, drop, getCompleteProbeMap, getDisplayName, getName, getProbeForMessage, getProbeForVariable, getProbeMap, getTypeName, getZone, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myOrderNumber

public int myOrderNumber
number (i.e. that of the order which has generated this object


pos

public int pos
the position of this sequence in the recipe


productionTimeInTicks

public int productionTimeInTicks
the specifications


initialProductionTimeInTicks

public int initialProductionTimeInTicks
the specifications


quantityInSequentialBatch

public int quantityInSequentialBatch

sequentialBatchDoneSteps

public int sequentialBatchDoneSteps
the number of steps of the batch done

Constructor Detail

SequentialBatchSpecificationSet

public SequentialBatchSpecificationSet(swarm.defobj.Zone aZone,
                                       int n,
                                       int p)
constructor for SequentialBatchSpecificationSet

Method Detail

setSpecifications

public void setSpecifications(int k1,
                              int k2)
setting the sequential batch specifications


increaseSequentialBatchDoneSteps

public void increaseSequentialBatchDoneSteps()
increasing the number of sequentialBatchDoneSteps


getSequentialBatchDoneSteps

public int getSequentialBatchDoneSteps()
returning the number of sequentialBatchDoneSteps


decreaseProductionTime

public int decreaseProductionTime()
???????? decrease production time


getNumber

public int getNumber()
returning the number of the order of this procurement specification


getPositionInRecipe

public int getPositionInRecipe()
returning the position of this procurement specification into its recipe


getProductionTimeInTicks

public int getProductionTimeInTicks()
returning production time in ticks (unmodified at the beggining of the batch activity and then diminished)


getInitialProductionTimeInTicks

public int getInitialProductionTimeInTicks()
returning the initial production time in ticks


setProductionTimeInTicks

public void setProductionTimeInTicks(int t)
settinging production time in ticks (residual)


getQuantityInSequentialBatch

public int getQuantityInSequentialBatch()
returning quantity in sequential batch