Counter 2 turn off
This commit is contained in:
parent
2ac78d130e
commit
957c44e9a2
@ -62,24 +62,24 @@ def run( elm, ecu, command, data ):
|
|||||||
|
|
||||||
kb = KBHit()
|
kb = KBHit()
|
||||||
|
|
||||||
paramsToSend = ""
|
# paramsToSend = ""
|
||||||
|
|
||||||
identList = ['ID101', 'ID102', 'ID103', 'ID125', 'ID126', 'ID105', 'ID106', 'ID107', 'ID108', 'ID109', 'ID110', 'ID111', 'ID112', 'ID113', 'ID114', 'ID115', 'ID116', 'ID117', 'ID118', 'ID119', 'ID120', 'ID121', '00000000', 'ID123', 'ID124', 'ID186', 'ID187']
|
# identList = ['ID101', 'ID102', 'ID103', 'ID125', 'ID126', 'ID105', 'ID106', 'ID107', 'ID108', 'ID109', 'ID110', 'ID111', 'ID112', 'ID113', 'ID114', 'ID115', 'ID116', 'ID117', 'ID118', 'ID119', 'ID120', 'ID121', '00000000', 'ID123', 'ID124', 'ID186', 'ID187']
|
||||||
|
|
||||||
for ident in identList:
|
# for ident in identList:
|
||||||
if ident.startswith("ID"):
|
# if ident.startswith("ID"):
|
||||||
paramsToSend += ecu.get_id(ident, 1)
|
# paramsToSend += ecu.get_id(ident, 1)
|
||||||
else:
|
# else:
|
||||||
paramsToSend += ident
|
# paramsToSend += ident
|
||||||
|
|
||||||
ch = raw_input('Do you want to continue? <yes/no> ')
|
# ch = raw_input('Do you want to continue? <yes/no> ')
|
||||||
while (ch.upper() != 'YES') and (ch.upper()!= 'NO'):
|
# while (ch.upper() != 'YES') and (ch.upper()!= 'NO'):
|
||||||
ch = raw_input('Do you want to continue? <yes/no> ')
|
# ch = raw_input('Do you want to continue? <yes/no> ')
|
||||||
if ch.upper() != 'YES':
|
# if ch.upper() != 'YES':
|
||||||
return
|
# return
|
||||||
|
|
||||||
responce = ecu.run_cmd(ScmParam['Cmde1'], paramsToSend)
|
# responce = ecu.run_cmd(ScmParam['Cmde1'], paramsToSend)
|
||||||
|
|
||||||
print
|
# print
|
||||||
ch = raw_input('Press ENTER to exit')
|
ch = raw_input('Press ENTER to exit')
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user