public MeasureUpdater(DisplayControl displayControl, RTPMEConnector rtPMEConnector, PMEServiceClient rTPMEclient) { this.rTPMEclient = rTPMEclient; this.rtPMEConnector = rtPMEConnector; this.displayControl = displayControl; mTimer.Elapsed += TimerEvent; }
private void LaunchB_Click(object sender, RoutedEventArgs e) { rtpmeConnection = new RTPMEConnector(); displayControl.RtpmeConnection = rtpmeConnection; rtpmeConnection.DetermineVisDataReq(configDataModel); rtpmeConnection.ConnectToServer(displayControl); // Configure Display userInfoGrid.Visibility = Visibility.Collapsed; dashboardConfigGrid.Visibility = Visibility.Collapsed; displayControl.Visibility = Visibility.Visible; // Refresh the Display panel data displayControl.ReloadConfigDisplays(); }