//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:4.0.30319.42000
//
//     对此文件的更改可能会导致不正确的行为，并且如果
//     重新生成代码，这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

namespace ExternalDataSync.ESB_life {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(Namespace="http://zk.ws.epichust.com/", ConfigurationName="ESB_life.UrmRsBaseLifeInterface")]
    public interface UrmRsBaseLifeInterface {
        
        // CODEGEN: 参数“return”需要其他方案信息，使用参数模式无法捕获这些信息。特定特性为“System.Xml.Serialization.XmlElementAttribute”。
        [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
        ExternalDataSync.ESB_life.lifeResponse life(ExternalDataSync.ESB_life.life request);
        
        [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
        System.Threading.Tasks.Task<ExternalDataSync.ESB_life.lifeResponse> lifeAsync(ExternalDataSync.ESB_life.life request);
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
    public partial class interfaceRequestHeader : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string interfaceIDField;
        
        private string messageIDField;
        
        private string receiverField;
        
        private string senderField;
        
        private string transIDField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
        public string interfaceID {
            get {
                return this.interfaceIDField;
            }
            set {
                this.interfaceIDField = value;
                this.RaisePropertyChanged("interfaceID");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
        public string messageID {
            get {
                return this.messageIDField;
            }
            set {
                this.messageIDField = value;
                this.RaisePropertyChanged("messageID");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
        public string receiver {
            get {
                return this.receiverField;
            }
            set {
                this.receiverField = value;
                this.RaisePropertyChanged("receiver");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
        public string sender {
            get {
                return this.senderField;
            }
            set {
                this.senderField = value;
                this.RaisePropertyChanged("sender");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
        public string transID {
            get {
                return this.transIDField;
            }
            set {
                this.transIDField = value;
                this.RaisePropertyChanged("transID");
            }
        }
        
        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));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
    public partial class interfaceResponse : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string commentField;
        
        private string interfaceIDField;
        
        private string messageIDField;
        
        private string resultCodeField;
        
        private string resultMessageField;
        
        private string resultTypeField;
        
        private string transIDField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
        public string comment {
            get {
                return this.commentField;
            }
            set {
                this.commentField = value;
                this.RaisePropertyChanged("comment");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
        public string interfaceID {
            get {
                return this.interfaceIDField;
            }
            set {
                this.interfaceIDField = value;
                this.RaisePropertyChanged("interfaceID");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
        public string messageID {
            get {
                return this.messageIDField;
            }
            set {
                this.messageIDField = value;
                this.RaisePropertyChanged("messageID");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
        public string resultCode {
            get {
                return this.resultCodeField;
            }
            set {
                this.resultCodeField = value;
                this.RaisePropertyChanged("resultCode");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
        public string resultMessage {
            get {
                return this.resultMessageField;
            }
            set {
                this.resultMessageField = value;
                this.RaisePropertyChanged("resultMessage");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)]
        public string resultType {
            get {
                return this.resultTypeField;
            }
            set {
                this.resultTypeField = value;
                this.RaisePropertyChanged("resultType");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)]
        public string transID {
            get {
                return this.transIDField;
            }
            set {
                this.transIDField = value;
                this.RaisePropertyChanged("transID");
            }
        }
        
        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));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4161.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://zk.ws.epichust.com/")]
    public partial class baseLifeInfoTo : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string acqTimeField;
        
        private string dupField;
        
        private string equipCodeField;
        
        private string kpartCodeField;
        
        private string magField;
        
        private string placeField;
        
        private string proCodeField;
        
        private string siteField;
        
        private string toolAlarmField;
        
        private string toolCodeField;
        
        private string toolProductionField;
        
        private string toolResidualField;
        
        private string toolSetField;
        
        private string workCellCodeField;
        
        private string workCenterField;
        
        private string tNumberField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
        public string acqTime {
            get {
                return this.acqTimeField;
            }
            set {
                this.acqTimeField = value;
                this.RaisePropertyChanged("acqTime");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
        public string dup {
            get {
                return this.dupField;
            }
            set {
                this.dupField = value;
                this.RaisePropertyChanged("dup");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
        public string equipCode {
            get {
                return this.equipCodeField;
            }
            set {
                this.equipCodeField = value;
                this.RaisePropertyChanged("equipCode");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
        public string kpartCode {
            get {
                return this.kpartCodeField;
            }
            set {
                this.kpartCodeField = value;
                this.RaisePropertyChanged("kpartCode");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
        public string mag {
            get {
                return this.magField;
            }
            set {
                this.magField = value;
                this.RaisePropertyChanged("mag");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)]
        public string place {
            get {
                return this.placeField;
            }
            set {
                this.placeField = value;
                this.RaisePropertyChanged("place");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)]
        public string proCode {
            get {
                return this.proCodeField;
            }
            set {
                this.proCodeField = value;
                this.RaisePropertyChanged("proCode");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=7)]
        public string site {
            get {
                return this.siteField;
            }
            set {
                this.siteField = value;
                this.RaisePropertyChanged("site");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=8)]
        public string toolAlarm {
            get {
                return this.toolAlarmField;
            }
            set {
                this.toolAlarmField = value;
                this.RaisePropertyChanged("toolAlarm");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=9)]
        public string toolCode {
            get {
                return this.toolCodeField;
            }
            set {
                this.toolCodeField = value;
                this.RaisePropertyChanged("toolCode");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=10)]
        public string toolProduction {
            get {
                return this.toolProductionField;
            }
            set {
                this.toolProductionField = value;
                this.RaisePropertyChanged("toolProduction");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=11)]
        public string toolResidual {
            get {
                return this.toolResidualField;
            }
            set {
                this.toolResidualField = value;
                this.RaisePropertyChanged("toolResidual");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=12)]
        public string toolSet {
            get {
                return this.toolSetField;
            }
            set {
                this.toolSetField = value;
                this.RaisePropertyChanged("toolSet");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=13)]
        public string workCellCode {
            get {
                return this.workCellCodeField;
            }
            set {
                this.workCellCodeField = value;
                this.RaisePropertyChanged("workCellCode");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=14)]
        public string workCenter {
            get {
                return this.workCenterField;
            }
            set {
                this.workCenterField = value;
                this.RaisePropertyChanged("workCenter");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=15)]
        public string tNumber {
            get {
                return this.tNumberField;
            }
            set {
                this.tNumberField = value;
                this.RaisePropertyChanged("tNumber");
            }
        }
        
        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.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(WrapperName="life", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
    public partial class life {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public ExternalDataSync.ESB_life.interfaceRequestHeader arg0;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=1)]
        [System.Xml.Serialization.XmlElementAttribute("arg1", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public ExternalDataSync.ESB_life.baseLifeInfoTo[] arg1;
        
        public life() {
        }
        
        public life(ExternalDataSync.ESB_life.interfaceRequestHeader arg0, ExternalDataSync.ESB_life.baseLifeInfoTo[] arg1) {
            this.arg0 = arg0;
            this.arg1 = arg1;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(WrapperName="lifeResponse", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
    public partial class lifeResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public ExternalDataSync.ESB_life.interfaceResponse @return;
        
        public lifeResponse() {
        }
        
        public lifeResponse(ExternalDataSync.ESB_life.interfaceResponse @return) {
            this.@return = @return;
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface UrmRsBaseLifeInterfaceChannel : ExternalDataSync.ESB_life.UrmRsBaseLifeInterface, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class UrmRsBaseLifeInterfaceClient : System.ServiceModel.ClientBase<ExternalDataSync.ESB_life.UrmRsBaseLifeInterface>, ExternalDataSync.ESB_life.UrmRsBaseLifeInterface {
        
        public UrmRsBaseLifeInterfaceClient() {
        }
        
        public UrmRsBaseLifeInterfaceClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public UrmRsBaseLifeInterfaceClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public UrmRsBaseLifeInterfaceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public UrmRsBaseLifeInterfaceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        ExternalDataSync.ESB_life.lifeResponse ExternalDataSync.ESB_life.UrmRsBaseLifeInterface.life(ExternalDataSync.ESB_life.life request) {
            return base.Channel.life(request);
        }
        
        public ExternalDataSync.ESB_life.interfaceResponse life(ExternalDataSync.ESB_life.interfaceRequestHeader arg0, ExternalDataSync.ESB_life.baseLifeInfoTo[] arg1) {
            ExternalDataSync.ESB_life.life inValue = new ExternalDataSync.ESB_life.life();
            inValue.arg0 = arg0;
            inValue.arg1 = arg1;
            ExternalDataSync.ESB_life.lifeResponse retVal = ((ExternalDataSync.ESB_life.UrmRsBaseLifeInterface)(this)).life(inValue);
            return retVal.@return;
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.Threading.Tasks.Task<ExternalDataSync.ESB_life.lifeResponse> ExternalDataSync.ESB_life.UrmRsBaseLifeInterface.lifeAsync(ExternalDataSync.ESB_life.life request) {
            return base.Channel.lifeAsync(request);
        }
        
        public System.Threading.Tasks.Task<ExternalDataSync.ESB_life.lifeResponse> lifeAsync(ExternalDataSync.ESB_life.interfaceRequestHeader arg0, ExternalDataSync.ESB_life.baseLifeInfoTo[] arg1) {
            ExternalDataSync.ESB_life.life inValue = new ExternalDataSync.ESB_life.life();
            inValue.arg0 = arg0;
            inValue.arg1 = arg1;
            return ((ExternalDataSync.ESB_life.UrmRsBaseLifeInterface)(this)).lifeAsync(inValue);
        }
    }
}
