| | |
| | | return 0D; |
| | | } |
| | | |
| | | //检测库位路径是否可用(用于库位是否可移动检测) |
| | | public boolean checkLocPathIsAvailable(String startLocNo, String endLocNo) { |
| | | List<int[]> shuttlePoints = Utils.getShuttlePoints(0, Utils.getLev(startLocNo)); |
| | | //计算库位到提升机库位,路径是否可用 |
| | | List<NavigateNode> nodeList = this.calc(startLocNo, endLocNo, NavigationMapType.DFX.id, shuttlePoints, null); |
| | | if (nodeList == null) { |
| | | return false; |
| | | } |
| | | return true; |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | // //计算路径 |
| | | // List<NavigateNode> calc = calc("1000901", "1800201", NavigationMapType.NONE.id, null); |