private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     if (andyXProvider.IsAndyXClientConnected() == true)
     {
         eventInboundService = new EventInboundService(andyXProvider.GetAndyXClient(), chartVonesaKoheore, listOfResults, vkMesatare, vkMaksimale, vkMinimale);
     }
 }
Пример #2
0
 public void UseAndyXServices(string machineName)
 {
     if (machineName == "bs-andy-mcu-01")
     {
         RequestInboundService requestInboundService = new RequestInboundService(_andyXProvider.GetAndyXClient());
         commandOutboundService = new CommandOutboundService(_andyXProvider.GetAndyXClient());
         sendCommandsToMcuTimer.Start();
     }
     else
     {
         ResponseInboundService responseInboundService = new ResponseInboundService(_andyXProvider.GetAndyXClient());
         CommandInboundService  commandInboundService  = new CommandInboundService(_andyXProvider.GetAndyXClient());
     }
 }