Commit f6326d01 authored by ssarkar's avatar ssarkar

Changes done as per Pragyan sir, ( Using Math.foor)


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91945 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 74348216
...@@ -14134,8 +14134,12 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo ...@@ -14134,8 +14134,12 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
} }
//packSize = (lotHeight * lotWidth * lotLen)/(itmLen * itmWidth * itmHeight); //packSize = (lotHeight * lotWidth * lotLen)/(itmLen * itmWidth * itmHeight);
itemSize = (itmLen * itmWidth * itmHeight); //Changed by sumit on 10/10/12 doing floor (as per Pragyan sir) start
lotSize = (lotHeight * lotWidth * lotLen); /*itemSize = (itmLen * itmWidth * itmHeight);
lotSize = (lotHeight * lotWidth * lotLen);*/
itemSize = Math.floor((itmLen * itmWidth * itmHeight));
lotSize = Math.floor((lotHeight * lotWidth * lotLen));
//Changed by sumit on 10/10/12 doing floor (as per Pragyan sir) end
dataVolumeMap.put("PACK_SIZE", packSize); dataVolumeMap.put("PACK_SIZE", packSize);
dataVolumeMap.put("ITEM_SIZE", itemSize); dataVolumeMap.put("ITEM_SIZE", itemSize);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment