Optimized ID download
This commit is contained in:
parent
e1a90ea5d4
commit
28c089bcb4
@ -263,9 +263,9 @@ class ECU:
|
||||
break
|
||||
if name not in self.Identifications.keys():
|
||||
return 'none','unknown identification'
|
||||
self.elm.clear_cache()
|
||||
if raw:
|
||||
return get_identification( self.Identifications[name], self.Mnemonics, self.Services, self.elm, self.calc, raw)
|
||||
self.elm.clear_cache()
|
||||
datastr, help, csvd = get_identification( self.Identifications[name], self.Mnemonics, self.Services, self.elm, self.calc )
|
||||
return csvd, datastr
|
||||
|
||||
|
@ -81,8 +81,8 @@ def get_default_std_a( df, mn, se, elm, calc, getDTCmnemo ):
|
||||
continue
|
||||
|
||||
isAlive = ""
|
||||
if df[dtc].status==1: isAlive = mod_globals.language_dict['16882']
|
||||
else: isAlive = mod_globals.language_dict['646']
|
||||
if df[dtc].status==1: isAlive = mod_globals.language_dict['16882'] #ALIVE
|
||||
else: isAlive = mod_globals.language_dict['646'] #MEMORISED
|
||||
if df[dtc].status==0: #it is not a problem
|
||||
DTCs = DTCs[9:]
|
||||
continue
|
||||
@ -191,8 +191,8 @@ def get_default_std_b( df, mn, se, elm, calc, getDTCmnemo ):
|
||||
continue
|
||||
|
||||
isAlive = ""
|
||||
if df[dtc].status==1: isAlive = mod_globals.language_dict['16882']
|
||||
else: isAlive = mod_globals.language_dict['646']
|
||||
if df[dtc].status==1: isAlive = mod_globals.language_dict['16882'] #ALIVE
|
||||
else: isAlive = mod_globals.language_dict['646'] #MEMORISED
|
||||
if df[dtc].status==0: #it is not a problem
|
||||
DTCs = DTCs[12:]
|
||||
continue
|
||||
@ -299,8 +299,8 @@ def get_default_failflag( df, mn, se, elm, calc ):
|
||||
if df[dtc].status==0: #it is not a problem
|
||||
continue
|
||||
isAlive = ""
|
||||
if df[dtc].status==1: isAlive = mod_globals.language_dict['16882']
|
||||
else: isAlive = mod_globals.language_dict['646']
|
||||
if df[dtc].status==1: isAlive = mod_globals.language_dict['16882'] #ALIVE
|
||||
else: isAlive = mod_globals.language_dict['646'] #MEMORISED
|
||||
|
||||
# Now get the interpretation
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user