/**
  * Agregar una consulta
  *
  * @autor Hugo
  * @access public
  * @return boolean True si se realizó sin problemas
  */
 public function addConsulta($servicio = '', $turno = '', $cantidad = 0, $cubiculo = 1)
 {
     if ($this->getId() == '') {
         return false;
     }
     if ($turno == '') {
         return false;
     }
     if ($servicio == '') {
         return false;
     }
     if (!is_numeric($cantidad)) {
         return false;
     }
     #buscamos el id de la consulta
     $db = TBase::conectaDB();
     $rs = $db->Execute("select idConsulta from consulta where idReporte = " . $this->getId() . " and idServicio = " . $servicio . " and idTurno = " . $turno . " and cubiculo = " . $cubiculo);
     $obj = new TConsulta($rs->fields["idConsulta"]);
     $obj->setIdReporte($this->getId());
     $obj->setServicio($servicio);
     $obj->setTurno($turno);
     $obj->setCantidad($cantidad);
     $obj->setCubiculo($cubiculo);
     return $obj->guardar();
 }