src/main/java/com/zy/asrs/utils/Utils.java
@@ -161,6 +161,31 @@ } /** * 通过库位号获取所在巷道 */ public static int getLaneByLocNo(String locNo) { int row = Utils.getRow(locNo); switch (row) { case 1: case 2: case 3: case 4: return 1; case 5: case 6: case 7: case 8: return 2; case 9: case 10: case 11: case 12: return 3; } return 0; } public static void main(String[] args) { SlaveProperties slaveProperties = new SlaveProperties(); slaveProperties.setDoubleDeep(true);