|
@@ -47,35 +47,6 @@ public class ArbitrateCallback {
|
|
|
return resultList;
|
|
|
}
|
|
|
|
|
|
-// public static void main(String[] args) {
|
|
|
-// Scanner scanner = new Scanner(System.in);
|
|
|
-// LOGGER.info("请输入5个需要仲裁的档位:");
|
|
|
-// String[] strs = new String[5];
|
|
|
-// int index = 0;
|
|
|
-// while (scanner.hasNext()) {
|
|
|
-// strs[index] = scanner.next().toUpperCase();
|
|
|
-// index++;
|
|
|
-// if (index > 4) {
|
|
|
-// break;
|
|
|
-// }
|
|
|
-// }
|
|
|
-// scanner.close();
|
|
|
-// Arrays.sort(strs);
|
|
|
-// for (int i = 0; i < strs.length; i++) {
|
|
|
-// LEVELS[i] = strs[i].charAt(0);
|
|
|
-// }
|
|
|
-// LOGGER.info(JSONObject.toJSONString(LEVELS));
|
|
|
-//
|
|
|
-// String content = new StringBuffer(String.valueOf(LEVELS[0])).append(LEVELS[1]).append(LEVELS[2])
|
|
|
-// .append(LEVELS[3]).append(LEVELS[4]).toString();
|
|
|
-// List<Distance> output = judge(LEVELS);
|
|
|
-// if (Objects.nonNull(output)) {
|
|
|
-// LOGGER.info("content:{},需要打回的档位为:{}", content, JSONObject.toJSONString(output));
|
|
|
-// List<String> list = output.stream().map(o -> String.valueOf(o.c)).collect(Collectors.toList());
|
|
|
-// LOGGER.info("list:{}", list);
|
|
|
-// }
|
|
|
-// }
|
|
|
-
|
|
|
/**
|
|
|
* 计算档位最大落差档位和档位和
|
|
|
*
|