parameters: (self, paramId, value, topublish=True)
docstring: Request the dbmgr component over MQ to update a device global parameters for this client
              @param paramId: db id of global parameters
              @param value : New parameter value
              @return : True if success else False.
docstring_summary: Request the dbmgr component over MQ to update a device global parameters for this client
docstring_tokens: Request the dbmgr component over MQ to update a device global parameters for this client
function: def udpate_device_param(self, paramId, value, topublish=True):
          """ Request the dbmgr component over MQ to update a device global parameters for this client
              @param paramId: db id of global parameters
              @param value : New parameter value
              @return : True if success else False.
          """
  
          self.log.debug(u"Setting global device parameter {0} with value {1}".format(paramId, value))
          mq_client = MQSyncReq(self.zmq)
          msg = MQMessage()
          msg.set_action('deviceparam.update')
          msg.add_data('dpid', paramId)
          msg.add_data('value', value)
          msg.add_data('topublish', topublish)
          result = mq_client.request('admin', msg.get(), timeout=10)
          if result is not None:
              data = result.get_data()
              if data["status"]:
                  return True
              else:
                  self.log.warning(u"{0}".format(data["reason"]))
                  return False
          else :
              self.log.error(u"Error while updating global parameter id :{0} with value {1}".format(paramId, value))
              return False
function_tokens: def udpate_device_param ( self , paramId , value , topublish = True ) : self . log . debug ( u"Setting global device parameter {0} with value {1}" . format ( paramId , value ) ) mq_client = MQSyncReq ( self . zmq ) msg = MQMessage ( ) msg . set_action ( 'deviceparam.update' ) msg . add_data ( 'dpid' , paramId ) msg . add_data ( 'value' , value ) msg . add_data ( 'topublish' , topublish ) result = mq_client . request ( 'admin' , msg . get ( ) , timeout = 10 ) if result is not None : data = result . get_data ( ) if data [ "status" ] : return True else : self . log . warning ( u"{0}" . format ( data [ "reason" ] ) ) return False else : self . log . error ( u"Error while updating global parameter id :{0} with value {1}" . format ( paramId , value ) ) return False