public bool Cadastra(Caixa_Movimento c)
        {
            if (string.IsNullOrEmpty(c.Descricao))
            {
                c.Descricao = "S.A.";
            }
            if (string.IsNullOrEmpty(c.Autorizado))
            {
                c.Autorizado = Autenticacao.GetApelido();
            }
            if (c.SaidaEntrada == 1)
            {
                if (string.IsNullOrEmpty(c.Numcupom))
                {
                    return(false);
                }
            }
            if (c.Abastecimento == 1)
            {
                if (string.IsNullOrEmpty(c.KM))
                {
                    return(false);
                }
                if (string.IsNullOrEmpty(c.Placa))
                {
                    return(false);
                }
                if (string.IsNullOrEmpty(c.Tatico))
                {
                    return(false);
                }
            }
            else
            {
                c.Tatico = "Operador";
            }

            if (c.Valor > 0)
            {
                MovimentoDAO DAO    = new MovimentoDAO();
                DataTable    Result = new DataTable();
                c.Caixa_Situacao_Id = Autenticacao.GetCaixa_Situacao().Id;
                Result = DAO.Cadastra(c, Autenticacao.GetCodUsuario());
                if (Result != null)
                {
                    if (Result.Rows.Count > 0)
                    {
                        if (Result.Rows[0].ItemArray[0].ToString().Equals("1"))
                        {
                            return(true);
                        }
                        else
                        {
                            return(false);
                        }
                    }
                }
            }


            return(false);
        }