#NEWLINE# def __init__( self , protocols , run_type ) : #NEWLINE# #INDENT# super ( A1000 , self ) . __init__ ( protocols ) #NEWLINE# if ( ( not protocols . lap_proto ) or ( not protocols . trk_proto ) ) : #NEWLINE# #INDENT# raise DeviceNotSupportedError ( 'A1000 required device to supoprt lap and track protocols.' ) #NEWLINE# #UNINDENT# self . lap_proto = protocols . lap_proto #NEWLINE# self . trk_proto = protocols . trk_proto #NEWLINE# self . data_type_by_pid . update ( { #NEWLINE# #INDENT# self . link_proto . PID_RUN : run_type , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . pid_data = [ protocols . link_proto . PID_RUN ]