public ComServer() { controller = new KeyboardController(); controller.initKeyboardController(); }
//开启服务 //注册键盘控制器 private void initController() { controller = new KeyboardController(); controller.initKeyboardController(); }