Exemplo n.º 1
0
 public void addStory(UserStory aux)
 {
     foreach (UserStory u in stories){
         if (u.getDescripcion().Equals("")){
             u.setDescripcion(aux.getDescripcion());
             u.setId_Sprint(0);
             u.setId_UserStory(aux.getId_UserStory());
             u.setPrioridad(aux.getPrioridad());
             u.setTitulo(aux.getTitulo());
             return;
         }
     }
     stories.Add(aux);
     cont++;
     completarStories();
 }
Exemplo n.º 2
0
 public void modificarEstadoEstimacionUS(SFSObject dataObject)
 {
     UserStory us = new UserStory();
     us.fromSFSObject(dataObject);
     Sprint sprint0 = (Sprint)listaSprints[0];
     foreach(UserStory u in sprint0.getListaStories()){
         if (u.getId_UserStory().Equals(us.getId_UserStory())){
             u.setEstadoEstimacion(us.getEstadoEstimacion());
             if (u.getEstadoEstimacion() == 1)
                 u.limpiarListaEstimacion();
         }
     }
     poker.inicializar();
 }
Exemplo n.º 3
0
 public void modificarEstimacionUS(SFSObject dataObject)
 {
     UserStory us = new UserStory();
     us.fromSFSObject(dataObject);
     Sprint sprint0 = (Sprint)listaSprints[0];
     foreach(UserStory u in sprint0.getListaStories()){
         if (u.getId_UserStory().Equals(us.getId_UserStory()))
             u.setValorEstimacion(us.getValorEstimacion());
     }
     poker.inicializar();
     backlog.cargarVector();
     backlog.cargarInicial();
 }
Exemplo n.º 4
0
 public void agregarSprint(SFSObject dataObject)
 {
     Sprint sprint=new Sprint();
     Sprint sprint0 = (Sprint)listaSprints[0];
     sprint.fromSFSObjectSinUS(dataObject);
     ISFSArray stories=dataObject.GetSFSArray("listaStories");
      	foreach(SFSObject story in stories)
     {
         UserStory userStory=new UserStory();
         userStory.fromSFSObject(story);
         sprint.addUserStory(sprint0.removeUserStory(userStory.getId_UserStory()));
     }
     listaSprints.Add(sprint);
     crearPlanoTask planoTask = (crearPlanoTask)(GameObject.Find("panelTaskBoard")).GetComponent("crearPlanoTask");
     planoTask.inicializar(listaSprints);
 }