equal
deleted
inserted
replaced
128 * @param processingSlot - слот где происходит рассчёт |
128 * @param processingSlot - слот где происходит рассчёт |
129 * @return |
129 * @return |
130 */ |
130 */ |
131 protected ArrayList<Batch> correctRegister(int registerIndex, Slot processingSlot){ |
131 protected ArrayList<Batch> correctRegister(int registerIndex, Slot processingSlot){ |
132 ArrayList<Batch> retArray = new ArrayList<Batch>(); |
132 ArrayList<Batch> retArray = new ArrayList<Batch>(); |
133 for(int i=0; i<Run.getRegisterSlotNum(0); ++i) |
133 for(int i=0; i<Run.getRegisterSlotNum(registerIndex); ++i) |
134 { |
134 { |
135 retArray.add(new Batch(OperationType.CARD_TO_SLOT, new K(), processingSlot)); |
135 retArray.add(new Batch(OperationType.CARD_TO_SLOT, new K(), processingSlot)); |
136 retArray.add(new Batch(OperationType.CARD_TO_SLOT, new S(), processingSlot)); |
136 retArray.add(new Batch(OperationType.CARD_TO_SLOT, new S(), processingSlot)); |
137 |
137 |
138 retArray.add(new Batch(OperationType.SLOT_TO_CARD, new Succ(), processingSlot)); |
138 retArray.add(new Batch(OperationType.SLOT_TO_CARD, new Succ(), processingSlot)); |