public static bool Eliminar(KanbanPlanLogica kan)
 {
     try
     {
         string sQuery = "DELETE FROM t_kanban_plan WHERE linea = '" + kan.Linea + "'";
         if (AccesoDatos.Borrar(sQuery) != 0)
         {
             return(true);
         }
         else
         {
             return(false);
         }
     }
     catch
     {
         return(false);
     }
 }
 public static bool Verificar(KanbanPlanLogica kan)
 {
     try
     {
         string sQuery;
         sQuery = "SELECT * FROM t_kanban_plan where linea = '" + kan.Linea + "'";
         DataTable datos = AccesoDatos.ConsultarPRO(sQuery);
         if (datos.Rows.Count != 0)
         {
             return(true);
         }
         else
         {
             return(false);
         }
     }
     catch
     {
         return(false);
     }
 }
 public static int Guardar(KanbanPlanLogica kan)
 {
     string[] parametros = { "@Linea", "@Descrip", "@Cant1t", "@Cant2t", "@Usuario" };
     return(AccesoDatos.ActualizarPRO("sp_mant_kanban_plan", parametros, kan.Linea, kan.Descrip, kan.CantT1, kan.CantT2, kan.Usuario));
 }