| | |
| | | */ |
| | | public static String getShallowLoc(SlaveProperties slaveProperties, String deepLoc) { |
| | | int row = getRow(deepLoc); |
| | | if (row==9 || row == 10){ |
| | | return deepLoc; |
| | | } |
| | | boolean deepLocLeft = isDeepLocLeft(slaveProperties, row); |
| | | boolean deepLocRight = isDeepLocRight(slaveProperties, row); |
| | | int targetRow; |
| | |
| | | */ |
| | | public static String getDeepLoc(SlaveProperties slaveProperties, String shallowLoc) { |
| | | int row = getRow(shallowLoc); |
| | | if (row==9 || row == 10){ |
| | | return shallowLoc; |
| | | } |
| | | boolean deepLocLeft = isDeepLocLeft(slaveProperties, row-1); |
| | | boolean deepLocRight = isDeepLocRight(slaveProperties, row+1); |
| | | int targetRow; |
| | |
| | | * 获取 浅库位排对应的深库位排 |
| | | */ |
| | | public static Integer getDeepRow(SlaveProperties slaveProperties, Integer shallowRow) { |
| | | if (shallowRow==9 || shallowRow == 10){ |
| | | return shallowRow; |
| | | } |
| | | boolean deepLocLeft = isDeepLocLeft(slaveProperties, shallowRow-1); |
| | | boolean deepLocRight = isDeepLocRight(slaveProperties, shallowRow+1); |
| | | int targetRow; |