import java.util.*; public class Main { public static void main(String[] args) { // 配置文件恢复 Scanner sc = new Scanner(System.in); Map<String,String> command = new HashMap<>(); // 将命令行和对应的作用写入map集合 command.put("reset","reset what"); command.put("reset board","board fault"); command.put("boa...