public static PuttyModule PuttyModuleHandler()
 {
     if (_PuttyModule == null)
     {
         _PuttyModule = new PuttyModule();
     }
     return(_PuttyModule);
 }
Exemple #2
0
 private void PuttyModuleThreadFunction()
 {
     this.putty_plc.Dispatcher.Invoke((Action)(() =>
     {
         this.putty_plc.Children.Add(PuttyModule.PuttyModuleHandler());
     }));
     //this.putty_plc.Dispatcher.Invoke((Action)(() =>
     //{
     //    this.putty_plc.Children.Add(RoverConsole.RoverConsoleHandler());
     //}));
 }