Ejemplo n.º 1
0
 /// <summary>
 /// Report the diagnostic to the debug port and the diagnostic details.
 /// </summary>
 /// <param name="details">The details to fill in</param>
 /// <param name="id">The id of the diagnostic</param>
 /// <param name="val">The value of the diagnostic</param>
 /// <param name="failed">Whether it failed</param>
 private void ReportDiagnostic(DetailsBuilder details, string id, object val, bool failed)
 {
     Log.Debug(details.Add("    ", id, val.ToString()));
     if (failed)
         Log.Debug(details.Add("    ", id, DiagnosticResources.FAILED.ToUpper()));
     else
         Log.Debug(details.Add("    ", id, DiagnosticResources.PASSED.ToUpper()));
 }
Ejemplo n.º 2
0
 // SGF  23-May-2011  INS-1741
 private void ReportDiagnosticDate(DetailsBuilder details)
 {
     Log.Debug(details.Add("    ", DiagnosticResources.DETAILS_DOCKINGSTATION_SELF_DIAGNOSTICS_DATE, DateTime.Now));
 }
Ejemplo n.º 3
0
 // SGF  23-May-2011  INS-1741
 private void ReportDiagnosticDate()
 {
     Log.Debug( _details.Add( "    ", DiagnosticResources.DETAILS_DOCKINGSTATION_SERVICE_DIAGNOSTICS_DATE, DateTime.Now ) );
 }