Story
As a user I would be able to calculate the time of operation and order in case if during one operation is produced several products at one time (in one machine cycle).
Back Card
It is required to change the algorithm for calculating the time for one order. At present the algorithm uzwględnia that during one cycle of time Tj is made a part of.
The algorithm must take into account that in one cycle can be produced m units. If the number of units in a given cycle is smaller than m, then follow up full time Tj.
The calculation time of the operation must therefore be counted under modulo m:
n - The set quantity
m - number of pieces in one cycle, Tj
k = m modulo