//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.18449
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by Microsoft.VSDesigner, Version 4.0.30319.18449.
// 
#pragma warning disable 1591

namespace PafEcf.ServidorReference {
    using System;
    using System.Web.Services;
    using System.Diagnostics;
    using System.Web.Services.Protocols;
    using System.Xml.Serialization;
    using System.ComponentModel;
    
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="BasicHttpBinding_IServidor", Namespace="http://tempuri.org/")]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(MarshalByRefObject))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(FileSystemInfo))]
    public partial class ServiceServidor : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        private System.Threading.SendOrPostCallback GerarSpedOperationCompleted;
        
        private System.Threading.SendOrPostCallback GerarSintegraOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectEmpresaOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectEmpresaPaginaOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectContadorOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectContadorPaginaOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectUnidadeProdutoOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectUnidadeProdutoPaginaOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectProdutoOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectProdutoPaginaOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectNfeCabecalhoOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectNfeCabecalhoPaginaOperationCompleted;
        
        private System.Threading.SendOrPostCallback DeleteDavCabecalhoOperationCompleted;
        
        private System.Threading.SendOrPostCallback SalvarAtualizarDavCabecalhoOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectDavCabecalhoOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectDavCabecalhoPaginaOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectObjetoDavCabecalhoOperationCompleted;
        
        private System.Threading.SendOrPostCallback DeletePreVendaCabecalhoOperationCompleted;
        
        private System.Threading.SendOrPostCallback SalvarAtualizarPreVendaCabecalhoOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectPreVendaCabecalhoOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectPreVendaCabecalhoPaginaOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectObjetoPreVendaCabecalhoOperationCompleted;
        
        private System.Threading.SendOrPostCallback SelectUsuarioOperationCompleted;
        
        private bool useDefaultCredentialsSetExplicitly;
        
        /// <remarks/>
        public ServiceServidor() {
            this.Url = global::PafEcf.Properties.Settings.Default.PafEcf_ServidorReference_ServiceServidor;
            if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
                this.UseDefaultCredentials = true;
                this.useDefaultCredentialsSetExplicitly = false;
            }
            else {
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        public new string Url {
            get {
                return base.Url;
            }
            set {
                if ((((this.IsLocalFileSystemWebService(base.Url) == true) 
                            && (this.useDefaultCredentialsSetExplicitly == false)) 
                            && (this.IsLocalFileSystemWebService(value) == false))) {
                    base.UseDefaultCredentials = false;
                }
                base.Url = value;
            }
        }
        
        public new bool UseDefaultCredentials {
            get {
                return base.UseDefaultCredentials;
            }
            set {
                base.UseDefaultCredentials = value;
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        /// <remarks/>
        public event GerarSpedCompletedEventHandler GerarSpedCompleted;
        
        /// <remarks/>
        public event GerarSintegraCompletedEventHandler GerarSintegraCompleted;
        
        /// <remarks/>
        public event SelectEmpresaCompletedEventHandler SelectEmpresaCompleted;
        
        /// <remarks/>
        public event SelectEmpresaPaginaCompletedEventHandler SelectEmpresaPaginaCompleted;
        
        /// <remarks/>
        public event SelectContadorCompletedEventHandler SelectContadorCompleted;
        
        /// <remarks/>
        public event SelectContadorPaginaCompletedEventHandler SelectContadorPaginaCompleted;
        
        /// <remarks/>
        public event SelectUnidadeProdutoCompletedEventHandler SelectUnidadeProdutoCompleted;
        
        /// <remarks/>
        public event SelectUnidadeProdutoPaginaCompletedEventHandler SelectUnidadeProdutoPaginaCompleted;
        
        /// <remarks/>
        public event SelectProdutoCompletedEventHandler SelectProdutoCompleted;
        
        /// <remarks/>
        public event SelectProdutoPaginaCompletedEventHandler SelectProdutoPaginaCompleted;
        
        /// <remarks/>
        public event SelectNfeCabecalhoCompletedEventHandler SelectNfeCabecalhoCompleted;
        
        /// <remarks/>
        public event SelectNfeCabecalhoPaginaCompletedEventHandler SelectNfeCabecalhoPaginaCompleted;
        
        /// <remarks/>
        public event DeleteDavCabecalhoCompletedEventHandler DeleteDavCabecalhoCompleted;
        
        /// <remarks/>
        public event SalvarAtualizarDavCabecalhoCompletedEventHandler SalvarAtualizarDavCabecalhoCompleted;
        
        /// <remarks/>
        public event SelectDavCabecalhoCompletedEventHandler SelectDavCabecalhoCompleted;
        
        /// <remarks/>
        public event SelectDavCabecalhoPaginaCompletedEventHandler SelectDavCabecalhoPaginaCompleted;
        
        /// <remarks/>
        public event SelectObjetoDavCabecalhoCompletedEventHandler SelectObjetoDavCabecalhoCompleted;
        
        /// <remarks/>
        public event DeletePreVendaCabecalhoCompletedEventHandler DeletePreVendaCabecalhoCompleted;
        
        /// <remarks/>
        public event SalvarAtualizarPreVendaCabecalhoCompletedEventHandler SalvarAtualizarPreVendaCabecalhoCompleted;
        
        /// <remarks/>
        public event SelectPreVendaCabecalhoCompletedEventHandler SelectPreVendaCabecalhoCompleted;
        
        /// <remarks/>
        public event SelectPreVendaCabecalhoPaginaCompletedEventHandler SelectPreVendaCabecalhoPaginaCompleted;
        
        /// <remarks/>
        public event SelectObjetoPreVendaCabecalhoCompletedEventHandler SelectObjetoPreVendaCabecalhoCompleted;
        
        /// <remarks/>
        public event SelectUsuarioCompletedEventHandler SelectUsuarioCompleted;
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/GerarSped", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public ArquivoDTO GerarSped([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pDataIni, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pDataFim, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pVersao, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pFinalidade, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pPerfil, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pIdEmpresa, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pInventario, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pIdContador) {
            object[] results = this.Invoke("GerarSped", new object[] {
                        pDataIni,
                        pDataFim,
                        pVersao,
                        pFinalidade,
                        pPerfil,
                        pIdEmpresa,
                        pInventario,
                        pIdContador});
            return ((ArquivoDTO)(results[0]));
        }
        
        /// <remarks/>
        public void GerarSpedAsync(string pDataIni, string pDataFim, string pVersao, string pFinalidade, string pPerfil, string pIdEmpresa, string pInventario, string pIdContador) {
            this.GerarSpedAsync(pDataIni, pDataFim, pVersao, pFinalidade, pPerfil, pIdEmpresa, pInventario, pIdContador, null);
        }
        
        /// <remarks/>
        public void GerarSpedAsync(string pDataIni, string pDataFim, string pVersao, string pFinalidade, string pPerfil, string pIdEmpresa, string pInventario, string pIdContador, object userState) {
            if ((this.GerarSpedOperationCompleted == null)) {
                this.GerarSpedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGerarSpedOperationCompleted);
            }
            this.InvokeAsync("GerarSped", new object[] {
                        pDataIni,
                        pDataFim,
                        pVersao,
                        pFinalidade,
                        pPerfil,
                        pIdEmpresa,
                        pInventario,
                        pIdContador}, this.GerarSpedOperationCompleted, userState);
        }
        
        private void OnGerarSpedOperationCompleted(object arg) {
            if ((this.GerarSpedCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GerarSpedCompleted(this, new GerarSpedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/GerarSintegra", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public ArquivoDTO GerarSintegra([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pDataIni, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pDataFim, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pCodigoConvenio, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pFinalidade, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pNaturezaInformacao, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pIdEmpresa, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pInventario, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pIdContador) {
            object[] results = this.Invoke("GerarSintegra", new object[] {
                        pDataIni,
                        pDataFim,
                        pCodigoConvenio,
                        pFinalidade,
                        pNaturezaInformacao,
                        pIdEmpresa,
                        pInventario,
                        pIdContador});
            return ((ArquivoDTO)(results[0]));
        }
        
        /// <remarks/>
        public void GerarSintegraAsync(string pDataIni, string pDataFim, string pCodigoConvenio, string pFinalidade, string pNaturezaInformacao, string pIdEmpresa, string pInventario, string pIdContador) {
            this.GerarSintegraAsync(pDataIni, pDataFim, pCodigoConvenio, pFinalidade, pNaturezaInformacao, pIdEmpresa, pInventario, pIdContador, null);
        }
        
        /// <remarks/>
        public void GerarSintegraAsync(string pDataIni, string pDataFim, string pCodigoConvenio, string pFinalidade, string pNaturezaInformacao, string pIdEmpresa, string pInventario, string pIdContador, object userState) {
            if ((this.GerarSintegraOperationCompleted == null)) {
                this.GerarSintegraOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGerarSintegraOperationCompleted);
            }
            this.InvokeAsync("GerarSintegra", new object[] {
                        pDataIni,
                        pDataFim,
                        pCodigoConvenio,
                        pFinalidade,
                        pNaturezaInformacao,
                        pIdEmpresa,
                        pInventario,
                        pIdContador}, this.GerarSintegraOperationCompleted, userState);
        }
        
        private void OnGerarSintegraOperationCompleted(object arg) {
            if ((this.GerarSintegraCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GerarSintegraCompleted(this, new GerarSintegraCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectEmpresa", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
        public EmpresaDTO[] SelectEmpresa([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] EmpresaDTO empresa) {
            object[] results = this.Invoke("SelectEmpresa", new object[] {
                        empresa});
            return ((EmpresaDTO[])(results[0]));
        }
        
        /// <remarks/>
        public void SelectEmpresaAsync(EmpresaDTO empresa) {
            this.SelectEmpresaAsync(empresa, null);
        }
        
        /// <remarks/>
        public void SelectEmpresaAsync(EmpresaDTO empresa, object userState) {
            if ((this.SelectEmpresaOperationCompleted == null)) {
                this.SelectEmpresaOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectEmpresaOperationCompleted);
            }
            this.InvokeAsync("SelectEmpresa", new object[] {
                        empresa}, this.SelectEmpresaOperationCompleted, userState);
        }
        
        private void OnSelectEmpresaOperationCompleted(object arg) {
            if ((this.SelectEmpresaCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectEmpresaCompleted(this, new SelectEmpresaCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectEmpresaPagina", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
        public EmpresaDTO[] SelectEmpresaPagina(int primeiroResultado, [System.Xml.Serialization.XmlIgnoreAttribute()] bool primeiroResultadoSpecified, int quantidadeResultados, [System.Xml.Serialization.XmlIgnoreAttribute()] bool quantidadeResultadosSpecified, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] EmpresaDTO empresa) {
            object[] results = this.Invoke("SelectEmpresaPagina", new object[] {
                        primeiroResultado,
                        primeiroResultadoSpecified,
                        quantidadeResultados,
                        quantidadeResultadosSpecified,
                        empresa});
            return ((EmpresaDTO[])(results[0]));
        }
        
        /// <remarks/>
        public void SelectEmpresaPaginaAsync(int primeiroResultado, bool primeiroResultadoSpecified, int quantidadeResultados, bool quantidadeResultadosSpecified, EmpresaDTO empresa) {
            this.SelectEmpresaPaginaAsync(primeiroResultado, primeiroResultadoSpecified, quantidadeResultados, quantidadeResultadosSpecified, empresa, null);
        }
        
        /// <remarks/>
        public void SelectEmpresaPaginaAsync(int primeiroResultado, bool primeiroResultadoSpecified, int quantidadeResultados, bool quantidadeResultadosSpecified, EmpresaDTO empresa, object userState) {
            if ((this.SelectEmpresaPaginaOperationCompleted == null)) {
                this.SelectEmpresaPaginaOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectEmpresaPaginaOperationCompleted);
            }
            this.InvokeAsync("SelectEmpresaPagina", new object[] {
                        primeiroResultado,
                        primeiroResultadoSpecified,
                        quantidadeResultados,
                        quantidadeResultadosSpecified,
                        empresa}, this.SelectEmpresaPaginaOperationCompleted, userState);
        }
        
        private void OnSelectEmpresaPaginaOperationCompleted(object arg) {
            if ((this.SelectEmpresaPaginaCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectEmpresaPaginaCompleted(this, new SelectEmpresaPaginaCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectContador", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
        public ContadorDTO[] SelectContador([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] ContadorDTO contador) {
            object[] results = this.Invoke("SelectContador", new object[] {
                        contador});
            return ((ContadorDTO[])(results[0]));
        }
        
        /// <remarks/>
        public void SelectContadorAsync(ContadorDTO contador) {
            this.SelectContadorAsync(contador, null);
        }
        
        /// <remarks/>
        public void SelectContadorAsync(ContadorDTO contador, object userState) {
            if ((this.SelectContadorOperationCompleted == null)) {
                this.SelectContadorOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectContadorOperationCompleted);
            }
            this.InvokeAsync("SelectContador", new object[] {
                        contador}, this.SelectContadorOperationCompleted, userState);
        }
        
        private void OnSelectContadorOperationCompleted(object arg) {
            if ((this.SelectContadorCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectContadorCompleted(this, new SelectContadorCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectContadorPagina", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
        public ContadorDTO[] SelectContadorPagina(int primeiroResultado, [System.Xml.Serialization.XmlIgnoreAttribute()] bool primeiroResultadoSpecified, int quantidadeResultados, [System.Xml.Serialization.XmlIgnoreAttribute()] bool quantidadeResultadosSpecified, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] ContadorDTO contador) {
            object[] results = this.Invoke("SelectContadorPagina", new object[] {
                        primeiroResultado,
                        primeiroResultadoSpecified,
                        quantidadeResultados,
                        quantidadeResultadosSpecified,
                        contador});
            return ((ContadorDTO[])(results[0]));
        }
        
        /// <remarks/>
        public void SelectContadorPaginaAsync(int primeiroResultado, bool primeiroResultadoSpecified, int quantidadeResultados, bool quantidadeResultadosSpecified, ContadorDTO contador) {
            this.SelectContadorPaginaAsync(primeiroResultado, primeiroResultadoSpecified, quantidadeResultados, quantidadeResultadosSpecified, contador, null);
        }
        
        /// <remarks/>
        public void SelectContadorPaginaAsync(int primeiroResultado, bool primeiroResultadoSpecified, int quantidadeResultados, bool quantidadeResultadosSpecified, ContadorDTO contador, object userState) {
            if ((this.SelectContadorPaginaOperationCompleted == null)) {
                this.SelectContadorPaginaOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectContadorPaginaOperationCompleted);
            }
            this.InvokeAsync("SelectContadorPagina", new object[] {
                        primeiroResultado,
                        primeiroResultadoSpecified,
                        quantidadeResultados,
                        quantidadeResultadosSpecified,
                        contador}, this.SelectContadorPaginaOperationCompleted, userState);
        }
        
        private void OnSelectContadorPaginaOperationCompleted(object arg) {
            if ((this.SelectContadorPaginaCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectContadorPaginaCompleted(this, new SelectContadorPaginaCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectUnidadeProduto", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
        public UnidadeProdutoDTO[] SelectUnidadeProduto([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] UnidadeProdutoDTO unidadeProduto) {
            object[] results = this.Invoke("SelectUnidadeProduto", new object[] {
                        unidadeProduto});
            return ((UnidadeProdutoDTO[])(results[0]));
        }
        
        /// <remarks/>
        public void SelectUnidadeProdutoAsync(UnidadeProdutoDTO unidadeProduto) {
            this.SelectUnidadeProdutoAsync(unidadeProduto, null);
        }
        
        /// <remarks/>
        public void SelectUnidadeProdutoAsync(UnidadeProdutoDTO unidadeProduto, object userState) {
            if ((this.SelectUnidadeProdutoOperationCompleted == null)) {
                this.SelectUnidadeProdutoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectUnidadeProdutoOperationCompleted);
            }
            this.InvokeAsync("SelectUnidadeProduto", new object[] {
                        unidadeProduto}, this.SelectUnidadeProdutoOperationCompleted, userState);
        }
        
        private void OnSelectUnidadeProdutoOperationCompleted(object arg) {
            if ((this.SelectUnidadeProdutoCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectUnidadeProdutoCompleted(this, new SelectUnidadeProdutoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectUnidadeProdutoPagina", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
        public UnidadeProdutoDTO[] SelectUnidadeProdutoPagina(int primeiroResultado, [System.Xml.Serialization.XmlIgnoreAttribute()] bool primeiroResultadoSpecified, int quantidadeResultados, [System.Xml.Serialization.XmlIgnoreAttribute()] bool quantidadeResultadosSpecified, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] UnidadeProdutoDTO unidadeProduto) {
            object[] results = this.Invoke("SelectUnidadeProdutoPagina", new object[] {
                        primeiroResultado,
                        primeiroResultadoSpecified,
                        quantidadeResultados,
                        quantidadeResultadosSpecified,
                        unidadeProduto});
            return ((UnidadeProdutoDTO[])(results[0]));
        }
        
        /// <remarks/>
        public void SelectUnidadeProdutoPaginaAsync(int primeiroResultado, bool primeiroResultadoSpecified, int quantidadeResultados, bool quantidadeResultadosSpecified, UnidadeProdutoDTO unidadeProduto) {
            this.SelectUnidadeProdutoPaginaAsync(primeiroResultado, primeiroResultadoSpecified, quantidadeResultados, quantidadeResultadosSpecified, unidadeProduto, null);
        }
        
        /// <remarks/>
        public void SelectUnidadeProdutoPaginaAsync(int primeiroResultado, bool primeiroResultadoSpecified, int quantidadeResultados, bool quantidadeResultadosSpecified, UnidadeProdutoDTO unidadeProduto, object userState) {
            if ((this.SelectUnidadeProdutoPaginaOperationCompleted == null)) {
                this.SelectUnidadeProdutoPaginaOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectUnidadeProdutoPaginaOperationCompleted);
            }
            this.InvokeAsync("SelectUnidadeProdutoPagina", new object[] {
                        primeiroResultado,
                        primeiroResultadoSpecified,
                        quantidadeResultados,
                        quantidadeResultadosSpecified,
                        unidadeProduto}, this.SelectUnidadeProdutoPaginaOperationCompleted, userState);
        }
        
        private void OnSelectUnidadeProdutoPaginaOperationCompleted(object arg) {
            if ((this.SelectUnidadeProdutoPaginaCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectUnidadeProdutoPaginaCompleted(this, new SelectUnidadeProdutoPaginaCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectProduto", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
        public ProdutoDTO[] SelectProduto([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] ProdutoDTO produto) {
            object[] results = this.Invoke("SelectProduto", new object[] {
                        produto});
            return ((ProdutoDTO[])(results[0]));
        }
        
        /// <remarks/>
        public void SelectProdutoAsync(ProdutoDTO produto) {
            this.SelectProdutoAsync(produto, null);
        }
        
        /// <remarks/>
        public void SelectProdutoAsync(ProdutoDTO produto, object userState) {
            if ((this.SelectProdutoOperationCompleted == null)) {
                this.SelectProdutoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectProdutoOperationCompleted);
            }
            this.InvokeAsync("SelectProduto", new object[] {
                        produto}, this.SelectProdutoOperationCompleted, userState);
        }
        
        private void OnSelectProdutoOperationCompleted(object arg) {
            if ((this.SelectProdutoCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectProdutoCompleted(this, new SelectProdutoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectProdutoPagina", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
        public ProdutoDTO[] SelectProdutoPagina(int primeiroResultado, [System.Xml.Serialization.XmlIgnoreAttribute()] bool primeiroResultadoSpecified, int quantidadeResultados, [System.Xml.Serialization.XmlIgnoreAttribute()] bool quantidadeResultadosSpecified, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] ProdutoDTO produto) {
            object[] results = this.Invoke("SelectProdutoPagina", new object[] {
                        primeiroResultado,
                        primeiroResultadoSpecified,
                        quantidadeResultados,
                        quantidadeResultadosSpecified,
                        produto});
            return ((ProdutoDTO[])(results[0]));
        }
        
        /// <remarks/>
        public void SelectProdutoPaginaAsync(int primeiroResultado, bool primeiroResultadoSpecified, int quantidadeResultados, bool quantidadeResultadosSpecified, ProdutoDTO produto) {
            this.SelectProdutoPaginaAsync(primeiroResultado, primeiroResultadoSpecified, quantidadeResultados, quantidadeResultadosSpecified, produto, null);
        }
        
        /// <remarks/>
        public void SelectProdutoPaginaAsync(int primeiroResultado, bool primeiroResultadoSpecified, int quantidadeResultados, bool quantidadeResultadosSpecified, ProdutoDTO produto, object userState) {
            if ((this.SelectProdutoPaginaOperationCompleted == null)) {
                this.SelectProdutoPaginaOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectProdutoPaginaOperationCompleted);
            }
            this.InvokeAsync("SelectProdutoPagina", new object[] {
                        primeiroResultado,
                        primeiroResultadoSpecified,
                        quantidadeResultados,
                        quantidadeResultadosSpecified,
                        produto}, this.SelectProdutoPaginaOperationCompleted, userState);
        }
        
        private void OnSelectProdutoPaginaOperationCompleted(object arg) {
            if ((this.SelectProdutoPaginaCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectProdutoPaginaCompleted(this, new SelectProdutoPaginaCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectNfeCabecalho", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
        public NfeCabecalhoDTO[] SelectNfeCabecalho([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] NfeCabecalhoDTO nfeCabecalho) {
            object[] results = this.Invoke("SelectNfeCabecalho", new object[] {
                        nfeCabecalho});
            return ((NfeCabecalhoDTO[])(results[0]));
        }
        
        /// <remarks/>
        public void SelectNfeCabecalhoAsync(NfeCabecalhoDTO nfeCabecalho) {
            this.SelectNfeCabecalhoAsync(nfeCabecalho, null);
        }
        
        /// <remarks/>
        public void SelectNfeCabecalhoAsync(NfeCabecalhoDTO nfeCabecalho, object userState) {
            if ((this.SelectNfeCabecalhoOperationCompleted == null)) {
                this.SelectNfeCabecalhoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectNfeCabecalhoOperationCompleted);
            }
            this.InvokeAsync("SelectNfeCabecalho", new object[] {
                        nfeCabecalho}, this.SelectNfeCabecalhoOperationCompleted, userState);
        }
        
        private void OnSelectNfeCabecalhoOperationCompleted(object arg) {
            if ((this.SelectNfeCabecalhoCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectNfeCabecalhoCompleted(this, new SelectNfeCabecalhoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectNfeCabecalhoPagina", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
        public NfeCabecalhoDTO[] SelectNfeCabecalhoPagina(int primeiroResultado, [System.Xml.Serialization.XmlIgnoreAttribute()] bool primeiroResultadoSpecified, int quantidadeResultados, [System.Xml.Serialization.XmlIgnoreAttribute()] bool quantidadeResultadosSpecified, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] NfeCabecalhoDTO nfeCabecalho) {
            object[] results = this.Invoke("SelectNfeCabecalhoPagina", new object[] {
                        primeiroResultado,
                        primeiroResultadoSpecified,
                        quantidadeResultados,
                        quantidadeResultadosSpecified,
                        nfeCabecalho});
            return ((NfeCabecalhoDTO[])(results[0]));
        }
        
        /// <remarks/>
        public void SelectNfeCabecalhoPaginaAsync(int primeiroResultado, bool primeiroResultadoSpecified, int quantidadeResultados, bool quantidadeResultadosSpecified, NfeCabecalhoDTO nfeCabecalho) {
            this.SelectNfeCabecalhoPaginaAsync(primeiroResultado, primeiroResultadoSpecified, quantidadeResultados, quantidadeResultadosSpecified, nfeCabecalho, null);
        }
        
        /// <remarks/>
        public void SelectNfeCabecalhoPaginaAsync(int primeiroResultado, bool primeiroResultadoSpecified, int quantidadeResultados, bool quantidadeResultadosSpecified, NfeCabecalhoDTO nfeCabecalho, object userState) {
            if ((this.SelectNfeCabecalhoPaginaOperationCompleted == null)) {
                this.SelectNfeCabecalhoPaginaOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectNfeCabecalhoPaginaOperationCompleted);
            }
            this.InvokeAsync("SelectNfeCabecalhoPagina", new object[] {
                        primeiroResultado,
                        primeiroResultadoSpecified,
                        quantidadeResultados,
                        quantidadeResultadosSpecified,
                        nfeCabecalho}, this.SelectNfeCabecalhoPaginaOperationCompleted, userState);
        }
        
        private void OnSelectNfeCabecalhoPaginaOperationCompleted(object arg) {
            if ((this.SelectNfeCabecalhoPaginaCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectNfeCabecalhoPaginaCompleted(this, new SelectNfeCabecalhoPaginaCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/DeleteDavCabecalho", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void DeleteDavCabecalho([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] DavCabecalhoDTO davCabecalho, out int DeleteDavCabecalhoResult, [System.Xml.Serialization.XmlIgnoreAttribute()] out bool DeleteDavCabecalhoResultSpecified) {
            object[] results = this.Invoke("DeleteDavCabecalho", new object[] {
                        davCabecalho});
            DeleteDavCabecalhoResult = ((int)(results[0]));
            DeleteDavCabecalhoResultSpecified = ((bool)(results[1]));
        }
        
        /// <remarks/>
        public void DeleteDavCabecalhoAsync(DavCabecalhoDTO davCabecalho) {
            this.DeleteDavCabecalhoAsync(davCabecalho, null);
        }
        
        /// <remarks/>
        public void DeleteDavCabecalhoAsync(DavCabecalhoDTO davCabecalho, object userState) {
            if ((this.DeleteDavCabecalhoOperationCompleted == null)) {
                this.DeleteDavCabecalhoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteDavCabecalhoOperationCompleted);
            }
            this.InvokeAsync("DeleteDavCabecalho", new object[] {
                        davCabecalho}, this.DeleteDavCabecalhoOperationCompleted, userState);
        }
        
        private void OnDeleteDavCabecalhoOperationCompleted(object arg) {
            if ((this.DeleteDavCabecalhoCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.DeleteDavCabecalhoCompleted(this, new DeleteDavCabecalhoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SalvarAtualizarDavCabecalho", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public DavCabecalhoDTO SalvarAtualizarDavCabecalho([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] DavCabecalhoDTO davCabecalho) {
            object[] results = this.Invoke("SalvarAtualizarDavCabecalho", new object[] {
                        davCabecalho});
            return ((DavCabecalhoDTO)(results[0]));
        }
        
        /// <remarks/>
        public void SalvarAtualizarDavCabecalhoAsync(DavCabecalhoDTO davCabecalho) {
            this.SalvarAtualizarDavCabecalhoAsync(davCabecalho, null);
        }
        
        /// <remarks/>
        public void SalvarAtualizarDavCabecalhoAsync(DavCabecalhoDTO davCabecalho, object userState) {
            if ((this.SalvarAtualizarDavCabecalhoOperationCompleted == null)) {
                this.SalvarAtualizarDavCabecalhoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSalvarAtualizarDavCabecalhoOperationCompleted);
            }
            this.InvokeAsync("SalvarAtualizarDavCabecalho", new object[] {
                        davCabecalho}, this.SalvarAtualizarDavCabecalhoOperationCompleted, userState);
        }
        
        private void OnSalvarAtualizarDavCabecalhoOperationCompleted(object arg) {
            if ((this.SalvarAtualizarDavCabecalhoCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SalvarAtualizarDavCabecalhoCompleted(this, new SalvarAtualizarDavCabecalhoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectDavCabecalho", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
        public DavCabecalhoDTO[] SelectDavCabecalho([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] DavCabecalhoDTO davCabecalho) {
            object[] results = this.Invoke("SelectDavCabecalho", new object[] {
                        davCabecalho});
            return ((DavCabecalhoDTO[])(results[0]));
        }
        
        /// <remarks/>
        public void SelectDavCabecalhoAsync(DavCabecalhoDTO davCabecalho) {
            this.SelectDavCabecalhoAsync(davCabecalho, null);
        }
        
        /// <remarks/>
        public void SelectDavCabecalhoAsync(DavCabecalhoDTO davCabecalho, object userState) {
            if ((this.SelectDavCabecalhoOperationCompleted == null)) {
                this.SelectDavCabecalhoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectDavCabecalhoOperationCompleted);
            }
            this.InvokeAsync("SelectDavCabecalho", new object[] {
                        davCabecalho}, this.SelectDavCabecalhoOperationCompleted, userState);
        }
        
        private void OnSelectDavCabecalhoOperationCompleted(object arg) {
            if ((this.SelectDavCabecalhoCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectDavCabecalhoCompleted(this, new SelectDavCabecalhoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectDavCabecalhoPagina", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
        public DavCabecalhoDTO[] SelectDavCabecalhoPagina(int primeiroResultado, [System.Xml.Serialization.XmlIgnoreAttribute()] bool primeiroResultadoSpecified, int quantidadeResultados, [System.Xml.Serialization.XmlIgnoreAttribute()] bool quantidadeResultadosSpecified, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] DavCabecalhoDTO davCabecalho) {
            object[] results = this.Invoke("SelectDavCabecalhoPagina", new object[] {
                        primeiroResultado,
                        primeiroResultadoSpecified,
                        quantidadeResultados,
                        quantidadeResultadosSpecified,
                        davCabecalho});
            return ((DavCabecalhoDTO[])(results[0]));
        }
        
        /// <remarks/>
        public void SelectDavCabecalhoPaginaAsync(int primeiroResultado, bool primeiroResultadoSpecified, int quantidadeResultados, bool quantidadeResultadosSpecified, DavCabecalhoDTO davCabecalho) {
            this.SelectDavCabecalhoPaginaAsync(primeiroResultado, primeiroResultadoSpecified, quantidadeResultados, quantidadeResultadosSpecified, davCabecalho, null);
        }
        
        /// <remarks/>
        public void SelectDavCabecalhoPaginaAsync(int primeiroResultado, bool primeiroResultadoSpecified, int quantidadeResultados, bool quantidadeResultadosSpecified, DavCabecalhoDTO davCabecalho, object userState) {
            if ((this.SelectDavCabecalhoPaginaOperationCompleted == null)) {
                this.SelectDavCabecalhoPaginaOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectDavCabecalhoPaginaOperationCompleted);
            }
            this.InvokeAsync("SelectDavCabecalhoPagina", new object[] {
                        primeiroResultado,
                        primeiroResultadoSpecified,
                        quantidadeResultados,
                        quantidadeResultadosSpecified,
                        davCabecalho}, this.SelectDavCabecalhoPaginaOperationCompleted, userState);
        }
        
        private void OnSelectDavCabecalhoPaginaOperationCompleted(object arg) {
            if ((this.SelectDavCabecalhoPaginaCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectDavCabecalhoPaginaCompleted(this, new SelectDavCabecalhoPaginaCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectObjetoDavCabecalho", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public DavCabecalhoDTO SelectObjetoDavCabecalho([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pFiltro) {
            object[] results = this.Invoke("SelectObjetoDavCabecalho", new object[] {
                        pFiltro});
            return ((DavCabecalhoDTO)(results[0]));
        }
        
        /// <remarks/>
        public void SelectObjetoDavCabecalhoAsync(string pFiltro) {
            this.SelectObjetoDavCabecalhoAsync(pFiltro, null);
        }
        
        /// <remarks/>
        public void SelectObjetoDavCabecalhoAsync(string pFiltro, object userState) {
            if ((this.SelectObjetoDavCabecalhoOperationCompleted == null)) {
                this.SelectObjetoDavCabecalhoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectObjetoDavCabecalhoOperationCompleted);
            }
            this.InvokeAsync("SelectObjetoDavCabecalho", new object[] {
                        pFiltro}, this.SelectObjetoDavCabecalhoOperationCompleted, userState);
        }
        
        private void OnSelectObjetoDavCabecalhoOperationCompleted(object arg) {
            if ((this.SelectObjetoDavCabecalhoCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectObjetoDavCabecalhoCompleted(this, new SelectObjetoDavCabecalhoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/DeletePreVendaCabecalho", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void DeletePreVendaCabecalho([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] PreVendaCabecalhoDTO preVendaCabecalho, out int DeletePreVendaCabecalhoResult, [System.Xml.Serialization.XmlIgnoreAttribute()] out bool DeletePreVendaCabecalhoResultSpecified) {
            object[] results = this.Invoke("DeletePreVendaCabecalho", new object[] {
                        preVendaCabecalho});
            DeletePreVendaCabecalhoResult = ((int)(results[0]));
            DeletePreVendaCabecalhoResultSpecified = ((bool)(results[1]));
        }
        
        /// <remarks/>
        public void DeletePreVendaCabecalhoAsync(PreVendaCabecalhoDTO preVendaCabecalho) {
            this.DeletePreVendaCabecalhoAsync(preVendaCabecalho, null);
        }
        
        /// <remarks/>
        public void DeletePreVendaCabecalhoAsync(PreVendaCabecalhoDTO preVendaCabecalho, object userState) {
            if ((this.DeletePreVendaCabecalhoOperationCompleted == null)) {
                this.DeletePreVendaCabecalhoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeletePreVendaCabecalhoOperationCompleted);
            }
            this.InvokeAsync("DeletePreVendaCabecalho", new object[] {
                        preVendaCabecalho}, this.DeletePreVendaCabecalhoOperationCompleted, userState);
        }
        
        private void OnDeletePreVendaCabecalhoOperationCompleted(object arg) {
            if ((this.DeletePreVendaCabecalhoCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.DeletePreVendaCabecalhoCompleted(this, new DeletePreVendaCabecalhoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SalvarAtualizarPreVendaCabecalho", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public PreVendaCabecalhoDTO SalvarAtualizarPreVendaCabecalho([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] PreVendaCabecalhoDTO preVendaCabecalho) {
            object[] results = this.Invoke("SalvarAtualizarPreVendaCabecalho", new object[] {
                        preVendaCabecalho});
            return ((PreVendaCabecalhoDTO)(results[0]));
        }
        
        /// <remarks/>
        public void SalvarAtualizarPreVendaCabecalhoAsync(PreVendaCabecalhoDTO preVendaCabecalho) {
            this.SalvarAtualizarPreVendaCabecalhoAsync(preVendaCabecalho, null);
        }
        
        /// <remarks/>
        public void SalvarAtualizarPreVendaCabecalhoAsync(PreVendaCabecalhoDTO preVendaCabecalho, object userState) {
            if ((this.SalvarAtualizarPreVendaCabecalhoOperationCompleted == null)) {
                this.SalvarAtualizarPreVendaCabecalhoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSalvarAtualizarPreVendaCabecalhoOperationCompleted);
            }
            this.InvokeAsync("SalvarAtualizarPreVendaCabecalho", new object[] {
                        preVendaCabecalho}, this.SalvarAtualizarPreVendaCabecalhoOperationCompleted, userState);
        }
        
        private void OnSalvarAtualizarPreVendaCabecalhoOperationCompleted(object arg) {
            if ((this.SalvarAtualizarPreVendaCabecalhoCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SalvarAtualizarPreVendaCabecalhoCompleted(this, new SalvarAtualizarPreVendaCabecalhoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectPreVendaCabecalho", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
        public PreVendaCabecalhoDTO[] SelectPreVendaCabecalho([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] PreVendaCabecalhoDTO preVendaCabecalho) {
            object[] results = this.Invoke("SelectPreVendaCabecalho", new object[] {
                        preVendaCabecalho});
            return ((PreVendaCabecalhoDTO[])(results[0]));
        }
        
        /// <remarks/>
        public void SelectPreVendaCabecalhoAsync(PreVendaCabecalhoDTO preVendaCabecalho) {
            this.SelectPreVendaCabecalhoAsync(preVendaCabecalho, null);
        }
        
        /// <remarks/>
        public void SelectPreVendaCabecalhoAsync(PreVendaCabecalhoDTO preVendaCabecalho, object userState) {
            if ((this.SelectPreVendaCabecalhoOperationCompleted == null)) {
                this.SelectPreVendaCabecalhoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectPreVendaCabecalhoOperationCompleted);
            }
            this.InvokeAsync("SelectPreVendaCabecalho", new object[] {
                        preVendaCabecalho}, this.SelectPreVendaCabecalhoOperationCompleted, userState);
        }
        
        private void OnSelectPreVendaCabecalhoOperationCompleted(object arg) {
            if ((this.SelectPreVendaCabecalhoCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectPreVendaCabecalhoCompleted(this, new SelectPreVendaCabecalhoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectPreVendaCabecalhoPagina", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
        public PreVendaCabecalhoDTO[] SelectPreVendaCabecalhoPagina(int primeiroResultado, [System.Xml.Serialization.XmlIgnoreAttribute()] bool primeiroResultadoSpecified, int quantidadeResultados, [System.Xml.Serialization.XmlIgnoreAttribute()] bool quantidadeResultadosSpecified, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] PreVendaCabecalhoDTO preVendaCabecalho) {
            object[] results = this.Invoke("SelectPreVendaCabecalhoPagina", new object[] {
                        primeiroResultado,
                        primeiroResultadoSpecified,
                        quantidadeResultados,
                        quantidadeResultadosSpecified,
                        preVendaCabecalho});
            return ((PreVendaCabecalhoDTO[])(results[0]));
        }
        
        /// <remarks/>
        public void SelectPreVendaCabecalhoPaginaAsync(int primeiroResultado, bool primeiroResultadoSpecified, int quantidadeResultados, bool quantidadeResultadosSpecified, PreVendaCabecalhoDTO preVendaCabecalho) {
            this.SelectPreVendaCabecalhoPaginaAsync(primeiroResultado, primeiroResultadoSpecified, quantidadeResultados, quantidadeResultadosSpecified, preVendaCabecalho, null);
        }
        
        /// <remarks/>
        public void SelectPreVendaCabecalhoPaginaAsync(int primeiroResultado, bool primeiroResultadoSpecified, int quantidadeResultados, bool quantidadeResultadosSpecified, PreVendaCabecalhoDTO preVendaCabecalho, object userState) {
            if ((this.SelectPreVendaCabecalhoPaginaOperationCompleted == null)) {
                this.SelectPreVendaCabecalhoPaginaOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectPreVendaCabecalhoPaginaOperationCompleted);
            }
            this.InvokeAsync("SelectPreVendaCabecalhoPagina", new object[] {
                        primeiroResultado,
                        primeiroResultadoSpecified,
                        quantidadeResultados,
                        quantidadeResultadosSpecified,
                        preVendaCabecalho}, this.SelectPreVendaCabecalhoPaginaOperationCompleted, userState);
        }
        
        private void OnSelectPreVendaCabecalhoPaginaOperationCompleted(object arg) {
            if ((this.SelectPreVendaCabecalhoPaginaCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectPreVendaCabecalhoPaginaCompleted(this, new SelectPreVendaCabecalhoPaginaCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectObjetoPreVendaCabecalho", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public PreVendaCabecalhoDTO SelectObjetoPreVendaCabecalho([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string pFiltro) {
            object[] results = this.Invoke("SelectObjetoPreVendaCabecalho", new object[] {
                        pFiltro});
            return ((PreVendaCabecalhoDTO)(results[0]));
        }
        
        /// <remarks/>
        public void SelectObjetoPreVendaCabecalhoAsync(string pFiltro) {
            this.SelectObjetoPreVendaCabecalhoAsync(pFiltro, null);
        }
        
        /// <remarks/>
        public void SelectObjetoPreVendaCabecalhoAsync(string pFiltro, object userState) {
            if ((this.SelectObjetoPreVendaCabecalhoOperationCompleted == null)) {
                this.SelectObjetoPreVendaCabecalhoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectObjetoPreVendaCabecalhoOperationCompleted);
            }
            this.InvokeAsync("SelectObjetoPreVendaCabecalho", new object[] {
                        pFiltro}, this.SelectObjetoPreVendaCabecalhoOperationCompleted, userState);
        }
        
        private void OnSelectObjetoPreVendaCabecalhoOperationCompleted(object arg) {
            if ((this.SelectObjetoPreVendaCabecalhoCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectObjetoPreVendaCabecalhoCompleted(this, new SelectObjetoPreVendaCabecalhoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IServidor/SelectUsuario", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public UsuarioDTO SelectUsuario([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string login, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string senha) {
            object[] results = this.Invoke("SelectUsuario", new object[] {
                        login,
                        senha});
            return ((UsuarioDTO)(results[0]));
        }
        
        /// <remarks/>
        public void SelectUsuarioAsync(string login, string senha) {
            this.SelectUsuarioAsync(login, senha, null);
        }
        
        /// <remarks/>
        public void SelectUsuarioAsync(string login, string senha, object userState) {
            if ((this.SelectUsuarioOperationCompleted == null)) {
                this.SelectUsuarioOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSelectUsuarioOperationCompleted);
            }
            this.InvokeAsync("SelectUsuario", new object[] {
                        login,
                        senha}, this.SelectUsuarioOperationCompleted, userState);
        }
        
        private void OnSelectUsuarioOperationCompleted(object arg) {
            if ((this.SelectUsuarioCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SelectUsuarioCompleted(this, new SelectUsuarioCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        public new void CancelAsync(object userState) {
            base.CancelAsync(userState);
        }
        
        private bool IsLocalFileSystemWebService(string url) {
            if (((url == null) 
                        || (url == string.Empty))) {
                return false;
            }
            System.Uri wsUri = new System.Uri(url);
            if (((wsUri.Port >= 1024) 
                        && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
                return true;
            }
            return false;
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class ArquivoDTO {
        
        private FileInfo fileInfoField;
        
        private MemoryStream memoryStreamField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public FileInfo fileInfo {
            get {
                return this.fileInfoField;
            }
            set {
                this.fileInfoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public MemoryStream memoryStream {
            get {
                return this.memoryStreamField;
            }
            set {
                this.memoryStreamField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/System.IO")]
    public partial class FileInfo : FileSystemInfo {
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(FileInfo))]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/System.IO")]
    public partial class FileSystemInfo {
        
        private System.Xml.XmlElement[] anyField;
        
        private System.Xml.XmlQualifiedName factoryTypeField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAnyElementAttribute()]
        public System.Xml.XmlElement[] Any {
            get {
                return this.anyField;
            }
            set {
                this.anyField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, Namespace="http://schemas.microsoft.com/2003/10/Serialization/")]
        public System.Xml.XmlQualifiedName FactoryType {
            get {
                return this.factoryTypeField;
            }
            set {
                this.factoryTypeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class UsuarioDTO {
        
        private string administradorField;
        
        private System.Nullable<System.DateTime> dataCadastroField;
        
        private bool dataCadastroFieldSpecified;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private int idColaboradorField;
        
        private bool idColaboradorFieldSpecified;
        
        private int idPapelField;
        
        private bool idPapelFieldSpecified;
        
        private string loginField;
        
        private string senhaField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Administrador {
            get {
                return this.administradorField;
            }
            set {
                this.administradorField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataCadastro {
            get {
                return this.dataCadastroField;
            }
            set {
                this.dataCadastroField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataCadastroSpecified {
            get {
                return this.dataCadastroFieldSpecified;
            }
            set {
                this.dataCadastroFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public int IdColaborador {
            get {
                return this.idColaboradorField;
            }
            set {
                this.idColaboradorField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdColaboradorSpecified {
            get {
                return this.idColaboradorFieldSpecified;
            }
            set {
                this.idColaboradorFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public int IdPapel {
            get {
                return this.idPapelField;
            }
            set {
                this.idPapelField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdPapelSpecified {
            get {
                return this.idPapelFieldSpecified;
            }
            set {
                this.idPapelFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Login {
            get {
                return this.loginField;
            }
            set {
                this.loginField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Senha {
            get {
                return this.senhaField;
            }
            set {
                this.senhaField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class PreVendaDetalheDTO {
        
        private string canceladoField;
        
        private string ecfIcmsStField;
        
        private string gtinProdutoField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private int idPreVendaCabecalhoField;
        
        private bool idPreVendaCabecalhoFieldSpecified;
        
        private System.Nullable<int> itemField;
        
        private bool itemFieldSpecified;
        
        private string nomeProdutoField;
        
        private ProdutoDTO produtoField;
        
        private System.Nullable<decimal> quantidadeField;
        
        private bool quantidadeFieldSpecified;
        
        private string unidadeProdutoField;
        
        private System.Nullable<decimal> valorTotalField;
        
        private bool valorTotalFieldSpecified;
        
        private System.Nullable<decimal> valorUnitarioField;
        
        private bool valorUnitarioFieldSpecified;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Cancelado {
            get {
                return this.canceladoField;
            }
            set {
                this.canceladoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string EcfIcmsSt {
            get {
                return this.ecfIcmsStField;
            }
            set {
                this.ecfIcmsStField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string GtinProduto {
            get {
                return this.gtinProdutoField;
            }
            set {
                this.gtinProdutoField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public int IdPreVendaCabecalho {
            get {
                return this.idPreVendaCabecalhoField;
            }
            set {
                this.idPreVendaCabecalhoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdPreVendaCabecalhoSpecified {
            get {
                return this.idPreVendaCabecalhoFieldSpecified;
            }
            set {
                this.idPreVendaCabecalhoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> Item {
            get {
                return this.itemField;
            }
            set {
                this.itemField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ItemSpecified {
            get {
                return this.itemFieldSpecified;
            }
            set {
                this.itemFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string NomeProduto {
            get {
                return this.nomeProdutoField;
            }
            set {
                this.nomeProdutoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public ProdutoDTO Produto {
            get {
                return this.produtoField;
            }
            set {
                this.produtoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> Quantidade {
            get {
                return this.quantidadeField;
            }
            set {
                this.quantidadeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool QuantidadeSpecified {
            get {
                return this.quantidadeFieldSpecified;
            }
            set {
                this.quantidadeFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string UnidadeProduto {
            get {
                return this.unidadeProdutoField;
            }
            set {
                this.unidadeProdutoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorTotal {
            get {
                return this.valorTotalField;
            }
            set {
                this.valorTotalField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorTotalSpecified {
            get {
                return this.valorTotalFieldSpecified;
            }
            set {
                this.valorTotalFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorUnitario {
            get {
                return this.valorUnitarioField;
            }
            set {
                this.valorUnitarioField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorUnitarioSpecified {
            get {
                return this.valorUnitarioFieldSpecified;
            }
            set {
                this.valorUnitarioFieldSpecified = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class ProdutoDTO {
        
        private System.Nullable<decimal> aliquotaIcmsPafField;
        
        private bool aliquotaIcmsPafFieldSpecified;
        
        private System.Nullable<decimal> aliquotaIssqnPafField;
        
        private bool aliquotaIssqnPafFieldSpecified;
        
        private AlmoxarifadoDTO almoxarifadoField;
        
        private string classeAbcField;
        
        private System.Nullable<int> codigoBalancaField;
        
        private bool codigoBalancaFieldSpecified;
        
        private string codigoInternoField;
        
        private string codigoLstField;
        
        private System.Nullable<decimal> custoMedioLiquidoField;
        
        private bool custoMedioLiquidoFieldSpecified;
        
        private System.Nullable<System.DateTime> dataAlteracaoField;
        
        private bool dataAlteracaoFieldSpecified;
        
        private System.Nullable<System.DateTime> dataCadastroField;
        
        private bool dataCadastroFieldSpecified;
        
        private string descricaoField;
        
        private string descricaoPdvField;
        
        private System.Nullable<decimal> estoqueIdealField;
        
        private bool estoqueIdealFieldSpecified;
        
        private System.Nullable<decimal> estoqueMaximoField;
        
        private bool estoqueMaximoFieldSpecified;
        
        private System.Nullable<decimal> estoqueMinimoField;
        
        private bool estoqueMinimoFieldSpecified;
        
        private string exTipiField;
        
        private string excluidoField;
        
        private string fotoProdutoField;
        
        private string gtinField;
        
        private string iatField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string inativoField;
        
        private string ipptField;
        
        private System.Nullable<decimal> loteEconomicoCompraField;
        
        private bool loteEconomicoCompraFieldSpecified;
        
        private System.Nullable<decimal> markupField;
        
        private bool markupFieldSpecified;
        
        private string ncmField;
        
        private string nomeField;
        
        private System.Nullable<decimal> pesoField;
        
        private bool pesoFieldSpecified;
        
        private System.Nullable<decimal> pontoPedidoField;
        
        private bool pontoPedidoFieldSpecified;
        
        private System.Nullable<decimal> porcentoComissaoField;
        
        private bool porcentoComissaoFieldSpecified;
        
        private System.Nullable<decimal> precoLucroMaximoField;
        
        private bool precoLucroMaximoFieldSpecified;
        
        private System.Nullable<decimal> precoLucroMinimoField;
        
        private bool precoLucroMinimoFieldSpecified;
        
        private System.Nullable<decimal> precoLucroZeroField;
        
        private bool precoLucroZeroFieldSpecified;
        
        private System.Nullable<decimal> precoSugeridoField;
        
        private bool precoSugeridoFieldSpecified;
        
        private System.Nullable<decimal> precoVendaMinimoField;
        
        private bool precoVendaMinimoFieldSpecified;
        
        private ProdutoMarcaDTO produtoMarcaField;
        
        private ProdutoSubGrupoDTO produtoSubGrupoField;
        
        private System.Nullable<decimal> quantidadeEstoqueField;
        
        private bool quantidadeEstoqueFieldSpecified;
        
        private System.Nullable<decimal> quantidadeEstoqueAnteriorField;
        
        private bool quantidadeEstoqueAnteriorFieldSpecified;
        
        private string tipoField;
        
        private string tipoItemSpedField;
        
        private string totalizadorParcialField;
        
        private TributGrupoTributarioDTO tributGrupoTributarioField;
        
        private TributIcmsCustomCabDTO tributIcmsCustomCabField;
        
        private UnidadeProdutoDTO unidadeProdutoField;
        
        private System.Nullable<decimal> valorCompraField;
        
        private bool valorCompraFieldSpecified;
        
        private System.Nullable<decimal> valorVendaField;
        
        private bool valorVendaFieldSpecified;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> AliquotaIcmsPaf {
            get {
                return this.aliquotaIcmsPafField;
            }
            set {
                this.aliquotaIcmsPafField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool AliquotaIcmsPafSpecified {
            get {
                return this.aliquotaIcmsPafFieldSpecified;
            }
            set {
                this.aliquotaIcmsPafFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> AliquotaIssqnPaf {
            get {
                return this.aliquotaIssqnPafField;
            }
            set {
                this.aliquotaIssqnPafField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool AliquotaIssqnPafSpecified {
            get {
                return this.aliquotaIssqnPafFieldSpecified;
            }
            set {
                this.aliquotaIssqnPafFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public AlmoxarifadoDTO Almoxarifado {
            get {
                return this.almoxarifadoField;
            }
            set {
                this.almoxarifadoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string ClasseAbc {
            get {
                return this.classeAbcField;
            }
            set {
                this.classeAbcField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> CodigoBalanca {
            get {
                return this.codigoBalancaField;
            }
            set {
                this.codigoBalancaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool CodigoBalancaSpecified {
            get {
                return this.codigoBalancaFieldSpecified;
            }
            set {
                this.codigoBalancaFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string CodigoInterno {
            get {
                return this.codigoInternoField;
            }
            set {
                this.codigoInternoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string CodigoLst {
            get {
                return this.codigoLstField;
            }
            set {
                this.codigoLstField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> CustoMedioLiquido {
            get {
                return this.custoMedioLiquidoField;
            }
            set {
                this.custoMedioLiquidoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool CustoMedioLiquidoSpecified {
            get {
                return this.custoMedioLiquidoFieldSpecified;
            }
            set {
                this.custoMedioLiquidoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataAlteracao {
            get {
                return this.dataAlteracaoField;
            }
            set {
                this.dataAlteracaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataAlteracaoSpecified {
            get {
                return this.dataAlteracaoFieldSpecified;
            }
            set {
                this.dataAlteracaoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataCadastro {
            get {
                return this.dataCadastroField;
            }
            set {
                this.dataCadastroField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataCadastroSpecified {
            get {
                return this.dataCadastroFieldSpecified;
            }
            set {
                this.dataCadastroFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Descricao {
            get {
                return this.descricaoField;
            }
            set {
                this.descricaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string DescricaoPdv {
            get {
                return this.descricaoPdvField;
            }
            set {
                this.descricaoPdvField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> EstoqueIdeal {
            get {
                return this.estoqueIdealField;
            }
            set {
                this.estoqueIdealField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool EstoqueIdealSpecified {
            get {
                return this.estoqueIdealFieldSpecified;
            }
            set {
                this.estoqueIdealFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> EstoqueMaximo {
            get {
                return this.estoqueMaximoField;
            }
            set {
                this.estoqueMaximoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool EstoqueMaximoSpecified {
            get {
                return this.estoqueMaximoFieldSpecified;
            }
            set {
                this.estoqueMaximoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> EstoqueMinimo {
            get {
                return this.estoqueMinimoField;
            }
            set {
                this.estoqueMinimoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool EstoqueMinimoSpecified {
            get {
                return this.estoqueMinimoFieldSpecified;
            }
            set {
                this.estoqueMinimoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string ExTipi {
            get {
                return this.exTipiField;
            }
            set {
                this.exTipiField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Excluido {
            get {
                return this.excluidoField;
            }
            set {
                this.excluidoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string FotoProduto {
            get {
                return this.fotoProdutoField;
            }
            set {
                this.fotoProdutoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Gtin {
            get {
                return this.gtinField;
            }
            set {
                this.gtinField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Iat {
            get {
                return this.iatField;
            }
            set {
                this.iatField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Inativo {
            get {
                return this.inativoField;
            }
            set {
                this.inativoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Ippt {
            get {
                return this.ipptField;
            }
            set {
                this.ipptField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> LoteEconomicoCompra {
            get {
                return this.loteEconomicoCompraField;
            }
            set {
                this.loteEconomicoCompraField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool LoteEconomicoCompraSpecified {
            get {
                return this.loteEconomicoCompraFieldSpecified;
            }
            set {
                this.loteEconomicoCompraFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> Markup {
            get {
                return this.markupField;
            }
            set {
                this.markupField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool MarkupSpecified {
            get {
                return this.markupFieldSpecified;
            }
            set {
                this.markupFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Ncm {
            get {
                return this.ncmField;
            }
            set {
                this.ncmField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Nome {
            get {
                return this.nomeField;
            }
            set {
                this.nomeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> Peso {
            get {
                return this.pesoField;
            }
            set {
                this.pesoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool PesoSpecified {
            get {
                return this.pesoFieldSpecified;
            }
            set {
                this.pesoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> PontoPedido {
            get {
                return this.pontoPedidoField;
            }
            set {
                this.pontoPedidoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool PontoPedidoSpecified {
            get {
                return this.pontoPedidoFieldSpecified;
            }
            set {
                this.pontoPedidoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> PorcentoComissao {
            get {
                return this.porcentoComissaoField;
            }
            set {
                this.porcentoComissaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool PorcentoComissaoSpecified {
            get {
                return this.porcentoComissaoFieldSpecified;
            }
            set {
                this.porcentoComissaoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> PrecoLucroMaximo {
            get {
                return this.precoLucroMaximoField;
            }
            set {
                this.precoLucroMaximoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool PrecoLucroMaximoSpecified {
            get {
                return this.precoLucroMaximoFieldSpecified;
            }
            set {
                this.precoLucroMaximoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> PrecoLucroMinimo {
            get {
                return this.precoLucroMinimoField;
            }
            set {
                this.precoLucroMinimoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool PrecoLucroMinimoSpecified {
            get {
                return this.precoLucroMinimoFieldSpecified;
            }
            set {
                this.precoLucroMinimoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> PrecoLucroZero {
            get {
                return this.precoLucroZeroField;
            }
            set {
                this.precoLucroZeroField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool PrecoLucroZeroSpecified {
            get {
                return this.precoLucroZeroFieldSpecified;
            }
            set {
                this.precoLucroZeroFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> PrecoSugerido {
            get {
                return this.precoSugeridoField;
            }
            set {
                this.precoSugeridoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool PrecoSugeridoSpecified {
            get {
                return this.precoSugeridoFieldSpecified;
            }
            set {
                this.precoSugeridoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> PrecoVendaMinimo {
            get {
                return this.precoVendaMinimoField;
            }
            set {
                this.precoVendaMinimoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool PrecoVendaMinimoSpecified {
            get {
                return this.precoVendaMinimoFieldSpecified;
            }
            set {
                this.precoVendaMinimoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public ProdutoMarcaDTO ProdutoMarca {
            get {
                return this.produtoMarcaField;
            }
            set {
                this.produtoMarcaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public ProdutoSubGrupoDTO ProdutoSubGrupo {
            get {
                return this.produtoSubGrupoField;
            }
            set {
                this.produtoSubGrupoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> QuantidadeEstoque {
            get {
                return this.quantidadeEstoqueField;
            }
            set {
                this.quantidadeEstoqueField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool QuantidadeEstoqueSpecified {
            get {
                return this.quantidadeEstoqueFieldSpecified;
            }
            set {
                this.quantidadeEstoqueFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> QuantidadeEstoqueAnterior {
            get {
                return this.quantidadeEstoqueAnteriorField;
            }
            set {
                this.quantidadeEstoqueAnteriorField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool QuantidadeEstoqueAnteriorSpecified {
            get {
                return this.quantidadeEstoqueAnteriorFieldSpecified;
            }
            set {
                this.quantidadeEstoqueAnteriorFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Tipo {
            get {
                return this.tipoField;
            }
            set {
                this.tipoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string TipoItemSped {
            get {
                return this.tipoItemSpedField;
            }
            set {
                this.tipoItemSpedField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string TotalizadorParcial {
            get {
                return this.totalizadorParcialField;
            }
            set {
                this.totalizadorParcialField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public TributGrupoTributarioDTO TributGrupoTributario {
            get {
                return this.tributGrupoTributarioField;
            }
            set {
                this.tributGrupoTributarioField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public TributIcmsCustomCabDTO TributIcmsCustomCab {
            get {
                return this.tributIcmsCustomCabField;
            }
            set {
                this.tributIcmsCustomCabField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public UnidadeProdutoDTO UnidadeProduto {
            get {
                return this.unidadeProdutoField;
            }
            set {
                this.unidadeProdutoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorCompra {
            get {
                return this.valorCompraField;
            }
            set {
                this.valorCompraField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorCompraSpecified {
            get {
                return this.valorCompraFieldSpecified;
            }
            set {
                this.valorCompraFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorVenda {
            get {
                return this.valorVendaField;
            }
            set {
                this.valorVendaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorVendaSpecified {
            get {
                return this.valorVendaFieldSpecified;
            }
            set {
                this.valorVendaFieldSpecified = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class AlmoxarifadoDTO {
        
        private EmpresaDTO empresaField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string nomeField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public EmpresaDTO Empresa {
            get {
                return this.empresaField;
            }
            set {
                this.empresaField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Nome {
            get {
                return this.nomeField;
            }
            set {
                this.nomeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class EmpresaDTO {
        
        private System.Nullable<decimal> aliquotaCofinsField;
        
        private bool aliquotaCofinsFieldSpecified;
        
        private System.Nullable<decimal> aliquotaPisField;
        
        private bool aliquotaPisFieldSpecified;
        
        private System.Nullable<decimal> aliquotaSatField;
        
        private bool aliquotaSatFieldSpecified;
        
        private string ceiField;
        
        private string cnpjField;
        
        private string codigoCnaePrincipalField;
        
        private System.Nullable<int> codigoGpsField;
        
        private bool codigoGpsFieldSpecified;
        
        private System.Nullable<int> codigoIbgeCidadeField;
        
        private bool codigoIbgeCidadeFieldSpecified;
        
        private System.Nullable<int> codigoIbgeUfField;
        
        private bool codigoIbgeUfFieldSpecified;
        
        private System.Nullable<int> codigoTerceirosField;
        
        private bool codigoTerceirosFieldSpecified;
        
        private ContadorDTO contadorField;
        
        private string crtField;
        
        private System.Nullable<System.DateTime> dataCadastroField;
        
        private bool dataCadastroFieldSpecified;
        
        private System.Nullable<System.DateTime> dataInicioAtividadesField;
        
        private bool dataInicioAtividadesFieldSpecified;
        
        private System.Nullable<System.DateTime> dataInscJuntaComercialField;
        
        private bool dataInscJuntaComercialFieldSpecified;
        
        private string emailField;
        
        private EmpresaDTO empresaField;
        
        private string empresaContatoField;
        
        private EmpresaEnderecoDTO enderecoPrincipalField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string imagemLogotipoField;
        
        private string inscricaoEstadualField;
        
        private string inscricaoEstadualStField;
        
        private string inscricaoJuntaComercialField;
        
        private string inscricaoMunicipalField;
        
        private EmpresaEnderecoDTO[] listaEnderecoField;
        
        private string nomeFantasiaField;
        
        private string razaoSocialField;
        
        private string suframaField;
        
        private string tipoField;
        
        private string tipoControleEstoqueField;
        
        private string tipoRegimeField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> AliquotaCofins {
            get {
                return this.aliquotaCofinsField;
            }
            set {
                this.aliquotaCofinsField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool AliquotaCofinsSpecified {
            get {
                return this.aliquotaCofinsFieldSpecified;
            }
            set {
                this.aliquotaCofinsFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> AliquotaPis {
            get {
                return this.aliquotaPisField;
            }
            set {
                this.aliquotaPisField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool AliquotaPisSpecified {
            get {
                return this.aliquotaPisFieldSpecified;
            }
            set {
                this.aliquotaPisFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> AliquotaSat {
            get {
                return this.aliquotaSatField;
            }
            set {
                this.aliquotaSatField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool AliquotaSatSpecified {
            get {
                return this.aliquotaSatFieldSpecified;
            }
            set {
                this.aliquotaSatFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Cei {
            get {
                return this.ceiField;
            }
            set {
                this.ceiField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Cnpj {
            get {
                return this.cnpjField;
            }
            set {
                this.cnpjField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string CodigoCnaePrincipal {
            get {
                return this.codigoCnaePrincipalField;
            }
            set {
                this.codigoCnaePrincipalField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> CodigoGps {
            get {
                return this.codigoGpsField;
            }
            set {
                this.codigoGpsField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool CodigoGpsSpecified {
            get {
                return this.codigoGpsFieldSpecified;
            }
            set {
                this.codigoGpsFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> CodigoIbgeCidade {
            get {
                return this.codigoIbgeCidadeField;
            }
            set {
                this.codigoIbgeCidadeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool CodigoIbgeCidadeSpecified {
            get {
                return this.codigoIbgeCidadeFieldSpecified;
            }
            set {
                this.codigoIbgeCidadeFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> CodigoIbgeUf {
            get {
                return this.codigoIbgeUfField;
            }
            set {
                this.codigoIbgeUfField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool CodigoIbgeUfSpecified {
            get {
                return this.codigoIbgeUfFieldSpecified;
            }
            set {
                this.codigoIbgeUfFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> CodigoTerceiros {
            get {
                return this.codigoTerceirosField;
            }
            set {
                this.codigoTerceirosField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool CodigoTerceirosSpecified {
            get {
                return this.codigoTerceirosFieldSpecified;
            }
            set {
                this.codigoTerceirosFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public ContadorDTO Contador {
            get {
                return this.contadorField;
            }
            set {
                this.contadorField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Crt {
            get {
                return this.crtField;
            }
            set {
                this.crtField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataCadastro {
            get {
                return this.dataCadastroField;
            }
            set {
                this.dataCadastroField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataCadastroSpecified {
            get {
                return this.dataCadastroFieldSpecified;
            }
            set {
                this.dataCadastroFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataInicioAtividades {
            get {
                return this.dataInicioAtividadesField;
            }
            set {
                this.dataInicioAtividadesField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataInicioAtividadesSpecified {
            get {
                return this.dataInicioAtividadesFieldSpecified;
            }
            set {
                this.dataInicioAtividadesFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataInscJuntaComercial {
            get {
                return this.dataInscJuntaComercialField;
            }
            set {
                this.dataInscJuntaComercialField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataInscJuntaComercialSpecified {
            get {
                return this.dataInscJuntaComercialFieldSpecified;
            }
            set {
                this.dataInscJuntaComercialFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Email {
            get {
                return this.emailField;
            }
            set {
                this.emailField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public EmpresaDTO Empresa {
            get {
                return this.empresaField;
            }
            set {
                this.empresaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string EmpresaContato {
            get {
                return this.empresaContatoField;
            }
            set {
                this.empresaContatoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public EmpresaEnderecoDTO EnderecoPrincipal {
            get {
                return this.enderecoPrincipalField;
            }
            set {
                this.enderecoPrincipalField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string ImagemLogotipo {
            get {
                return this.imagemLogotipoField;
            }
            set {
                this.imagemLogotipoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string InscricaoEstadual {
            get {
                return this.inscricaoEstadualField;
            }
            set {
                this.inscricaoEstadualField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string InscricaoEstadualSt {
            get {
                return this.inscricaoEstadualStField;
            }
            set {
                this.inscricaoEstadualStField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string InscricaoJuntaComercial {
            get {
                return this.inscricaoJuntaComercialField;
            }
            set {
                this.inscricaoJuntaComercialField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string InscricaoMunicipal {
            get {
                return this.inscricaoMunicipalField;
            }
            set {
                this.inscricaoMunicipalField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        public EmpresaEnderecoDTO[] ListaEndereco {
            get {
                return this.listaEnderecoField;
            }
            set {
                this.listaEnderecoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string NomeFantasia {
            get {
                return this.nomeFantasiaField;
            }
            set {
                this.nomeFantasiaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string RazaoSocial {
            get {
                return this.razaoSocialField;
            }
            set {
                this.razaoSocialField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Suframa {
            get {
                return this.suframaField;
            }
            set {
                this.suframaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Tipo {
            get {
                return this.tipoField;
            }
            set {
                this.tipoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string TipoControleEstoque {
            get {
                return this.tipoControleEstoqueField;
            }
            set {
                this.tipoControleEstoqueField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string TipoRegime {
            get {
                return this.tipoRegimeField;
            }
            set {
                this.tipoRegimeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class ContadorDTO {
        
        private string bairroField;
        
        private string cepField;
        
        private string cidadeField;
        
        private string cnpjField;
        
        private string complementoField;
        
        private string cpfField;
        
        private string emailField;
        
        private string faxField;
        
        private string foneField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string inscricaoCrcField;
        
        private string logradouroField;
        
        private System.Nullable<int> municipioIbgeField;
        
        private bool municipioIbgeFieldSpecified;
        
        private string nomeField;
        
        private string numeroField;
        
        private string siteField;
        
        private string ufField;
        
        private string ufCrcField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Bairro {
            get {
                return this.bairroField;
            }
            set {
                this.bairroField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Cep {
            get {
                return this.cepField;
            }
            set {
                this.cepField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Cidade {
            get {
                return this.cidadeField;
            }
            set {
                this.cidadeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Cnpj {
            get {
                return this.cnpjField;
            }
            set {
                this.cnpjField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Complemento {
            get {
                return this.complementoField;
            }
            set {
                this.complementoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Cpf {
            get {
                return this.cpfField;
            }
            set {
                this.cpfField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Email {
            get {
                return this.emailField;
            }
            set {
                this.emailField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Fax {
            get {
                return this.faxField;
            }
            set {
                this.faxField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Fone {
            get {
                return this.foneField;
            }
            set {
                this.foneField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string InscricaoCrc {
            get {
                return this.inscricaoCrcField;
            }
            set {
                this.inscricaoCrcField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Logradouro {
            get {
                return this.logradouroField;
            }
            set {
                this.logradouroField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> MunicipioIbge {
            get {
                return this.municipioIbgeField;
            }
            set {
                this.municipioIbgeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool MunicipioIbgeSpecified {
            get {
                return this.municipioIbgeFieldSpecified;
            }
            set {
                this.municipioIbgeFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Nome {
            get {
                return this.nomeField;
            }
            set {
                this.nomeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Numero {
            get {
                return this.numeroField;
            }
            set {
                this.numeroField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Site {
            get {
                return this.siteField;
            }
            set {
                this.siteField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Uf {
            get {
                return this.ufField;
            }
            set {
                this.ufField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string UfCrc {
            get {
                return this.ufCrcField;
            }
            set {
                this.ufCrcField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class EmpresaEnderecoDTO {
        
        private string bairroField;
        
        private string cepField;
        
        private string cidadeField;
        
        private string cobrancaField;
        
        private string complementoField;
        
        private string correspondenciaField;
        
        private string entregaField;
        
        private string foneField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private int idEmpresaField;
        
        private bool idEmpresaFieldSpecified;
        
        private string logradouroField;
        
        private System.Nullable<int> municipioIbgeField;
        
        private bool municipioIbgeFieldSpecified;
        
        private string numeroField;
        
        private string principalField;
        
        private string ufField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Bairro {
            get {
                return this.bairroField;
            }
            set {
                this.bairroField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Cep {
            get {
                return this.cepField;
            }
            set {
                this.cepField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Cidade {
            get {
                return this.cidadeField;
            }
            set {
                this.cidadeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Cobranca {
            get {
                return this.cobrancaField;
            }
            set {
                this.cobrancaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Complemento {
            get {
                return this.complementoField;
            }
            set {
                this.complementoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Correspondencia {
            get {
                return this.correspondenciaField;
            }
            set {
                this.correspondenciaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Entrega {
            get {
                return this.entregaField;
            }
            set {
                this.entregaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Fone {
            get {
                return this.foneField;
            }
            set {
                this.foneField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public int IdEmpresa {
            get {
                return this.idEmpresaField;
            }
            set {
                this.idEmpresaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdEmpresaSpecified {
            get {
                return this.idEmpresaFieldSpecified;
            }
            set {
                this.idEmpresaFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Logradouro {
            get {
                return this.logradouroField;
            }
            set {
                this.logradouroField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> MunicipioIbge {
            get {
                return this.municipioIbgeField;
            }
            set {
                this.municipioIbgeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool MunicipioIbgeSpecified {
            get {
                return this.municipioIbgeFieldSpecified;
            }
            set {
                this.municipioIbgeFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Numero {
            get {
                return this.numeroField;
            }
            set {
                this.numeroField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Principal {
            get {
                return this.principalField;
            }
            set {
                this.principalField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Uf {
            get {
                return this.ufField;
            }
            set {
                this.ufField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class ProdutoMarcaDTO {
        
        private string descricaoField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string nomeField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Descricao {
            get {
                return this.descricaoField;
            }
            set {
                this.descricaoField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Nome {
            get {
                return this.nomeField;
            }
            set {
                this.nomeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class ProdutoSubGrupoDTO {
        
        private string descricaoField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string nomeField;
        
        private ProdutoGrupoDTO produtoGrupoField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Descricao {
            get {
                return this.descricaoField;
            }
            set {
                this.descricaoField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Nome {
            get {
                return this.nomeField;
            }
            set {
                this.nomeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public ProdutoGrupoDTO ProdutoGrupo {
            get {
                return this.produtoGrupoField;
            }
            set {
                this.produtoGrupoField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class ProdutoGrupoDTO {
        
        private string descricaoField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string nomeField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Descricao {
            get {
                return this.descricaoField;
            }
            set {
                this.descricaoField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Nome {
            get {
                return this.nomeField;
            }
            set {
                this.nomeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class TributGrupoTributarioDTO {
        
        private string descricaoField;
        
        private EmpresaDTO empresaField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string observacaoField;
        
        private string origemMercadoriaField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Descricao {
            get {
                return this.descricaoField;
            }
            set {
                this.descricaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public EmpresaDTO Empresa {
            get {
                return this.empresaField;
            }
            set {
                this.empresaField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Observacao {
            get {
                return this.observacaoField;
            }
            set {
                this.observacaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string OrigemMercadoria {
            get {
                return this.origemMercadoriaField;
            }
            set {
                this.origemMercadoriaField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class TributIcmsCustomCabDTO {
        
        private string descricaoField;
        
        private EmpresaDTO empresaField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string origemMercadoriaField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Descricao {
            get {
                return this.descricaoField;
            }
            set {
                this.descricaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public EmpresaDTO Empresa {
            get {
                return this.empresaField;
            }
            set {
                this.empresaField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string OrigemMercadoria {
            get {
                return this.origemMercadoriaField;
            }
            set {
                this.origemMercadoriaField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class UnidadeProdutoDTO {
        
        private string descricaoField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string podeFracionarField;
        
        private string siglaField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Descricao {
            get {
                return this.descricaoField;
            }
            set {
                this.descricaoField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string PodeFracionar {
            get {
                return this.podeFracionarField;
            }
            set {
                this.podeFracionarField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Sigla {
            get {
                return this.siglaField;
            }
            set {
                this.siglaField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class PreVendaCabecalhoDTO {
        
        private System.Nullable<decimal> acrescimoField;
        
        private bool acrescimoFieldSpecified;
        
        private System.Nullable<int> ccfField;
        
        private bool ccfFieldSpecified;
        
        private string cpfCnpjDestinatarioField;
        
        private System.Nullable<System.DateTime> dataEmissaoField;
        
        private bool dataEmissaoFieldSpecified;
        
        private System.Nullable<decimal> descontoField;
        
        private bool descontoFieldSpecified;
        
        private EmpresaDTO empresaField;
        
        private string horaEmissaoField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private PreVendaDetalheDTO[] listaPreVendaDetalheField;
        
        private string nomeDestinatarioField;
        
        private PessoaDTO pessoaField;
        
        private string situacaoField;
        
        private System.Nullable<decimal> subtotalField;
        
        private bool subtotalFieldSpecified;
        
        private System.Nullable<decimal> taxaAcrescimoField;
        
        private bool taxaAcrescimoFieldSpecified;
        
        private System.Nullable<decimal> taxaDescontoField;
        
        private bool taxaDescontoFieldSpecified;
        
        private System.Nullable<decimal> valorField;
        
        private bool valorFieldSpecified;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> Acrescimo {
            get {
                return this.acrescimoField;
            }
            set {
                this.acrescimoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool AcrescimoSpecified {
            get {
                return this.acrescimoFieldSpecified;
            }
            set {
                this.acrescimoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> Ccf {
            get {
                return this.ccfField;
            }
            set {
                this.ccfField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool CcfSpecified {
            get {
                return this.ccfFieldSpecified;
            }
            set {
                this.ccfFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string CpfCnpjDestinatario {
            get {
                return this.cpfCnpjDestinatarioField;
            }
            set {
                this.cpfCnpjDestinatarioField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataEmissao {
            get {
                return this.dataEmissaoField;
            }
            set {
                this.dataEmissaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataEmissaoSpecified {
            get {
                return this.dataEmissaoFieldSpecified;
            }
            set {
                this.dataEmissaoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> Desconto {
            get {
                return this.descontoField;
            }
            set {
                this.descontoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DescontoSpecified {
            get {
                return this.descontoFieldSpecified;
            }
            set {
                this.descontoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public EmpresaDTO Empresa {
            get {
                return this.empresaField;
            }
            set {
                this.empresaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string HoraEmissao {
            get {
                return this.horaEmissaoField;
            }
            set {
                this.horaEmissaoField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        public PreVendaDetalheDTO[] ListaPreVendaDetalhe {
            get {
                return this.listaPreVendaDetalheField;
            }
            set {
                this.listaPreVendaDetalheField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string NomeDestinatario {
            get {
                return this.nomeDestinatarioField;
            }
            set {
                this.nomeDestinatarioField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public PessoaDTO Pessoa {
            get {
                return this.pessoaField;
            }
            set {
                this.pessoaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Situacao {
            get {
                return this.situacaoField;
            }
            set {
                this.situacaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> Subtotal {
            get {
                return this.subtotalField;
            }
            set {
                this.subtotalField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool SubtotalSpecified {
            get {
                return this.subtotalFieldSpecified;
            }
            set {
                this.subtotalFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> TaxaAcrescimo {
            get {
                return this.taxaAcrescimoField;
            }
            set {
                this.taxaAcrescimoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool TaxaAcrescimoSpecified {
            get {
                return this.taxaAcrescimoFieldSpecified;
            }
            set {
                this.taxaAcrescimoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> TaxaDesconto {
            get {
                return this.taxaDescontoField;
            }
            set {
                this.taxaDescontoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool TaxaDescontoSpecified {
            get {
                return this.taxaDescontoFieldSpecified;
            }
            set {
                this.taxaDescontoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> Valor {
            get {
                return this.valorField;
            }
            set {
                this.valorField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorSpecified {
            get {
                return this.valorFieldSpecified;
            }
            set {
                this.valorFieldSpecified = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class PessoaDTO {
        
        private string clienteField;
        
        private string colaboradorField;
        
        private string emailField;
        
        private string fornecedorField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string nomeField;
        
        private string siteField;
        
        private string tipoField;
        
        private string transportadoraField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Cliente {
            get {
                return this.clienteField;
            }
            set {
                this.clienteField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Colaborador {
            get {
                return this.colaboradorField;
            }
            set {
                this.colaboradorField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Email {
            get {
                return this.emailField;
            }
            set {
                this.emailField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Fornecedor {
            get {
                return this.fornecedorField;
            }
            set {
                this.fornecedorField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Nome {
            get {
                return this.nomeField;
            }
            set {
                this.nomeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Site {
            get {
                return this.siteField;
            }
            set {
                this.siteField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Tipo {
            get {
                return this.tipoField;
            }
            set {
                this.tipoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Transportadora {
            get {
                return this.transportadoraField;
            }
            set {
                this.transportadoraField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class DavDetalheDTO {
        
        private string canceladoField;
        
        private System.Nullable<System.DateTime> dataEmissaoField;
        
        private bool dataEmissaoFieldSpecified;
        
        private string gtinProdutoField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private int idDavCabecalhoField;
        
        private bool idDavCabecalhoFieldSpecified;
        
        private System.Nullable<int> itemField;
        
        private bool itemFieldSpecified;
        
        private string logssField;
        
        private string mesclaProdutoField;
        
        private string nomeProdutoField;
        
        private string numeroDavField;
        
        private ProdutoDTO produtoField;
        
        private System.Nullable<decimal> quantidadeField;
        
        private bool quantidadeFieldSpecified;
        
        private string totalizadorParcialField;
        
        private string unidadeProdutoField;
        
        private System.Nullable<decimal> valorTotalField;
        
        private bool valorTotalFieldSpecified;
        
        private System.Nullable<decimal> valorUnitarioField;
        
        private bool valorUnitarioFieldSpecified;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Cancelado {
            get {
                return this.canceladoField;
            }
            set {
                this.canceladoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataEmissao {
            get {
                return this.dataEmissaoField;
            }
            set {
                this.dataEmissaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataEmissaoSpecified {
            get {
                return this.dataEmissaoFieldSpecified;
            }
            set {
                this.dataEmissaoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string GtinProduto {
            get {
                return this.gtinProdutoField;
            }
            set {
                this.gtinProdutoField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public int IdDavCabecalho {
            get {
                return this.idDavCabecalhoField;
            }
            set {
                this.idDavCabecalhoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdDavCabecalhoSpecified {
            get {
                return this.idDavCabecalhoFieldSpecified;
            }
            set {
                this.idDavCabecalhoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> Item {
            get {
                return this.itemField;
            }
            set {
                this.itemField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ItemSpecified {
            get {
                return this.itemFieldSpecified;
            }
            set {
                this.itemFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Logss {
            get {
                return this.logssField;
            }
            set {
                this.logssField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string MesclaProduto {
            get {
                return this.mesclaProdutoField;
            }
            set {
                this.mesclaProdutoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string NomeProduto {
            get {
                return this.nomeProdutoField;
            }
            set {
                this.nomeProdutoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string NumeroDav {
            get {
                return this.numeroDavField;
            }
            set {
                this.numeroDavField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public ProdutoDTO Produto {
            get {
                return this.produtoField;
            }
            set {
                this.produtoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> Quantidade {
            get {
                return this.quantidadeField;
            }
            set {
                this.quantidadeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool QuantidadeSpecified {
            get {
                return this.quantidadeFieldSpecified;
            }
            set {
                this.quantidadeFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string TotalizadorParcial {
            get {
                return this.totalizadorParcialField;
            }
            set {
                this.totalizadorParcialField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string UnidadeProduto {
            get {
                return this.unidadeProdutoField;
            }
            set {
                this.unidadeProdutoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorTotal {
            get {
                return this.valorTotalField;
            }
            set {
                this.valorTotalField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorTotalSpecified {
            get {
                return this.valorTotalFieldSpecified;
            }
            set {
                this.valorTotalFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorUnitario {
            get {
                return this.valorUnitarioField;
            }
            set {
                this.valorUnitarioField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorUnitarioSpecified {
            get {
                return this.valorUnitarioFieldSpecified;
            }
            set {
                this.valorUnitarioFieldSpecified = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class DavCabecalhoDTO {
        
        private System.Nullable<decimal> acrescimoField;
        
        private bool acrescimoFieldSpecified;
        
        private System.Nullable<int> ccfField;
        
        private bool ccfFieldSpecified;
        
        private System.Nullable<int> cooField;
        
        private bool cooFieldSpecified;
        
        private string cpfCnpjDestinatarioField;
        
        private System.Nullable<System.DateTime> dataEmissaoField;
        
        private bool dataEmissaoFieldSpecified;
        
        private System.Nullable<decimal> descontoField;
        
        private bool descontoFieldSpecified;
        
        private EmpresaDTO empresaField;
        
        private string horaEmissaoField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string impressoField;
        
        private DavDetalheDTO[] listaDavDetalheField;
        
        private string logssField;
        
        private string nomeDestinatarioField;
        
        private string numeroDavField;
        
        private string numeroEcfField;
        
        private PessoaDTO pessoaField;
        
        private string situacaoField;
        
        private System.Nullable<decimal> subtotalField;
        
        private bool subtotalFieldSpecified;
        
        private System.Nullable<decimal> taxaAcrescimoField;
        
        private bool taxaAcrescimoFieldSpecified;
        
        private System.Nullable<decimal> taxaDescontoField;
        
        private bool taxaDescontoFieldSpecified;
        
        private System.Nullable<decimal> valorField;
        
        private bool valorFieldSpecified;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> Acrescimo {
            get {
                return this.acrescimoField;
            }
            set {
                this.acrescimoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool AcrescimoSpecified {
            get {
                return this.acrescimoFieldSpecified;
            }
            set {
                this.acrescimoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> Ccf {
            get {
                return this.ccfField;
            }
            set {
                this.ccfField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool CcfSpecified {
            get {
                return this.ccfFieldSpecified;
            }
            set {
                this.ccfFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> Coo {
            get {
                return this.cooField;
            }
            set {
                this.cooField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool CooSpecified {
            get {
                return this.cooFieldSpecified;
            }
            set {
                this.cooFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string CpfCnpjDestinatario {
            get {
                return this.cpfCnpjDestinatarioField;
            }
            set {
                this.cpfCnpjDestinatarioField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataEmissao {
            get {
                return this.dataEmissaoField;
            }
            set {
                this.dataEmissaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataEmissaoSpecified {
            get {
                return this.dataEmissaoFieldSpecified;
            }
            set {
                this.dataEmissaoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> Desconto {
            get {
                return this.descontoField;
            }
            set {
                this.descontoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DescontoSpecified {
            get {
                return this.descontoFieldSpecified;
            }
            set {
                this.descontoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public EmpresaDTO Empresa {
            get {
                return this.empresaField;
            }
            set {
                this.empresaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string HoraEmissao {
            get {
                return this.horaEmissaoField;
            }
            set {
                this.horaEmissaoField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Impresso {
            get {
                return this.impressoField;
            }
            set {
                this.impressoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
        public DavDetalheDTO[] ListaDavDetalhe {
            get {
                return this.listaDavDetalheField;
            }
            set {
                this.listaDavDetalheField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Logss {
            get {
                return this.logssField;
            }
            set {
                this.logssField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string NomeDestinatario {
            get {
                return this.nomeDestinatarioField;
            }
            set {
                this.nomeDestinatarioField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string NumeroDav {
            get {
                return this.numeroDavField;
            }
            set {
                this.numeroDavField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string NumeroEcf {
            get {
                return this.numeroEcfField;
            }
            set {
                this.numeroEcfField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public PessoaDTO Pessoa {
            get {
                return this.pessoaField;
            }
            set {
                this.pessoaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Situacao {
            get {
                return this.situacaoField;
            }
            set {
                this.situacaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> Subtotal {
            get {
                return this.subtotalField;
            }
            set {
                this.subtotalField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool SubtotalSpecified {
            get {
                return this.subtotalFieldSpecified;
            }
            set {
                this.subtotalFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> TaxaAcrescimo {
            get {
                return this.taxaAcrescimoField;
            }
            set {
                this.taxaAcrescimoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool TaxaAcrescimoSpecified {
            get {
                return this.taxaAcrescimoFieldSpecified;
            }
            set {
                this.taxaAcrescimoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> TaxaDesconto {
            get {
                return this.taxaDescontoField;
            }
            set {
                this.taxaDescontoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool TaxaDescontoSpecified {
            get {
                return this.taxaDescontoFieldSpecified;
            }
            set {
                this.taxaDescontoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> Valor {
            get {
                return this.valorField;
            }
            set {
                this.valorField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorSpecified {
            get {
                return this.valorFieldSpecified;
            }
            set {
                this.valorFieldSpecified = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class TransportadoraDTO {
        
        private System.Nullable<System.DateTime> dataCadastroField;
        
        private bool dataCadastroFieldSpecified;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string observacaoField;
        
        private PessoaDTO pessoaField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataCadastro {
            get {
                return this.dataCadastroField;
            }
            set {
                this.dataCadastroField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataCadastroSpecified {
            get {
                return this.dataCadastroFieldSpecified;
            }
            set {
                this.dataCadastroFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Observacao {
            get {
                return this.observacaoField;
            }
            set {
                this.observacaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public PessoaDTO Pessoa {
            get {
                return this.pessoaField;
            }
            set {
                this.pessoaField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class VendaCabecalhoDTO {
        
        private ClienteDTO clienteField;
        
        private System.Nullable<System.DateTime> dataSaidaField;
        
        private bool dataSaidaFieldSpecified;
        
        private System.Nullable<System.DateTime> dataVendaField;
        
        private bool dataVendaFieldSpecified;
        
        private string formaPagamentoField;
        
        private string horaSaidaField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string localCobrancaField;
        
        private string localEntregaField;
        
        private System.Nullable<int> numeroFaturaField;
        
        private bool numeroFaturaFieldSpecified;
        
        private string observacaoField;
        
        private string situacaoField;
        
        private System.Nullable<decimal> taxaComissaoField;
        
        private bool taxaComissaoFieldSpecified;
        
        private System.Nullable<decimal> taxaDescontoField;
        
        private bool taxaDescontoFieldSpecified;
        
        private string tipoFreteField;
        
        private TransportadoraDTO transportadoraField;
        
        private System.Nullable<decimal> valorComissaoField;
        
        private bool valorComissaoFieldSpecified;
        
        private System.Nullable<decimal> valorDescontoField;
        
        private bool valorDescontoFieldSpecified;
        
        private System.Nullable<decimal> valorFreteField;
        
        private bool valorFreteFieldSpecified;
        
        private System.Nullable<decimal> valorSeguroField;
        
        private bool valorSeguroFieldSpecified;
        
        private System.Nullable<decimal> valorSubtotalField;
        
        private bool valorSubtotalFieldSpecified;
        
        private System.Nullable<decimal> valorTotalField;
        
        private bool valorTotalFieldSpecified;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public ClienteDTO Cliente {
            get {
                return this.clienteField;
            }
            set {
                this.clienteField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataSaida {
            get {
                return this.dataSaidaField;
            }
            set {
                this.dataSaidaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataSaidaSpecified {
            get {
                return this.dataSaidaFieldSpecified;
            }
            set {
                this.dataSaidaFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataVenda {
            get {
                return this.dataVendaField;
            }
            set {
                this.dataVendaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataVendaSpecified {
            get {
                return this.dataVendaFieldSpecified;
            }
            set {
                this.dataVendaFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string FormaPagamento {
            get {
                return this.formaPagamentoField;
            }
            set {
                this.formaPagamentoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string HoraSaida {
            get {
                return this.horaSaidaField;
            }
            set {
                this.horaSaidaField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string LocalCobranca {
            get {
                return this.localCobrancaField;
            }
            set {
                this.localCobrancaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string LocalEntrega {
            get {
                return this.localEntregaField;
            }
            set {
                this.localEntregaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> NumeroFatura {
            get {
                return this.numeroFaturaField;
            }
            set {
                this.numeroFaturaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool NumeroFaturaSpecified {
            get {
                return this.numeroFaturaFieldSpecified;
            }
            set {
                this.numeroFaturaFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Observacao {
            get {
                return this.observacaoField;
            }
            set {
                this.observacaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Situacao {
            get {
                return this.situacaoField;
            }
            set {
                this.situacaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> TaxaComissao {
            get {
                return this.taxaComissaoField;
            }
            set {
                this.taxaComissaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool TaxaComissaoSpecified {
            get {
                return this.taxaComissaoFieldSpecified;
            }
            set {
                this.taxaComissaoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> TaxaDesconto {
            get {
                return this.taxaDescontoField;
            }
            set {
                this.taxaDescontoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool TaxaDescontoSpecified {
            get {
                return this.taxaDescontoFieldSpecified;
            }
            set {
                this.taxaDescontoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string TipoFrete {
            get {
                return this.tipoFreteField;
            }
            set {
                this.tipoFreteField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public TransportadoraDTO Transportadora {
            get {
                return this.transportadoraField;
            }
            set {
                this.transportadoraField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorComissao {
            get {
                return this.valorComissaoField;
            }
            set {
                this.valorComissaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorComissaoSpecified {
            get {
                return this.valorComissaoFieldSpecified;
            }
            set {
                this.valorComissaoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorDesconto {
            get {
                return this.valorDescontoField;
            }
            set {
                this.valorDescontoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorDescontoSpecified {
            get {
                return this.valorDescontoFieldSpecified;
            }
            set {
                this.valorDescontoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorFrete {
            get {
                return this.valorFreteField;
            }
            set {
                this.valorFreteField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorFreteSpecified {
            get {
                return this.valorFreteFieldSpecified;
            }
            set {
                this.valorFreteFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorSeguro {
            get {
                return this.valorSeguroField;
            }
            set {
                this.valorSeguroField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorSeguroSpecified {
            get {
                return this.valorSeguroFieldSpecified;
            }
            set {
                this.valorSeguroFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorSubtotal {
            get {
                return this.valorSubtotalField;
            }
            set {
                this.valorSubtotalField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorSubtotalSpecified {
            get {
                return this.valorSubtotalFieldSpecified;
            }
            set {
                this.valorSubtotalFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorTotal {
            get {
                return this.valorTotalField;
            }
            set {
                this.valorTotalField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorTotalSpecified {
            get {
                return this.valorTotalFieldSpecified;
            }
            set {
                this.valorTotalFieldSpecified = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class ClienteDTO {
        
        private AtividadeForCliDTO atividadeForCliField;
        
        private string contaTomadorField;
        
        private System.Nullable<System.DateTime> dataCadastroField;
        
        private bool dataCadastroFieldSpecified;
        
        private System.Nullable<System.DateTime> desdeField;
        
        private bool desdeFieldSpecified;
        
        private string formaDescontoField;
        
        private string geraFinanceiroField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string indicadorPrecoField;
        
        private System.Nullable<decimal> limiteCreditoField;
        
        private bool limiteCreditoFieldSpecified;
        
        private string observacaoField;
        
        private PessoaDTO pessoaField;
        
        private System.Nullable<decimal> porcentoDescontoField;
        
        private bool porcentoDescontoFieldSpecified;
        
        private SituacaoForCliDTO situacaoForCliField;
        
        private string tipoFreteField;
        
        private TributOperacaoFiscalDTO tributOperacaoFiscalField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public AtividadeForCliDTO AtividadeForCli {
            get {
                return this.atividadeForCliField;
            }
            set {
                this.atividadeForCliField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string ContaTomador {
            get {
                return this.contaTomadorField;
            }
            set {
                this.contaTomadorField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataCadastro {
            get {
                return this.dataCadastroField;
            }
            set {
                this.dataCadastroField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataCadastroSpecified {
            get {
                return this.dataCadastroFieldSpecified;
            }
            set {
                this.dataCadastroFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> Desde {
            get {
                return this.desdeField;
            }
            set {
                this.desdeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DesdeSpecified {
            get {
                return this.desdeFieldSpecified;
            }
            set {
                this.desdeFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string FormaDesconto {
            get {
                return this.formaDescontoField;
            }
            set {
                this.formaDescontoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string GeraFinanceiro {
            get {
                return this.geraFinanceiroField;
            }
            set {
                this.geraFinanceiroField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string IndicadorPreco {
            get {
                return this.indicadorPrecoField;
            }
            set {
                this.indicadorPrecoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> LimiteCredito {
            get {
                return this.limiteCreditoField;
            }
            set {
                this.limiteCreditoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool LimiteCreditoSpecified {
            get {
                return this.limiteCreditoFieldSpecified;
            }
            set {
                this.limiteCreditoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Observacao {
            get {
                return this.observacaoField;
            }
            set {
                this.observacaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public PessoaDTO Pessoa {
            get {
                return this.pessoaField;
            }
            set {
                this.pessoaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> PorcentoDesconto {
            get {
                return this.porcentoDescontoField;
            }
            set {
                this.porcentoDescontoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool PorcentoDescontoSpecified {
            get {
                return this.porcentoDescontoFieldSpecified;
            }
            set {
                this.porcentoDescontoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public SituacaoForCliDTO SituacaoForCli {
            get {
                return this.situacaoForCliField;
            }
            set {
                this.situacaoForCliField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string TipoFrete {
            get {
                return this.tipoFreteField;
            }
            set {
                this.tipoFreteField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public TributOperacaoFiscalDTO TributOperacaoFiscal {
            get {
                return this.tributOperacaoFiscalField;
            }
            set {
                this.tributOperacaoFiscalField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class AtividadeForCliDTO {
        
        private string descricaoField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string nomeField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Descricao {
            get {
                return this.descricaoField;
            }
            set {
                this.descricaoField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Nome {
            get {
                return this.nomeField;
            }
            set {
                this.nomeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class SituacaoForCliDTO {
        
        private string descricaoField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string nomeField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Descricao {
            get {
                return this.descricaoField;
            }
            set {
                this.descricaoField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Nome {
            get {
                return this.nomeField;
            }
            set {
                this.nomeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class TributOperacaoFiscalDTO {
        
        private int cfopField;
        
        private bool cfopFieldSpecified;
        
        private string descricaoField;
        
        private string descricaoNaNfField;
        
        private EmpresaDTO empresaField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string observacaoField;
        
        /// <remarks/>
        public int Cfop {
            get {
                return this.cfopField;
            }
            set {
                this.cfopField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool CfopSpecified {
            get {
                return this.cfopFieldSpecified;
            }
            set {
                this.cfopFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Descricao {
            get {
                return this.descricaoField;
            }
            set {
                this.descricaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string DescricaoNaNf {
            get {
                return this.descricaoNaNfField;
            }
            set {
                this.descricaoNaNfField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public EmpresaDTO Empresa {
            get {
                return this.empresaField;
            }
            set {
                this.empresaField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Observacao {
            get {
                return this.observacaoField;
            }
            set {
                this.observacaoField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class FornecedorDTO {
        
        private AtividadeForCliDTO atividadeForCliField;
        
        private string chequeNominalAField;
        
        private string contaRemetenteField;
        
        private System.Nullable<System.DateTime> dataCadastroField;
        
        private bool dataCadastroFieldSpecified;
        
        private System.Nullable<System.DateTime> desdeField;
        
        private bool desdeFieldSpecified;
        
        private string geraFaturamentoField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private string localizacaoField;
        
        private System.Nullable<int> numDiasIntervaloField;
        
        private bool numDiasIntervaloFieldSpecified;
        
        private System.Nullable<int> numDiasPrimeiroVencimentoField;
        
        private bool numDiasPrimeiroVencimentoFieldSpecified;
        
        private string observacaoField;
        
        private string optanteSimplesNacionalField;
        
        private PessoaDTO pessoaField;
        
        private System.Nullable<int> prazoMedioEntregaField;
        
        private bool prazoMedioEntregaFieldSpecified;
        
        private System.Nullable<int> quantidadeParcelasField;
        
        private bool quantidadeParcelasFieldSpecified;
        
        private SituacaoForCliDTO situacaoForCliField;
        
        private string sofreRetencaoField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public AtividadeForCliDTO AtividadeForCli {
            get {
                return this.atividadeForCliField;
            }
            set {
                this.atividadeForCliField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string ChequeNominalA {
            get {
                return this.chequeNominalAField;
            }
            set {
                this.chequeNominalAField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string ContaRemetente {
            get {
                return this.contaRemetenteField;
            }
            set {
                this.contaRemetenteField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataCadastro {
            get {
                return this.dataCadastroField;
            }
            set {
                this.dataCadastroField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataCadastroSpecified {
            get {
                return this.dataCadastroFieldSpecified;
            }
            set {
                this.dataCadastroFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> Desde {
            get {
                return this.desdeField;
            }
            set {
                this.desdeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DesdeSpecified {
            get {
                return this.desdeFieldSpecified;
            }
            set {
                this.desdeFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string GeraFaturamento {
            get {
                return this.geraFaturamentoField;
            }
            set {
                this.geraFaturamentoField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Localizacao {
            get {
                return this.localizacaoField;
            }
            set {
                this.localizacaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> NumDiasIntervalo {
            get {
                return this.numDiasIntervaloField;
            }
            set {
                this.numDiasIntervaloField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool NumDiasIntervaloSpecified {
            get {
                return this.numDiasIntervaloFieldSpecified;
            }
            set {
                this.numDiasIntervaloFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> NumDiasPrimeiroVencimento {
            get {
                return this.numDiasPrimeiroVencimentoField;
            }
            set {
                this.numDiasPrimeiroVencimentoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool NumDiasPrimeiroVencimentoSpecified {
            get {
                return this.numDiasPrimeiroVencimentoFieldSpecified;
            }
            set {
                this.numDiasPrimeiroVencimentoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Observacao {
            get {
                return this.observacaoField;
            }
            set {
                this.observacaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string OptanteSimplesNacional {
            get {
                return this.optanteSimplesNacionalField;
            }
            set {
                this.optanteSimplesNacionalField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public PessoaDTO Pessoa {
            get {
                return this.pessoaField;
            }
            set {
                this.pessoaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> PrazoMedioEntrega {
            get {
                return this.prazoMedioEntregaField;
            }
            set {
                this.prazoMedioEntregaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool PrazoMedioEntregaSpecified {
            get {
                return this.prazoMedioEntregaFieldSpecified;
            }
            set {
                this.prazoMedioEntregaFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> QuantidadeParcelas {
            get {
                return this.quantidadeParcelasField;
            }
            set {
                this.quantidadeParcelasField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool QuantidadeParcelasSpecified {
            get {
                return this.quantidadeParcelasFieldSpecified;
            }
            set {
                this.quantidadeParcelasFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public SituacaoForCliDTO SituacaoForCli {
            get {
                return this.situacaoForCliField;
            }
            set {
                this.situacaoForCliField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string SofreRetencao {
            get {
                return this.sofreRetencaoField;
            }
            set {
                this.sofreRetencaoField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/Servidor.Model")]
    public partial class NfeCabecalhoDTO {
        
        private System.Nullable<int> ambienteField;
        
        private bool ambienteFieldSpecified;
        
        private System.Nullable<decimal> baseCalculoIcmsField;
        
        private bool baseCalculoIcmsFieldSpecified;
        
        private System.Nullable<decimal> baseCalculoIcmsStField;
        
        private bool baseCalculoIcmsStFieldSpecified;
        
        private System.Nullable<decimal> baseCalculoIrrfField;
        
        private bool baseCalculoIrrfFieldSpecified;
        
        private System.Nullable<decimal> baseCalculoIssqnField;
        
        private bool baseCalculoIssqnFieldSpecified;
        
        private System.Nullable<decimal> baseCalculoPrevidenciaField;
        
        private bool baseCalculoPrevidenciaFieldSpecified;
        
        private string chaveAcessoField;
        
        private ClienteDTO clienteField;
        
        private string codigoModeloField;
        
        private System.Nullable<int> codigoMunicipioField;
        
        private bool codigoMunicipioFieldSpecified;
        
        private string codigoNumericoField;
        
        private string comexLocalDespachoField;
        
        private string comexLocalEmbarqueField;
        
        private string comexUfEmbarqueField;
        
        private string compraContratoField;
        
        private string compraNotaEmpenhoField;
        
        private string compraPedidoField;
        
        private System.Nullable<int> consumidorOperacaoField;
        
        private bool consumidorOperacaoFieldSpecified;
        
        private System.Nullable<int> consumidorPresencaField;
        
        private bool consumidorPresencaFieldSpecified;
        
        private System.Nullable<System.DateTime> dataEntradaContingenciaField;
        
        private bool dataEntradaContingenciaFieldSpecified;
        
        private System.Nullable<System.DateTime> dataHoraEmissaoField;
        
        private bool dataHoraEmissaoFieldSpecified;
        
        private System.Nullable<System.DateTime> dataHoraEntradaSaidaField;
        
        private bool dataHoraEntradaSaidaFieldSpecified;
        
        private System.Nullable<System.DateTime> dataPrestacaoServicoField;
        
        private bool dataPrestacaoServicoFieldSpecified;
        
        private System.Nullable<decimal> descontoCondicionadoIssqnField;
        
        private bool descontoCondicionadoIssqnFieldSpecified;
        
        private System.Nullable<decimal> descontoIncondicionadoIssqnField;
        
        private bool descontoIncondicionadoIssqnFieldSpecified;
        
        private string digitoChaveAcessoField;
        
        private EmpresaDTO empresaField;
        
        private System.Nullable<int> finalidadeEmissaoField;
        
        private bool finalidadeEmissaoFieldSpecified;
        
        private System.Nullable<int> formatoImpressaoDanfeField;
        
        private bool formatoImpressaoDanfeFieldSpecified;
        
        private FornecedorDTO fornecedorField;
        
        private int idField;
        
        private bool idFieldSpecified;
        
        private System.Nullable<int> indicadorFormaPagamentoField;
        
        private bool indicadorFormaPagamentoFieldSpecified;
        
        private string informacoesAddContribuinteField;
        
        private string informacoesAddFiscoField;
        
        private string justificativaContingenciaField;
        
        private System.Nullable<int> localDestinoField;
        
        private bool localDestinoFieldSpecified;
        
        private string naturezaOperacaoField;
        
        private string numeroField;
        
        private System.Nullable<decimal> outrasRetencoesIssqnField;
        
        private bool outrasRetencoesIssqnFieldSpecified;
        
        private System.Nullable<int> processoEmissaoField;
        
        private bool processoEmissaoFieldSpecified;
        
        private System.Nullable<int> regimeEspecialTributacaoField;
        
        private bool regimeEspecialTributacaoFieldSpecified;
        
        private string serieField;
        
        private System.Nullable<int> statusNotaField;
        
        private bool statusNotaFieldSpecified;
        
        private System.Nullable<int> tipoEmissaoField;
        
        private bool tipoEmissaoFieldSpecified;
        
        private System.Nullable<int> tipoOperacaoField;
        
        private bool tipoOperacaoFieldSpecified;
        
        private System.Nullable<decimal> totalRetencaoIssqnField;
        
        private bool totalRetencaoIssqnFieldSpecified;
        
        private TributOperacaoFiscalDTO tributOperacaoFiscalField;
        
        private System.Nullable<int> ufEmitenteField;
        
        private bool ufEmitenteFieldSpecified;
        
        private System.Nullable<decimal> valorCofinsField;
        
        private bool valorCofinsFieldSpecified;
        
        private System.Nullable<decimal> valorCofinsIssqnField;
        
        private bool valorCofinsIssqnFieldSpecified;
        
        private System.Nullable<decimal> valorDeducaoIssqnField;
        
        private bool valorDeducaoIssqnFieldSpecified;
        
        private System.Nullable<decimal> valorDescontoField;
        
        private bool valorDescontoFieldSpecified;
        
        private System.Nullable<decimal> valorDespesasAcessoriasField;
        
        private bool valorDespesasAcessoriasFieldSpecified;
        
        private System.Nullable<decimal> valorFreteField;
        
        private bool valorFreteFieldSpecified;
        
        private System.Nullable<decimal> valorIcmsField;
        
        private bool valorIcmsFieldSpecified;
        
        private System.Nullable<decimal> valorIcmsDesoneradoField;
        
        private bool valorIcmsDesoneradoFieldSpecified;
        
        private System.Nullable<decimal> valorIcmsStField;
        
        private bool valorIcmsStFieldSpecified;
        
        private System.Nullable<decimal> valorImpostoImportacaoField;
        
        private bool valorImpostoImportacaoFieldSpecified;
        
        private System.Nullable<decimal> valorIpiField;
        
        private bool valorIpiFieldSpecified;
        
        private System.Nullable<decimal> valorIssqnField;
        
        private bool valorIssqnFieldSpecified;
        
        private System.Nullable<decimal> valorPisField;
        
        private bool valorPisFieldSpecified;
        
        private System.Nullable<decimal> valorPisIssqnField;
        
        private bool valorPisIssqnFieldSpecified;
        
        private System.Nullable<decimal> valorRetidoCofinsField;
        
        private bool valorRetidoCofinsFieldSpecified;
        
        private System.Nullable<decimal> valorRetidoCsllField;
        
        private bool valorRetidoCsllFieldSpecified;
        
        private System.Nullable<decimal> valorRetidoIrrfField;
        
        private bool valorRetidoIrrfFieldSpecified;
        
        private System.Nullable<decimal> valorRetidoPisField;
        
        private bool valorRetidoPisFieldSpecified;
        
        private System.Nullable<decimal> valorRetidoPrevidenciaField;
        
        private bool valorRetidoPrevidenciaFieldSpecified;
        
        private System.Nullable<decimal> valorSeguroField;
        
        private bool valorSeguroFieldSpecified;
        
        private System.Nullable<decimal> valorServicosField;
        
        private bool valorServicosFieldSpecified;
        
        private System.Nullable<decimal> valorTotalField;
        
        private bool valorTotalFieldSpecified;
        
        private System.Nullable<decimal> valorTotalProdutosField;
        
        private bool valorTotalProdutosFieldSpecified;
        
        private VendaCabecalhoDTO vendaCabecalhoField;
        
        private string versaoProcessoEmissaoField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> Ambiente {
            get {
                return this.ambienteField;
            }
            set {
                this.ambienteField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool AmbienteSpecified {
            get {
                return this.ambienteFieldSpecified;
            }
            set {
                this.ambienteFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> BaseCalculoIcms {
            get {
                return this.baseCalculoIcmsField;
            }
            set {
                this.baseCalculoIcmsField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool BaseCalculoIcmsSpecified {
            get {
                return this.baseCalculoIcmsFieldSpecified;
            }
            set {
                this.baseCalculoIcmsFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> BaseCalculoIcmsSt {
            get {
                return this.baseCalculoIcmsStField;
            }
            set {
                this.baseCalculoIcmsStField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool BaseCalculoIcmsStSpecified {
            get {
                return this.baseCalculoIcmsStFieldSpecified;
            }
            set {
                this.baseCalculoIcmsStFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> BaseCalculoIrrf {
            get {
                return this.baseCalculoIrrfField;
            }
            set {
                this.baseCalculoIrrfField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool BaseCalculoIrrfSpecified {
            get {
                return this.baseCalculoIrrfFieldSpecified;
            }
            set {
                this.baseCalculoIrrfFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> BaseCalculoIssqn {
            get {
                return this.baseCalculoIssqnField;
            }
            set {
                this.baseCalculoIssqnField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool BaseCalculoIssqnSpecified {
            get {
                return this.baseCalculoIssqnFieldSpecified;
            }
            set {
                this.baseCalculoIssqnFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> BaseCalculoPrevidencia {
            get {
                return this.baseCalculoPrevidenciaField;
            }
            set {
                this.baseCalculoPrevidenciaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool BaseCalculoPrevidenciaSpecified {
            get {
                return this.baseCalculoPrevidenciaFieldSpecified;
            }
            set {
                this.baseCalculoPrevidenciaFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string ChaveAcesso {
            get {
                return this.chaveAcessoField;
            }
            set {
                this.chaveAcessoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public ClienteDTO Cliente {
            get {
                return this.clienteField;
            }
            set {
                this.clienteField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string CodigoModelo {
            get {
                return this.codigoModeloField;
            }
            set {
                this.codigoModeloField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> CodigoMunicipio {
            get {
                return this.codigoMunicipioField;
            }
            set {
                this.codigoMunicipioField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool CodigoMunicipioSpecified {
            get {
                return this.codigoMunicipioFieldSpecified;
            }
            set {
                this.codigoMunicipioFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string CodigoNumerico {
            get {
                return this.codigoNumericoField;
            }
            set {
                this.codigoNumericoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string ComexLocalDespacho {
            get {
                return this.comexLocalDespachoField;
            }
            set {
                this.comexLocalDespachoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string ComexLocalEmbarque {
            get {
                return this.comexLocalEmbarqueField;
            }
            set {
                this.comexLocalEmbarqueField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string ComexUfEmbarque {
            get {
                return this.comexUfEmbarqueField;
            }
            set {
                this.comexUfEmbarqueField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string CompraContrato {
            get {
                return this.compraContratoField;
            }
            set {
                this.compraContratoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string CompraNotaEmpenho {
            get {
                return this.compraNotaEmpenhoField;
            }
            set {
                this.compraNotaEmpenhoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string CompraPedido {
            get {
                return this.compraPedidoField;
            }
            set {
                this.compraPedidoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> ConsumidorOperacao {
            get {
                return this.consumidorOperacaoField;
            }
            set {
                this.consumidorOperacaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ConsumidorOperacaoSpecified {
            get {
                return this.consumidorOperacaoFieldSpecified;
            }
            set {
                this.consumidorOperacaoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> ConsumidorPresenca {
            get {
                return this.consumidorPresencaField;
            }
            set {
                this.consumidorPresencaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ConsumidorPresencaSpecified {
            get {
                return this.consumidorPresencaFieldSpecified;
            }
            set {
                this.consumidorPresencaFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataEntradaContingencia {
            get {
                return this.dataEntradaContingenciaField;
            }
            set {
                this.dataEntradaContingenciaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataEntradaContingenciaSpecified {
            get {
                return this.dataEntradaContingenciaFieldSpecified;
            }
            set {
                this.dataEntradaContingenciaFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataHoraEmissao {
            get {
                return this.dataHoraEmissaoField;
            }
            set {
                this.dataHoraEmissaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataHoraEmissaoSpecified {
            get {
                return this.dataHoraEmissaoFieldSpecified;
            }
            set {
                this.dataHoraEmissaoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataHoraEntradaSaida {
            get {
                return this.dataHoraEntradaSaidaField;
            }
            set {
                this.dataHoraEntradaSaidaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataHoraEntradaSaidaSpecified {
            get {
                return this.dataHoraEntradaSaidaFieldSpecified;
            }
            set {
                this.dataHoraEntradaSaidaFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<System.DateTime> DataPrestacaoServico {
            get {
                return this.dataPrestacaoServicoField;
            }
            set {
                this.dataPrestacaoServicoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DataPrestacaoServicoSpecified {
            get {
                return this.dataPrestacaoServicoFieldSpecified;
            }
            set {
                this.dataPrestacaoServicoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> DescontoCondicionadoIssqn {
            get {
                return this.descontoCondicionadoIssqnField;
            }
            set {
                this.descontoCondicionadoIssqnField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DescontoCondicionadoIssqnSpecified {
            get {
                return this.descontoCondicionadoIssqnFieldSpecified;
            }
            set {
                this.descontoCondicionadoIssqnFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> DescontoIncondicionadoIssqn {
            get {
                return this.descontoIncondicionadoIssqnField;
            }
            set {
                this.descontoIncondicionadoIssqnField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DescontoIncondicionadoIssqnSpecified {
            get {
                return this.descontoIncondicionadoIssqnFieldSpecified;
            }
            set {
                this.descontoIncondicionadoIssqnFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string DigitoChaveAcesso {
            get {
                return this.digitoChaveAcessoField;
            }
            set {
                this.digitoChaveAcessoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public EmpresaDTO Empresa {
            get {
                return this.empresaField;
            }
            set {
                this.empresaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> FinalidadeEmissao {
            get {
                return this.finalidadeEmissaoField;
            }
            set {
                this.finalidadeEmissaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool FinalidadeEmissaoSpecified {
            get {
                return this.finalidadeEmissaoFieldSpecified;
            }
            set {
                this.finalidadeEmissaoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> FormatoImpressaoDanfe {
            get {
                return this.formatoImpressaoDanfeField;
            }
            set {
                this.formatoImpressaoDanfeField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool FormatoImpressaoDanfeSpecified {
            get {
                return this.formatoImpressaoDanfeFieldSpecified;
            }
            set {
                this.formatoImpressaoDanfeFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public FornecedorDTO Fornecedor {
            get {
                return this.fornecedorField;
            }
            set {
                this.fornecedorField = value;
            }
        }
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IdSpecified {
            get {
                return this.idFieldSpecified;
            }
            set {
                this.idFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> IndicadorFormaPagamento {
            get {
                return this.indicadorFormaPagamentoField;
            }
            set {
                this.indicadorFormaPagamentoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IndicadorFormaPagamentoSpecified {
            get {
                return this.indicadorFormaPagamentoFieldSpecified;
            }
            set {
                this.indicadorFormaPagamentoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string InformacoesAddContribuinte {
            get {
                return this.informacoesAddContribuinteField;
            }
            set {
                this.informacoesAddContribuinteField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string InformacoesAddFisco {
            get {
                return this.informacoesAddFiscoField;
            }
            set {
                this.informacoesAddFiscoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string JustificativaContingencia {
            get {
                return this.justificativaContingenciaField;
            }
            set {
                this.justificativaContingenciaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> LocalDestino {
            get {
                return this.localDestinoField;
            }
            set {
                this.localDestinoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool LocalDestinoSpecified {
            get {
                return this.localDestinoFieldSpecified;
            }
            set {
                this.localDestinoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string NaturezaOperacao {
            get {
                return this.naturezaOperacaoField;
            }
            set {
                this.naturezaOperacaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Numero {
            get {
                return this.numeroField;
            }
            set {
                this.numeroField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> OutrasRetencoesIssqn {
            get {
                return this.outrasRetencoesIssqnField;
            }
            set {
                this.outrasRetencoesIssqnField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool OutrasRetencoesIssqnSpecified {
            get {
                return this.outrasRetencoesIssqnFieldSpecified;
            }
            set {
                this.outrasRetencoesIssqnFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> ProcessoEmissao {
            get {
                return this.processoEmissaoField;
            }
            set {
                this.processoEmissaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ProcessoEmissaoSpecified {
            get {
                return this.processoEmissaoFieldSpecified;
            }
            set {
                this.processoEmissaoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> RegimeEspecialTributacao {
            get {
                return this.regimeEspecialTributacaoField;
            }
            set {
                this.regimeEspecialTributacaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool RegimeEspecialTributacaoSpecified {
            get {
                return this.regimeEspecialTributacaoFieldSpecified;
            }
            set {
                this.regimeEspecialTributacaoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string Serie {
            get {
                return this.serieField;
            }
            set {
                this.serieField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> StatusNota {
            get {
                return this.statusNotaField;
            }
            set {
                this.statusNotaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool StatusNotaSpecified {
            get {
                return this.statusNotaFieldSpecified;
            }
            set {
                this.statusNotaFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> TipoEmissao {
            get {
                return this.tipoEmissaoField;
            }
            set {
                this.tipoEmissaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool TipoEmissaoSpecified {
            get {
                return this.tipoEmissaoFieldSpecified;
            }
            set {
                this.tipoEmissaoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> TipoOperacao {
            get {
                return this.tipoOperacaoField;
            }
            set {
                this.tipoOperacaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool TipoOperacaoSpecified {
            get {
                return this.tipoOperacaoFieldSpecified;
            }
            set {
                this.tipoOperacaoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> TotalRetencaoIssqn {
            get {
                return this.totalRetencaoIssqnField;
            }
            set {
                this.totalRetencaoIssqnField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool TotalRetencaoIssqnSpecified {
            get {
                return this.totalRetencaoIssqnFieldSpecified;
            }
            set {
                this.totalRetencaoIssqnFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public TributOperacaoFiscalDTO TributOperacaoFiscal {
            get {
                return this.tributOperacaoFiscalField;
            }
            set {
                this.tributOperacaoFiscalField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<int> UfEmitente {
            get {
                return this.ufEmitenteField;
            }
            set {
                this.ufEmitenteField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool UfEmitenteSpecified {
            get {
                return this.ufEmitenteFieldSpecified;
            }
            set {
                this.ufEmitenteFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorCofins {
            get {
                return this.valorCofinsField;
            }
            set {
                this.valorCofinsField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorCofinsSpecified {
            get {
                return this.valorCofinsFieldSpecified;
            }
            set {
                this.valorCofinsFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorCofinsIssqn {
            get {
                return this.valorCofinsIssqnField;
            }
            set {
                this.valorCofinsIssqnField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorCofinsIssqnSpecified {
            get {
                return this.valorCofinsIssqnFieldSpecified;
            }
            set {
                this.valorCofinsIssqnFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorDeducaoIssqn {
            get {
                return this.valorDeducaoIssqnField;
            }
            set {
                this.valorDeducaoIssqnField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorDeducaoIssqnSpecified {
            get {
                return this.valorDeducaoIssqnFieldSpecified;
            }
            set {
                this.valorDeducaoIssqnFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorDesconto {
            get {
                return this.valorDescontoField;
            }
            set {
                this.valorDescontoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorDescontoSpecified {
            get {
                return this.valorDescontoFieldSpecified;
            }
            set {
                this.valorDescontoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorDespesasAcessorias {
            get {
                return this.valorDespesasAcessoriasField;
            }
            set {
                this.valorDespesasAcessoriasField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorDespesasAcessoriasSpecified {
            get {
                return this.valorDespesasAcessoriasFieldSpecified;
            }
            set {
                this.valorDespesasAcessoriasFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorFrete {
            get {
                return this.valorFreteField;
            }
            set {
                this.valorFreteField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorFreteSpecified {
            get {
                return this.valorFreteFieldSpecified;
            }
            set {
                this.valorFreteFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorIcms {
            get {
                return this.valorIcmsField;
            }
            set {
                this.valorIcmsField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorIcmsSpecified {
            get {
                return this.valorIcmsFieldSpecified;
            }
            set {
                this.valorIcmsFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorIcmsDesonerado {
            get {
                return this.valorIcmsDesoneradoField;
            }
            set {
                this.valorIcmsDesoneradoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorIcmsDesoneradoSpecified {
            get {
                return this.valorIcmsDesoneradoFieldSpecified;
            }
            set {
                this.valorIcmsDesoneradoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorIcmsSt {
            get {
                return this.valorIcmsStField;
            }
            set {
                this.valorIcmsStField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorIcmsStSpecified {
            get {
                return this.valorIcmsStFieldSpecified;
            }
            set {
                this.valorIcmsStFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorImpostoImportacao {
            get {
                return this.valorImpostoImportacaoField;
            }
            set {
                this.valorImpostoImportacaoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorImpostoImportacaoSpecified {
            get {
                return this.valorImpostoImportacaoFieldSpecified;
            }
            set {
                this.valorImpostoImportacaoFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorIpi {
            get {
                return this.valorIpiField;
            }
            set {
                this.valorIpiField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorIpiSpecified {
            get {
                return this.valorIpiFieldSpecified;
            }
            set {
                this.valorIpiFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorIssqn {
            get {
                return this.valorIssqnField;
            }
            set {
                this.valorIssqnField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorIssqnSpecified {
            get {
                return this.valorIssqnFieldSpecified;
            }
            set {
                this.valorIssqnFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorPis {
            get {
                return this.valorPisField;
            }
            set {
                this.valorPisField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorPisSpecified {
            get {
                return this.valorPisFieldSpecified;
            }
            set {
                this.valorPisFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorPisIssqn {
            get {
                return this.valorPisIssqnField;
            }
            set {
                this.valorPisIssqnField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorPisIssqnSpecified {
            get {
                return this.valorPisIssqnFieldSpecified;
            }
            set {
                this.valorPisIssqnFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorRetidoCofins {
            get {
                return this.valorRetidoCofinsField;
            }
            set {
                this.valorRetidoCofinsField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorRetidoCofinsSpecified {
            get {
                return this.valorRetidoCofinsFieldSpecified;
            }
            set {
                this.valorRetidoCofinsFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorRetidoCsll {
            get {
                return this.valorRetidoCsllField;
            }
            set {
                this.valorRetidoCsllField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorRetidoCsllSpecified {
            get {
                return this.valorRetidoCsllFieldSpecified;
            }
            set {
                this.valorRetidoCsllFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorRetidoIrrf {
            get {
                return this.valorRetidoIrrfField;
            }
            set {
                this.valorRetidoIrrfField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorRetidoIrrfSpecified {
            get {
                return this.valorRetidoIrrfFieldSpecified;
            }
            set {
                this.valorRetidoIrrfFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorRetidoPis {
            get {
                return this.valorRetidoPisField;
            }
            set {
                this.valorRetidoPisField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorRetidoPisSpecified {
            get {
                return this.valorRetidoPisFieldSpecified;
            }
            set {
                this.valorRetidoPisFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorRetidoPrevidencia {
            get {
                return this.valorRetidoPrevidenciaField;
            }
            set {
                this.valorRetidoPrevidenciaField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorRetidoPrevidenciaSpecified {
            get {
                return this.valorRetidoPrevidenciaFieldSpecified;
            }
            set {
                this.valorRetidoPrevidenciaFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorSeguro {
            get {
                return this.valorSeguroField;
            }
            set {
                this.valorSeguroField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorSeguroSpecified {
            get {
                return this.valorSeguroFieldSpecified;
            }
            set {
                this.valorSeguroFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorServicos {
            get {
                return this.valorServicosField;
            }
            set {
                this.valorServicosField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorServicosSpecified {
            get {
                return this.valorServicosFieldSpecified;
            }
            set {
                this.valorServicosFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorTotal {
            get {
                return this.valorTotalField;
            }
            set {
                this.valorTotalField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorTotalSpecified {
            get {
                return this.valorTotalFieldSpecified;
            }
            set {
                this.valorTotalFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public System.Nullable<decimal> ValorTotalProdutos {
            get {
                return this.valorTotalProdutosField;
            }
            set {
                this.valorTotalProdutosField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ValorTotalProdutosSpecified {
            get {
                return this.valorTotalProdutosFieldSpecified;
            }
            set {
                this.valorTotalProdutosFieldSpecified = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public VendaCabecalhoDTO VendaCabecalho {
            get {
                return this.vendaCabecalhoField;
            }
            set {
                this.vendaCabecalhoField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string VersaoProcessoEmissao {
            get {
                return this.versaoProcessoEmissaoField;
            }
            set {
                this.versaoProcessoEmissaoField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(Stream))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(MemoryStream))]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/System")]
    public partial class MarshalByRefObject {
        
        private object @__identityField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public object @__identity {
            get {
                return this.@__identityField;
            }
            set {
                this.@__identityField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(MemoryStream))]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/System.IO")]
    public partial class Stream : MarshalByRefObject {
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.datacontract.org/2004/07/System.IO")]
    public partial class MemoryStream : Stream {
        
        private byte[] _bufferField;
        
        private int _capacityField;
        
        private bool _expandableField;
        
        private bool _exposableField;
        
        private bool _isOpenField;
        
        private int _lengthField;
        
        private int _originField;
        
        private int _positionField;
        
        private bool _writableField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", IsNullable=true)]
        public byte[] _buffer {
            get {
                return this._bufferField;
            }
            set {
                this._bufferField = value;
            }
        }
        
        /// <remarks/>
        public int _capacity {
            get {
                return this._capacityField;
            }
            set {
                this._capacityField = value;
            }
        }
        
        /// <remarks/>
        public bool _expandable {
            get {
                return this._expandableField;
            }
            set {
                this._expandableField = value;
            }
        }
        
        /// <remarks/>
        public bool _exposable {
            get {
                return this._exposableField;
            }
            set {
                this._exposableField = value;
            }
        }
        
        /// <remarks/>
        public bool _isOpen {
            get {
                return this._isOpenField;
            }
            set {
                this._isOpenField = value;
            }
        }
        
        /// <remarks/>
        public int _length {
            get {
                return this._lengthField;
            }
            set {
                this._lengthField = value;
            }
        }
        
        /// <remarks/>
        public int _origin {
            get {
                return this._originField;
            }
            set {
                this._originField = value;
            }
        }
        
        /// <remarks/>
        public int _position {
            get {
                return this._positionField;
            }
            set {
                this._positionField = value;
            }
        }
        
        /// <remarks/>
        public bool _writable {
            get {
                return this._writableField;
            }
            set {
                this._writableField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void GerarSpedCompletedEventHandler(object sender, GerarSpedCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GerarSpedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GerarSpedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public ArquivoDTO Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((ArquivoDTO)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void GerarSintegraCompletedEventHandler(object sender, GerarSintegraCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GerarSintegraCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GerarSintegraCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public ArquivoDTO Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((ArquivoDTO)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectEmpresaCompletedEventHandler(object sender, SelectEmpresaCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectEmpresaCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectEmpresaCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public EmpresaDTO[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((EmpresaDTO[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectEmpresaPaginaCompletedEventHandler(object sender, SelectEmpresaPaginaCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectEmpresaPaginaCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectEmpresaPaginaCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public EmpresaDTO[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((EmpresaDTO[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectContadorCompletedEventHandler(object sender, SelectContadorCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectContadorCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectContadorCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public ContadorDTO[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((ContadorDTO[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectContadorPaginaCompletedEventHandler(object sender, SelectContadorPaginaCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectContadorPaginaCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectContadorPaginaCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public ContadorDTO[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((ContadorDTO[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectUnidadeProdutoCompletedEventHandler(object sender, SelectUnidadeProdutoCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectUnidadeProdutoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectUnidadeProdutoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public UnidadeProdutoDTO[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((UnidadeProdutoDTO[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectUnidadeProdutoPaginaCompletedEventHandler(object sender, SelectUnidadeProdutoPaginaCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectUnidadeProdutoPaginaCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectUnidadeProdutoPaginaCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public UnidadeProdutoDTO[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((UnidadeProdutoDTO[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectProdutoCompletedEventHandler(object sender, SelectProdutoCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectProdutoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectProdutoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public ProdutoDTO[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((ProdutoDTO[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectProdutoPaginaCompletedEventHandler(object sender, SelectProdutoPaginaCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectProdutoPaginaCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectProdutoPaginaCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public ProdutoDTO[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((ProdutoDTO[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectNfeCabecalhoCompletedEventHandler(object sender, SelectNfeCabecalhoCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectNfeCabecalhoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectNfeCabecalhoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public NfeCabecalhoDTO[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((NfeCabecalhoDTO[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectNfeCabecalhoPaginaCompletedEventHandler(object sender, SelectNfeCabecalhoPaginaCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectNfeCabecalhoPaginaCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectNfeCabecalhoPaginaCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public NfeCabecalhoDTO[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((NfeCabecalhoDTO[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void DeleteDavCabecalhoCompletedEventHandler(object sender, DeleteDavCabecalhoCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class DeleteDavCabecalhoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal DeleteDavCabecalhoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public int DeleteDavCabecalhoResult {
            get {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
        
        /// <remarks/>
        public bool DeleteDavCabecalhoResultSpecified {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SalvarAtualizarDavCabecalhoCompletedEventHandler(object sender, SalvarAtualizarDavCabecalhoCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SalvarAtualizarDavCabecalhoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SalvarAtualizarDavCabecalhoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public DavCabecalhoDTO Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((DavCabecalhoDTO)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectDavCabecalhoCompletedEventHandler(object sender, SelectDavCabecalhoCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectDavCabecalhoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectDavCabecalhoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public DavCabecalhoDTO[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((DavCabecalhoDTO[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectDavCabecalhoPaginaCompletedEventHandler(object sender, SelectDavCabecalhoPaginaCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectDavCabecalhoPaginaCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectDavCabecalhoPaginaCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public DavCabecalhoDTO[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((DavCabecalhoDTO[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectObjetoDavCabecalhoCompletedEventHandler(object sender, SelectObjetoDavCabecalhoCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectObjetoDavCabecalhoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectObjetoDavCabecalhoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public DavCabecalhoDTO Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((DavCabecalhoDTO)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void DeletePreVendaCabecalhoCompletedEventHandler(object sender, DeletePreVendaCabecalhoCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class DeletePreVendaCabecalhoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal DeletePreVendaCabecalhoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public int DeletePreVendaCabecalhoResult {
            get {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
        
        /// <remarks/>
        public bool DeletePreVendaCabecalhoResultSpecified {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SalvarAtualizarPreVendaCabecalhoCompletedEventHandler(object sender, SalvarAtualizarPreVendaCabecalhoCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SalvarAtualizarPreVendaCabecalhoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SalvarAtualizarPreVendaCabecalhoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public PreVendaCabecalhoDTO Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((PreVendaCabecalhoDTO)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectPreVendaCabecalhoCompletedEventHandler(object sender, SelectPreVendaCabecalhoCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectPreVendaCabecalhoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectPreVendaCabecalhoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public PreVendaCabecalhoDTO[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((PreVendaCabecalhoDTO[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectPreVendaCabecalhoPaginaCompletedEventHandler(object sender, SelectPreVendaCabecalhoPaginaCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectPreVendaCabecalhoPaginaCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectPreVendaCabecalhoPaginaCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public PreVendaCabecalhoDTO[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((PreVendaCabecalhoDTO[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectObjetoPreVendaCabecalhoCompletedEventHandler(object sender, SelectObjetoPreVendaCabecalhoCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectObjetoPreVendaCabecalhoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectObjetoPreVendaCabecalhoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public PreVendaCabecalhoDTO Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((PreVendaCabecalhoDTO)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    public delegate void SelectUsuarioCompletedEventHandler(object sender, SelectUsuarioCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SelectUsuarioCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SelectUsuarioCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public UsuarioDTO Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((UsuarioDTO)(this.results[0]));
            }
        }
    }
}

#pragma warning restore 1591