private static void ReadFaultCodes(IKW1281Dialog kwp1281) { var faultCodes = kwp1281.ReadFaultCodes(); Logger.WriteLine("Fault codes:"); foreach (var faultCode in faultCodes) { Logger.WriteLine($" {faultCode}"); } }