private void InitializeTerminalClient(VoiceProfileViewModel viewModel)
        {
            var settings = new FormAppSettings
            {
                Host                = viewModel.IpAddress,
                UserName            = viewModel.UserName,
                Password            = viewModel.Password,
                Port                = this.appSettings.Port,
                TimeoutSeconds      = this.appSettings.TimeoutSeconds,
                VirtualScreenHeight = this.appSettings.VirtualScreenHeight,
                VirtualScreenWidth  = this.appSettings.VirtualScreenWidth
            };

            this.telnet = new Telnet(settings, this.progressCallback);
        }
Exemplo n.º 2
0
 public void Disconnect(ITelnet telnet)
 {
 }
 public MySimulatorModel(ITelnet tc)
 {
     this.telnetClient = tc;
     this.stop         = false;
 }
Exemplo n.º 4
0
 public Model(ITelnet telnet)
 {
     _telnet   = telnet;
     _analyzer = new XmlPropertiesAnalyzer();
 }