예제 #1
0
 public MeasureUpdater(DisplayControl displayControl, RTPMEConnector rtPMEConnector, PMEServiceClient rTPMEclient)
 {
     this.rTPMEclient = rTPMEclient;
     this.rtPMEConnector = rtPMEConnector;
     this.displayControl = displayControl;
     mTimer.Elapsed += TimerEvent;
 }
예제 #2
0
        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();

        }