/// <summary> /// Updates the E15 BackEnd information. /// </summary> /// <param name="srvInfo">Info from the Entities Class</param> private void UpdateE15BEInformation(Entities.E15BackEndServerInformation srvInfo) { SystemName.Content = srvInfo.StrsystemName; Row2Value.Text = srvInfo.StrProcessor; Row3Value.Text = srvInfo.StrMemory; Row4Value.Text = srvInfo.StrDiskQueue; }
/// <summary> /// Dispatcher for the E15 Back-End Method[s] /// </summary> /// <param name="source">The source Object.</param> /// <param name="args">The passed Elapsed Event Arguments.</param> public void TheE15BEDispatcher(object source, ElapsedEventArgs args) { CheckAccess(); DataAccess.E15BackEndServerInformation srvInfoDataAccess = new DataAccess.E15BackEndServerInformation(); Entities.E15BackEndServerInformation srvInfo = srvInfoDataAccess.GetSystemInformation(this.systemName); this.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.ApplicationIdle, new Dlg15BEUpdateInformation(this.UpdateE15BEInformation), srvInfo); }