Issue: http://issues.qcadoo.org/browse/QCADOOMES-203
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).
...
It is required to change the algorithm for calculating the time for of one operation and full order (= sum of time operations for all operations in technology). At present the algorithm uzwględnia assumes that during one cycle of time Tj is made a one part of.
The algorithm must take into account that in one cycle can be produced "m units" parts. If the number of units in a given parts for cycle is smaller than "m", then follow we set-up full time Tj.
The calculation time of the operation must therefore be counted under modulo mwith rounding up as follow:
n - The set quantitythe number of part for production
m - number of pieces in one cycle, Tj k = m modulo
T = Tj * RoundUp (n / m) + TPZ