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

namespace CmdjyTests.WsdServices {
    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="WsdRequest", Namespace="http://Djy.wondersgroup.com/")]
    [System.SerializableAttribute()]
    public partial class WsdRequest : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string CompanyCodeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string CompanyNameField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string StartNoField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string MaxCountField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
        public string CompanyCode {
            get {
                return this.CompanyCodeField;
            }
            set {
                if ((object.ReferenceEquals(this.CompanyCodeField, value) != true)) {
                    this.CompanyCodeField = value;
                    this.RaisePropertyChanged("CompanyCode");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
        public string CompanyName {
            get {
                return this.CompanyNameField;
            }
            set {
                if ((object.ReferenceEquals(this.CompanyNameField, value) != true)) {
                    this.CompanyNameField = value;
                    this.RaisePropertyChanged("CompanyName");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
        public string StartNo {
            get {
                return this.StartNoField;
            }
            set {
                if ((object.ReferenceEquals(this.StartNoField, value) != true)) {
                    this.StartNoField = value;
                    this.RaisePropertyChanged("StartNo");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)]
        public string MaxCount {
            get {
                return this.MaxCountField;
            }
            set {
                if ((object.ReferenceEquals(this.MaxCountField, value) != true)) {
                    this.MaxCountField = value;
                    this.RaisePropertyChanged("MaxCount");
                }
            }
        }
        
        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(Namespace="http://Djy.wondersgroup.com/", ConfigurationName="WsdServices.WsdInterfaceSoap")]
    public interface WsdInterfaceSoap {
        
        // CODEGEN: 命名空间 http://Djy.wondersgroup.com/ 的元素名称 info 以后生成的消息协定未标记为 nillable
        [System.ServiceModel.OperationContractAttribute(Action="http://Djy.wondersgroup.com/GetData", ReplyAction="*")]
        CmdjyTests.WsdServices.GetDataResponse GetData(CmdjyTests.WsdServices.GetDataRequest request);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://Djy.wondersgroup.com/GetData", ReplyAction="*")]
        System.Threading.Tasks.Task<CmdjyTests.WsdServices.GetDataResponse> GetDataAsync(CmdjyTests.WsdServices.GetDataRequest request);
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
    public partial class GetDataRequest {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Name="GetData", Namespace="http://Djy.wondersgroup.com/", Order=0)]
        public CmdjyTests.WsdServices.GetDataRequestBody Body;
        
        public GetDataRequest() {
        }
        
        public GetDataRequest(CmdjyTests.WsdServices.GetDataRequestBody Body) {
            this.Body = Body;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.Runtime.Serialization.DataContractAttribute(Namespace="http://Djy.wondersgroup.com/")]
    public partial class GetDataRequestBody {
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
        public CmdjyTests.WsdServices.WsdRequest info;
        
        public GetDataRequestBody() {
        }
        
        public GetDataRequestBody(CmdjyTests.WsdServices.WsdRequest info) {
            this.info = info;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
    public partial class GetDataResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Name="GetDataResponse", Namespace="http://Djy.wondersgroup.com/", Order=0)]
        public CmdjyTests.WsdServices.GetDataResponseBody Body;
        
        public GetDataResponse() {
        }
        
        public GetDataResponse(CmdjyTests.WsdServices.GetDataResponseBody Body) {
            this.Body = Body;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.Runtime.Serialization.DataContractAttribute(Namespace="http://Djy.wondersgroup.com/")]
    public partial class GetDataResponseBody {
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
        public string GetDataResult;
        
        public GetDataResponseBody() {
        }
        
        public GetDataResponseBody(string GetDataResult) {
            this.GetDataResult = GetDataResult;
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface WsdInterfaceSoapChannel : CmdjyTests.WsdServices.WsdInterfaceSoap, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class WsdInterfaceSoapClient : System.ServiceModel.ClientBase<CmdjyTests.WsdServices.WsdInterfaceSoap>, CmdjyTests.WsdServices.WsdInterfaceSoap {
        
        public WsdInterfaceSoapClient() {
        }
        
        public WsdInterfaceSoapClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public WsdInterfaceSoapClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public WsdInterfaceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public WsdInterfaceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        CmdjyTests.WsdServices.GetDataResponse CmdjyTests.WsdServices.WsdInterfaceSoap.GetData(CmdjyTests.WsdServices.GetDataRequest request) {
            return base.Channel.GetData(request);
        }
        
        public string GetData(CmdjyTests.WsdServices.WsdRequest info) {
            CmdjyTests.WsdServices.GetDataRequest inValue = new CmdjyTests.WsdServices.GetDataRequest();
            inValue.Body = new CmdjyTests.WsdServices.GetDataRequestBody();
            inValue.Body.info = info;
            CmdjyTests.WsdServices.GetDataResponse retVal = ((CmdjyTests.WsdServices.WsdInterfaceSoap)(this)).GetData(inValue);
            return retVal.Body.GetDataResult;
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.Threading.Tasks.Task<CmdjyTests.WsdServices.GetDataResponse> CmdjyTests.WsdServices.WsdInterfaceSoap.GetDataAsync(CmdjyTests.WsdServices.GetDataRequest request) {
            return base.Channel.GetDataAsync(request);
        }
        
        public System.Threading.Tasks.Task<CmdjyTests.WsdServices.GetDataResponse> GetDataAsync(CmdjyTests.WsdServices.WsdRequest info) {
            CmdjyTests.WsdServices.GetDataRequest inValue = new CmdjyTests.WsdServices.GetDataRequest();
            inValue.Body = new CmdjyTests.WsdServices.GetDataRequestBody();
            inValue.Body.info = info;
            return ((CmdjyTests.WsdServices.WsdInterfaceSoap)(this)).GetDataAsync(inValue);
        }
    }
}
