Exemple #1
0
 public MainWindowViewModel()
 {
     ClientObjectManager = new ClientObjectManager();
     AllComponents       = new List <IGuiComponent>
     {
         new Console(),
         new Gauge(),
         new RichConsole(),
         new TimeChartView(),
     };
     ClientObjectManager.ClientObjectCollection = new DispatchingObservableCollection <ClientObject>();
     serverCommunicationManager = new ServerCommunicationManager(clientObjectManager);
     serverCommunicationManager.Start();
 }
 public ServerCommunicationManager(ClientObjectManager newClientObjectManager)
 {
     clientObjectManager = newClientObjectManager;
 }