#NEWLINE# def build_parameters( self ) : #NEWLINE# #INDENT# params = super ( EventRequest , self ) . build_parameters ( ) #NEWLINE# x10 = X10 ( ) #NEWLINE# x10 . clear_key ( self . X10_EVENT_PROJECT_ID ) #NEWLINE# x10 . clear_value ( self . X10_EVENT_PROJECT_ID ) #NEWLINE# x10 . set_key ( self . X10_EVENT_PROJECT_ID , X10 . OBJECT_KEY_NUM , self . event . category ) #NEWLINE# x10 . set_key ( self . X10_EVENT_PROJECT_ID , X10 . TYPE_KEY_NUM , self . event . action ) #NEWLINE# if self . event . label : #NEWLINE# #INDENT# x10 . set_key ( self . X10_EVENT_PROJECT_ID , X10 . LABEL_KEY_NUM , self . event . label ) #NEWLINE# #UNINDENT# if self . event . value : #NEWLINE# #INDENT# x10 . set_value ( self . X10_EVENT_PROJECT_ID , X10 . VALUE_VALUE_NUM , self . event . value ) #NEWLINE# #UNINDENT# params . utme = ( '%s%s' % ( params . utme , x10 . render_url_string ( ) ) ) #NEWLINE# if self . event . noninteraction : #NEWLINE# #INDENT# params . utmni = 1 #NEWLINE# #UNINDENT# return params