public int SC_respuestaSeccionScoreBuro(int estadoInc)
 {
     bool salir = false;
     int repeticiones=0;
     while (salir == false && estadoInc < etiSecc.Count)
     {
         switch(etiSecc[estadoInc].ToString())
         {
             case "SC":
                 if(repeticiones==0)
                 {
                     seccionScoreBuro.Nombre= valSecc[estadoInc].ToString();
                     repeticiones++;
                 }
                 else
                 {
                     if(repeticiones<15)
                     {
                         seccionScoreBuroTable.Add(seccionScoreBuro);
                         seccionScoreBuro = new Z00_BURO_SC();
                         seccionScoreBuro.Nombre= valSecc[estadoInc].ToString();
                         repeticiones++;
                     }
                     else
                     {
                         Console.WriteLine("Esta seccion solo puede repetirce 15 veces debe existir un error");
                     }
                 }
                 break;
             case "00":
                 seccionScoreBuro.Codigo = valSecc[estadoInc].ToString();
                 break;
             case "01":
                 seccionScoreBuro.Valor = valSecc[estadoInc].ToString();
                 break;
             case "02":
                 seccionScoreBuro.Razon1 = valSecc[estadoInc].ToString();
                 break;
             case "03":
                 seccionScoreBuro.Razon2 = valSecc[estadoInc].ToString();
                 break;
             case "04":
                 seccionScoreBuro.Razon3 = valSecc[estadoInc].ToString();
                 break;
             case "06":
                 seccionScoreBuro.Error = valSecc[estadoInc].ToString();
                 break;
             default:
                 salir= true;
                 estadoInc=estadoInc-2;
                 break;
         }
         estadoInc++;
     }
     seccionScoreBuroTable.Add(seccionScoreBuro);
     return estadoInc;
 }
 /// <summary>
 /// Determines wheter an element is in the collection.
 /// </summary>
 /// <param name="value">The Z00_BURO_SC to locate in the collection.</param>
 /// <returns>True if found; else false.</returns>
 public bool Contains(Z00_BURO_SC value)
 {
     return List.Contains(value);
 }
 /// <summary>
 /// Copies the contents of the Z00_BURO_SCTable to the specified one-dimensional array starting at the specified index in the target array.
 /// </summary>
 /// <param name="array">The one-dimensional destination array.</param>           
 /// <param name="index">The zero-based index in array at which copying begins.</param>           
 public void CopyTo(Z00_BURO_SC[] array, int index)
 {
     List.CopyTo(array, index);
 }
 /// <summary>
 /// Removes the first occurrence of the specified Z00_BURO_SC from the collection.
 /// </summary>
 /// <param name="value">The Z00_BURO_SC to remove from the collection.</param>
 public void Remove(Z00_BURO_SC value)
 {
     List.Remove(value);
 }
 /// <summary>
 /// Adds a Z00_BURO_SC to the end of the collection.
 /// </summary>
 /// <param name="value">The Z00_BURO_SC to be added to the end of the collection.</param>
 /// <returns>The index of the newZ00_BURO_SC.</returns>
 public int Add(Z00_BURO_SC value)
 {
     return List.Add(value);
 }
 /// <summary>
 /// Searches for the specified Z00_BURO_SC and returnes the zero-based index of the first occurrence in the collection.
 /// </summary>
 /// <param name="value">The Z00_BURO_SC to locate in the collection.</param>
 /// <returns>The index of the object found or -1.</returns>
 public int IndexOf(Z00_BURO_SC value)
 {
     return List.IndexOf(value);
 }
 /// <summary>
 /// Inserts a Z00_BURO_SC into the collection at the specified index.
 /// </summary>
 /// <param name="index">The zero-based index at which value should be inserted.</param>
 /// <param name="value">The Z00_BURO_SC to insert.</param>
 public void Insert(int index, Z00_BURO_SC value)
 {
     List.Insert(index, value);
 }
Beispiel #8
0
 /// <summary>
 /// Determines wheter an element is in the collection.
 /// </summary>
 /// <param name="value">The Z00_BURO_SC to locate in the collection.</param>
 /// <returns>True if found; else false.</returns>
 public bool Contains(Z00_BURO_SC value)
 {
     return(List.Contains(value));
 }
Beispiel #9
0
 /// <summary>
 /// Searches for the specified Z00_BURO_SC and returnes the zero-based index of the first occurrence in the collection.
 /// </summary>
 /// <param name="value">The Z00_BURO_SC to locate in the collection.</param>
 /// <returns>The index of the object found or -1.</returns>
 public int IndexOf(Z00_BURO_SC value)
 {
     return(List.IndexOf(value));
 }
Beispiel #10
0
 /// <summary>
 /// Inserts a Z00_BURO_SC into the collection at the specified index.
 /// </summary>
 /// <param name="index">The zero-based index at which value should be inserted.</param>
 /// <param name="value">The Z00_BURO_SC to insert.</param>
 public void Insert(int index, Z00_BURO_SC value)
 {
     List.Insert(index, value);
 }
Beispiel #11
0
 /// <summary>
 /// Adds a Z00_BURO_SC to the end of the collection.
 /// </summary>
 /// <param name="value">The Z00_BURO_SC to be added to the end of the collection.</param>
 /// <returns>The index of the newZ00_BURO_SC.</returns>
 public int Add(Z00_BURO_SC value)
 {
     return(List.Add(value));
 }
Beispiel #12
0
 /// <summary>
 /// Removes the first occurrence of the specified Z00_BURO_SC from the collection.
 /// </summary>
 /// <param name="value">The Z00_BURO_SC to remove from the collection.</param>
 public void Remove(Z00_BURO_SC value)
 {
     List.Remove(value);
 }