private void DumpParameters(Diag.ParameterCollection parameters)
 {
     if (null != parameters)
     {
         foreach (Diag.Parameter parameter in parameters)
         {
             DumpParameter(parameter);
         }
     }
     else
     {
         Tool.Output.WriteLine("ERROR: The ParameterCollection is null!");
     }
 }
 private void DumpResponse(Diag.Response response)
 {
     if (response != null)
     {
         // The Ecu property requires at least CANoe 9.0 SP3 / CANape 15
         Diag.Ecu sourceEcu = response.Ecu;
         if (sourceEcu != null)
         {
             Tool.Output.WriteLine("Response from '" + sourceEcu.Qualifier + "'...");
         }
         DumpPdu(response.Pdu);
         Diag.ParameterCollection parameters = response.Parameters;
         if (parameters != null && parameters.Count > 0)
         {
             DumpParameters(parameters);
         }
     }
     else
     {
         Tool.Output.WriteLine("INFO: The Response is null!");
     }
 }