| | |
| | | */ |
| | | public class RouteUtils { |
| | | //排序 执行方向(面朝轨道 定位值左小右大) 0:左 小 1:右 大 |
| | | public static List<Integer>[] avoidRange(List<Integer> staNoList,List<BasDevpPosition> basDevpPositions) { |
| | | public static List<Integer>[] gradeRange(List<Integer> staNoList,List<BasDevpPosition> basDevpPositions) { |
| | | List<Integer>[] avoidRangeArray = new ArrayList[2]; |
| | | |
| | | |
| | |
| | | |
| | | |
| | | return avoidRangeArray; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | //获取在范围的站点 |
| | | public static List<Integer> belongToRange(List<Integer> staNoList,Long position,List<BasDevpPosition> basDevpPositions){ |
| | | List<Integer> siteList = new ArrayList<>(); |
| | | |
| | | return siteList; |
| | | } |
| | | |
| | | //提取站点集合 |
| | |
| | | |
| | | return siteList; |
| | | } |
| | | |
| | | |
| | | |
| | | //检测是否在范围 |
| | | public static boolean CheckIfItIsWithinTheRange(List<Integer> staNoList,Integer staNo,List<BasDevpPosition> basDevpPositions){ |
| | | List<Integer> siteList = new ArrayList<>(); |
| | | if (staNoList.isEmpty()){ |
| | | return true; |
| | | } |
| | | |
| | | return false; |
| | | } |
| | | |
| | | } |