示例#1
0
 /// <summary>
 ///     Dispatcher for the E15 Café Method[s]
 /// </summary>
 /// <param name="source">The source Object.</param>
 /// <param name="args">The passed Elapsed Event Arguments.</param>
 public void TheE15CafeDispatcher(object source, ElapsedEventArgs args)
 {
     CheckAccess();
     DataAccess.E15CafeServerInformation srvInfoDataAccess = new DataAccess.E15CafeServerInformation();
     Entities.E15CafeServerInformation   srvInfo           = srvInfoDataAccess.GetSystemInformation(this.systemName);
     this.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.ApplicationIdle, new Dlg15UpdateInformation(this.UpdateE15CafeInformation), srvInfo);
 }
示例#2
0
 /// <summary>
 ///     Method to Update the WPF Form.
 /// </summary>
 /// <param name="srvInfo">Info from the Entities Class</param>
 private void UpdateE15CafeInformation(Entities.E15CafeServerInformation srvInfo)
 {
     SystemName.Content = srvInfo.StrE15CafeSystemName;
     Row2Value.Text     = srvInfo.StrE15CafeProcessor;
     Row3Value.Text     = srvInfo.StrE15CafeMemory;
     Row4Value.Text     = srvInfo.StrE15CafeDiskQueue;
     Row5Value.Text     = srvInfo.StrE15CafeHttpProxyOutstandingRequests;
     Row6Value.Text     = srvInfo.StrE15ProxyRequestsOWARequestsPerSecond;
     Row7Value.Text     = srvInfo.StrE15ProxyRequestsRPCHTTPRequestsPerSecond;
     Row8Value.Text     = srvInfo.StrE15AppPoolWASTotalWorkerProcessFailuresRpcHttp;
 }