//------------------------------------------------------------------------------
// <auto-generated>
//     Este código fue generado por una herramienta.
//     Versión de runtime:4.0.30319.18034
//
//     Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
//     se vuelve a generar el código.
// </auto-generated>
//------------------------------------------------------------------------------

namespace bajaWare.InterfacesServicesPermisos {
    using System.Runtime.Serialization;
    using System;
    
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="PermisoObjeto", Namespace="http://schemas.datacontract.org/2004/07/HCM.BusinessEntities")]
    [System.SerializableAttribute()]
    public partial class PermisoObjeto : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool bObjetoVisibleField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private short shObjetoIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private short sintObjetoPadreField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private short sintOrdenField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string vchNombreObjetoField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string vchObjetoField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool bObjetoVisible {
            get {
                return this.bObjetoVisibleField;
            }
            set {
                if ((this.bObjetoVisibleField.Equals(value) != true)) {
                    this.bObjetoVisibleField = value;
                    this.RaisePropertyChanged("bObjetoVisible");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public short shObjetoID {
            get {
                return this.shObjetoIDField;
            }
            set {
                if ((this.shObjetoIDField.Equals(value) != true)) {
                    this.shObjetoIDField = value;
                    this.RaisePropertyChanged("shObjetoID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public short sintObjetoPadre {
            get {
                return this.sintObjetoPadreField;
            }
            set {
                if ((this.sintObjetoPadreField.Equals(value) != true)) {
                    this.sintObjetoPadreField = value;
                    this.RaisePropertyChanged("sintObjetoPadre");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public short sintOrden {
            get {
                return this.sintOrdenField;
            }
            set {
                if ((this.sintOrdenField.Equals(value) != true)) {
                    this.sintOrdenField = value;
                    this.RaisePropertyChanged("sintOrden");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string vchNombreObjeto {
            get {
                return this.vchNombreObjetoField;
            }
            set {
                if ((object.ReferenceEquals(this.vchNombreObjetoField, value) != true)) {
                    this.vchNombreObjetoField = value;
                    this.RaisePropertyChanged("vchNombreObjeto");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string vchObjeto {
            get {
                return this.vchObjetoField;
            }
            set {
                if ((object.ReferenceEquals(this.vchObjetoField, value) != true)) {
                    this.vchObjetoField = value;
                    this.RaisePropertyChanged("vchObjeto");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="InterfacesServicesPermisos.IinterfacesServicePermisos")]
    public interface IinterfacesServicePermisos {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IinterfacesServicePermisos/Consulta", ReplyAction="http://tempuri.org/IinterfacesServicePermisos/ConsultaResponse")]
        bajaWare.InterfacesServicesPermisos.PermisoObjeto[] Consulta(int idPerfil, string rutaApp);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IinterfacesServicePermisos/ObtieneRolSistema", ReplyAction="http://tempuri.org/IinterfacesServicePermisos/ObtieneRolSistemaResponse")]
        int ObtieneRolSistema(short shSistemaID, int intUsuarioID);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface IinterfacesServicePermisosChannel : bajaWare.InterfacesServicesPermisos.IinterfacesServicePermisos, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class IinterfacesServicePermisosClient : System.ServiceModel.ClientBase<bajaWare.InterfacesServicesPermisos.IinterfacesServicePermisos>, bajaWare.InterfacesServicesPermisos.IinterfacesServicePermisos {
        
        public IinterfacesServicePermisosClient() {
        }
        
        public IinterfacesServicePermisosClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public IinterfacesServicePermisosClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public IinterfacesServicePermisosClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public IinterfacesServicePermisosClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public bajaWare.InterfacesServicesPermisos.PermisoObjeto[] Consulta(int idPerfil, string rutaApp) {
            return base.Channel.Consulta(idPerfil, rutaApp);
        }
        
        public int ObtieneRolSistema(short shSistemaID, int intUsuarioID) {
            return base.Channel.ObtieneRolSistema(shSistemaID, intUsuarioID);
        }
    }
}
