コード例 #1
0
    static void Main(string[] args)
    {
        var interpretador = Interpretador.InterpretaArquivo(@"c:\arquivo.tdm");

        foreach (CupomFiscal cupom in interpretador.CuponsFiscais)
        {
            MostrarCupom(cupom);
            MostrarItens(cupom);
            MostrarPagamentos(cupom);
        }

        MostrarRelacoesZ(interpretador);

        Console.ReadLine();
    }
コード例 #2
0
        public void DeveDetalharCupons()
        {
            Interpretador interpretador = Interpretador.InterpretaArquivo(ARQUIVO_ENTRADA);

            Assert.AreEqual(1, interpretador.CuponsFiscais[0].Detalhes.Count);
        }