| | |
| | | |
| | | import com.core.common.Arith; |
| | | import com.core.common.Cools; |
| | | import com.zy.core.enums.SteABType; |
| | | import com.zy.core.properties.SlaveProperties; |
| | | |
| | | import java.text.DecimalFormat; |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | public static Integer getGroupRow(String locNo){ |
| | | int row = getRow(locNo); |
| | | return getGroupRow(row); |
| | | } |
| | | |
| | | public static Integer getGroupRow(Integer row) { |
| | | switch (row) { |
| | | case 0: |
| | | return 0; |
| | | case 1: |
| | | case 2: |
| | | case 3: |
| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | // ------------------------------------------------------------------------------------------------------------------- |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * 通过排列层拼接出库位号 |
| | | */ |
| | | public static String append(int row, int bay, int lev) { |
| | | return zerofill(String.valueOf(row), 2) + zerofill(String.valueOf(bay), 3) + zerofill(String.valueOf(lev), 2); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 当检索到双深库位的浅库位时,如果深库位无货,则放入对应的深库位 |
| | | */ |
| | | public static void toDeepIfEmptyByShallow(String shallowLoc) { |