Ejemplo n.º 1
0
 void LoadDefaultSettings()
 {
     Transport = new Transport.Loopback();
     //Transport = new Transport.SerialPortTransport();
     Modem    = new Modem.NoModem();
     Terminal = new Terminal.TerminalTTY();
 }
Ejemplo n.º 2
0
 public void SelectTerminal(string Name)
 {
     if (Name != this.Terminal.GetType().Name)
     {
         this.Terminal = ProviderInstanceControl.GetProviderInstance <ITerminal>(Name) as ITerminal;
     }
     if (Terminal == null)
     {
         Terminal = new TerminalTTY();
     }
 }
Ejemplo n.º 3
0
 public static void Setup(/* pass through all data here */)
 {
     //Ask for serial ports
     //loaddb in background
     //start for communication with remote
     //if Remote:
     // home tower ASK FIRST,
     // calibrate with position switches
     //if no coms, contuinnue without
     //start coms with terminal, no way to check
     terminal = new Terminal.Terminal("com12");
     terminal.Open();
     terminal.DrawDisplay();
 }