public static StdTerminal CreateNewTerminal(string name) { StdTerminal terminal = new StdTerminal(); if (BaseTerminal.CreateNewTerminal(name, terminal) == null) { return(null); } return(terminal); }
public static BaseTerminal CreateNewTerminal(string name, BaseTerminal terminal) { terminal.Name = name; if (TerminalManager.Instance.RegisterNewTerminal(name, terminal)) { return(terminal); } else { return(null); } }
public bool RegisterNewTerminal(string name, BaseTerminal terminal) { return(true); }