Fap5 scenario fix

This commit is contained in:
Marianpol 2020-11-01 15:47:00 +01:00
parent 15c78eea4b
commit 7c5bc1a066
2 changed files with 16 additions and 16 deletions

View File

@ -218,9 +218,9 @@ def get_default_std_b( df, mn, se, elm, calc, getDTCmnemo ):
description = df[dtc].label description = df[dtc].label
if mod_globals.os=='android': if mod_globals.os=='android':
defstr = "%-6s(DTC%-6s) %-41s %-6s %-10s"%(df[dtc].agcdRef,dtc+dtcType,description,interpretation,isAlive) defstr = "DTC%-6s (%s) %-41s %-6s %-10s"%(dtc+dtcType,df[dtc].agcdRef,description,interpretation,isAlive)
else: else:
defstr = "%-6s(DTC%-6s) %-50s %-6s %-10s"%(df[dtc].agcdRef,dtc+dtcType,description,interpretation,isAlive) defstr = "DTC%-6s (%s) %-50s %-6s %-10s"%(dtc+dtcType,df[dtc].agcdRef,description,interpretation,isAlive)
stBitsDef = ['warningIndicatorRequested', stBitsDef = ['warningIndicatorRequested',
'testNotCompletedThisOperationCycle', 'testNotCompletedThisOperationCycle',

View File

@ -151,9 +151,9 @@ def run( elm, ecu, command, data ):
print '\tCHECK CONDITIONS' print '\tCHECK CONDITIONS'
print print
print '*'*90 print '*'*90
print datastr7 print pyren_encode(datastr7)
print datastr5 print pyren_encode(datastr5)
print datastr6 print pyren_encode(datastr6)
print '*'*90 print '*'*90
print get_message_by_id('1149') print get_message_by_id('1149')
print print
@ -239,17 +239,17 @@ def run( elm, ecu, command, data ):
print '\tPhase - ', phase print '\tPhase - ', phase
#print '\tResult - ', result #print '\tResult - ', result
print '*'*90 print '*'*90
print datastr0 print pyren_encode(datastr0)
print datastr1 print pyren_encode(datastr1)
print datastr2 print pyren_encode(datastr2)
print datastr3 print pyren_encode(datastr3)
print datastr4 print pyren_encode(datastr4)
print datastr5 print pyren_encode(datastr5)
print datastr6 print pyren_encode(datastr6)
print datastr7 print pyren_encode(datastr7)
print datastr8 print pyren_encode(datastr8)
print datastr9 print pyren_encode(datastr9)
print datastra print pyren_encode(datastra)
print '*'*90 print '*'*90
if pfe: break if pfe: break
print 'Press Q to emergency exit' print 'Press Q to emergency exit'