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

namespace ExternalDataSync.ESB_energy {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(Namespace="http://zk.ws.epichust.com/", ConfigurationName="ESB_energy.PctEnergyInfoInterface")]
    public interface PctEnergyInfoInterface {
        
        // CODEGEN: 参数“return”需要其他方案信息，使用参数模式无法捕获这些信息。特定特性为“System.Xml.Serialization.XmlElementAttribute”。
        [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
        ExternalDataSync.ESB_energy.energyResponse energy(ExternalDataSync.ESB_energy.energy request);
        
        [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
        System.Threading.Tasks.Task<ExternalDataSync.ESB_energy.energyResponse> energyAsync(ExternalDataSync.ESB_energy.energy 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 pctEnergyInfoTo : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string accrueNumField;
        
        private string energyTypeField;
        
        private string powerLevelField;
        
        private string powerLoadField;
        
        private string sourceCodeField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
        public string accrueNum {
            get {
                return this.accrueNumField;
            }
            set {
                this.accrueNumField = value;
                this.RaisePropertyChanged("accrueNum");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
        public string energyType {
            get {
                return this.energyTypeField;
            }
            set {
                this.energyTypeField = value;
                this.RaisePropertyChanged("energyType");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
        public string powerLevel {
            get {
                return this.powerLevelField;
            }
            set {
                this.powerLevelField = value;
                this.RaisePropertyChanged("powerLevel");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
        public string powerLoad {
            get {
                return this.powerLoadField;
            }
            set {
                this.powerLoadField = value;
                this.RaisePropertyChanged("powerLoad");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
        public string sourceCode {
            get {
                return this.sourceCodeField;
            }
            set {
                this.sourceCodeField = value;
                this.RaisePropertyChanged("sourceCode");
            }
        }
        
        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="energy", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
    public partial class energy {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public ExternalDataSync.ESB_energy.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_energy.pctEnergyInfoTo[] arg1;
        
        public energy() {
        }
        
        public energy(ExternalDataSync.ESB_energy.interfaceRequestHeader arg0, ExternalDataSync.ESB_energy.pctEnergyInfoTo[] 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="energyResponse", WrapperNamespace="http://zk.ws.epichust.com/", IsWrapped=true)]
    public partial class energyResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://zk.ws.epichust.com/", Order=0)]
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public ExternalDataSync.ESB_energy.interfaceResponse @return;
        
        public energyResponse() {
        }
        
        public energyResponse(ExternalDataSync.ESB_energy.interfaceResponse @return) {
            this.@return = @return;
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface PctEnergyInfoInterfaceChannel : ExternalDataSync.ESB_energy.PctEnergyInfoInterface, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class PctEnergyInfoInterfaceClient : System.ServiceModel.ClientBase<ExternalDataSync.ESB_energy.PctEnergyInfoInterface>, ExternalDataSync.ESB_energy.PctEnergyInfoInterface {
        
        public PctEnergyInfoInterfaceClient() {
        }
        
        public PctEnergyInfoInterfaceClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public PctEnergyInfoInterfaceClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public PctEnergyInfoInterfaceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public PctEnergyInfoInterfaceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        ExternalDataSync.ESB_energy.energyResponse ExternalDataSync.ESB_energy.PctEnergyInfoInterface.energy(ExternalDataSync.ESB_energy.energy request) {
            return base.Channel.energy(request);
        }
        
        public ExternalDataSync.ESB_energy.interfaceResponse energy(ExternalDataSync.ESB_energy.interfaceRequestHeader arg0, ExternalDataSync.ESB_energy.pctEnergyInfoTo[] arg1) {
            ExternalDataSync.ESB_energy.energy inValue = new ExternalDataSync.ESB_energy.energy();
            inValue.arg0 = arg0;
            inValue.arg1 = arg1;
            ExternalDataSync.ESB_energy.energyResponse retVal = ((ExternalDataSync.ESB_energy.PctEnergyInfoInterface)(this)).energy(inValue);
            return retVal.@return;
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.Threading.Tasks.Task<ExternalDataSync.ESB_energy.energyResponse> ExternalDataSync.ESB_energy.PctEnergyInfoInterface.energyAsync(ExternalDataSync.ESB_energy.energy request) {
            return base.Channel.energyAsync(request);
        }
        
        public System.Threading.Tasks.Task<ExternalDataSync.ESB_energy.energyResponse> energyAsync(ExternalDataSync.ESB_energy.interfaceRequestHeader arg0, ExternalDataSync.ESB_energy.pctEnergyInfoTo[] arg1) {
            ExternalDataSync.ESB_energy.energy inValue = new ExternalDataSync.ESB_energy.energy();
            inValue.arg0 = arg0;
            inValue.arg1 = arg1;
            return ((ExternalDataSync.ESB_energy.PctEnergyInfoInterface)(this)).energyAsync(inValue);
        }
    }
}
