/**
  * Add a new controller component
  *
  * @param type $data
  * @param type $computers_id
  * @param type $no_history
  *
  * @return nothing
  */
 function addControl($data, $computers_id, $no_history)
 {
     $item_DeviceControl = new Item_DeviceControl();
     $deviceControl = new DeviceControl();
     $controllers_id = $deviceControl->import($data);
     $data['devicecontrols_id'] = $controllers_id;
     $data['itemtype'] = 'Computer';
     $data['items_id'] = $computers_id;
     $data['is_dynamic'] = 1;
     $data['_no_history'] = $no_history;
     $item_DeviceControl->add($data, array(), !$no_history);
 }