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

namespace CmdjyTests.HisServices {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(Namespace="http://djy.wondersgroup.com/", ConfigurationName="HisServices.HisInterfaceSoap")]
    public interface HisInterfaceSoap {
        
        // CODEGEN: 命名空间 http://djy.wondersgroup.com/ 的元素名称 msg 以后生成的消息协定未标记为 nillable
        [System.ServiceModel.OperationContractAttribute(Action="http://djy.wondersgroup.com/PostPrescription", ReplyAction="*")]
        CmdjyTests.HisServices.PostPrescriptionResponse PostPrescription(CmdjyTests.HisServices.PostPrescriptionRequest request);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://djy.wondersgroup.com/PostPrescription", ReplyAction="*")]
        System.Threading.Tasks.Task<CmdjyTests.HisServices.PostPrescriptionResponse> PostPrescriptionAsync(CmdjyTests.HisServices.PostPrescriptionRequest request);
        
        // CODEGEN: 命名空间 http://djy.wondersgroup.com/ 的元素名称 msg 以后生成的消息协定未标记为 nillable
        [System.ServiceModel.OperationContractAttribute(Action="http://djy.wondersgroup.com/PostDrug", ReplyAction="*")]
        CmdjyTests.HisServices.PostDrugResponse PostDrug(CmdjyTests.HisServices.PostDrugRequest request);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://djy.wondersgroup.com/PostDrug", ReplyAction="*")]
        System.Threading.Tasks.Task<CmdjyTests.HisServices.PostDrugResponse> PostDrugAsync(CmdjyTests.HisServices.PostDrugRequest 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 PostPrescriptionRequest {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Name="PostPrescription", Namespace="http://djy.wondersgroup.com/", Order=0)]
        public CmdjyTests.HisServices.PostPrescriptionRequestBody Body;
        
        public PostPrescriptionRequest() {
        }
        
        public PostPrescriptionRequest(CmdjyTests.HisServices.PostPrescriptionRequestBody 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 PostPrescriptionRequestBody {
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
        public string msg;
        
        public PostPrescriptionRequestBody() {
        }
        
        public PostPrescriptionRequestBody(string msg) {
            this.msg = msg;
        }
    }
    
    [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 PostPrescriptionResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Name="PostPrescriptionResponse", Namespace="http://djy.wondersgroup.com/", Order=0)]
        public CmdjyTests.HisServices.PostPrescriptionResponseBody Body;
        
        public PostPrescriptionResponse() {
        }
        
        public PostPrescriptionResponse(CmdjyTests.HisServices.PostPrescriptionResponseBody 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 PostPrescriptionResponseBody {
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
        public string PostPrescriptionResult;
        
        public PostPrescriptionResponseBody() {
        }
        
        public PostPrescriptionResponseBody(string PostPrescriptionResult) {
            this.PostPrescriptionResult = PostPrescriptionResult;
        }
    }
    
    [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 PostDrugRequest {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Name="PostDrug", Namespace="http://djy.wondersgroup.com/", Order=0)]
        public CmdjyTests.HisServices.PostDrugRequestBody Body;
        
        public PostDrugRequest() {
        }
        
        public PostDrugRequest(CmdjyTests.HisServices.PostDrugRequestBody 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 PostDrugRequestBody {
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
        public string msg;
        
        public PostDrugRequestBody() {
        }
        
        public PostDrugRequestBody(string msg) {
            this.msg = msg;
        }
    }
    
    [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 PostDrugResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Name="PostDrugResponse", Namespace="http://djy.wondersgroup.com/", Order=0)]
        public CmdjyTests.HisServices.PostDrugResponseBody Body;
        
        public PostDrugResponse() {
        }
        
        public PostDrugResponse(CmdjyTests.HisServices.PostDrugResponseBody 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 PostDrugResponseBody {
        
        [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
        public string PostDrugResult;
        
        public PostDrugResponseBody() {
        }
        
        public PostDrugResponseBody(string PostDrugResult) {
            this.PostDrugResult = PostDrugResult;
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface HisInterfaceSoapChannel : CmdjyTests.HisServices.HisInterfaceSoap, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class HisInterfaceSoapClient : System.ServiceModel.ClientBase<CmdjyTests.HisServices.HisInterfaceSoap>, CmdjyTests.HisServices.HisInterfaceSoap {
        
        public HisInterfaceSoapClient() {
        }
        
        public HisInterfaceSoapClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public HisInterfaceSoapClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public HisInterfaceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public HisInterfaceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        CmdjyTests.HisServices.PostPrescriptionResponse CmdjyTests.HisServices.HisInterfaceSoap.PostPrescription(CmdjyTests.HisServices.PostPrescriptionRequest request) {
            return base.Channel.PostPrescription(request);
        }
        
        public string PostPrescription(string msg) {
            CmdjyTests.HisServices.PostPrescriptionRequest inValue = new CmdjyTests.HisServices.PostPrescriptionRequest();
            inValue.Body = new CmdjyTests.HisServices.PostPrescriptionRequestBody();
            inValue.Body.msg = msg;
            CmdjyTests.HisServices.PostPrescriptionResponse retVal = ((CmdjyTests.HisServices.HisInterfaceSoap)(this)).PostPrescription(inValue);
            return retVal.Body.PostPrescriptionResult;
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.Threading.Tasks.Task<CmdjyTests.HisServices.PostPrescriptionResponse> CmdjyTests.HisServices.HisInterfaceSoap.PostPrescriptionAsync(CmdjyTests.HisServices.PostPrescriptionRequest request) {
            return base.Channel.PostPrescriptionAsync(request);
        }
        
        public System.Threading.Tasks.Task<CmdjyTests.HisServices.PostPrescriptionResponse> PostPrescriptionAsync(string msg) {
            CmdjyTests.HisServices.PostPrescriptionRequest inValue = new CmdjyTests.HisServices.PostPrescriptionRequest();
            inValue.Body = new CmdjyTests.HisServices.PostPrescriptionRequestBody();
            inValue.Body.msg = msg;
            return ((CmdjyTests.HisServices.HisInterfaceSoap)(this)).PostPrescriptionAsync(inValue);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        CmdjyTests.HisServices.PostDrugResponse CmdjyTests.HisServices.HisInterfaceSoap.PostDrug(CmdjyTests.HisServices.PostDrugRequest request) {
            return base.Channel.PostDrug(request);
        }
        
        public string PostDrug(string msg) {
            CmdjyTests.HisServices.PostDrugRequest inValue = new CmdjyTests.HisServices.PostDrugRequest();
            inValue.Body = new CmdjyTests.HisServices.PostDrugRequestBody();
            inValue.Body.msg = msg;
            CmdjyTests.HisServices.PostDrugResponse retVal = ((CmdjyTests.HisServices.HisInterfaceSoap)(this)).PostDrug(inValue);
            return retVal.Body.PostDrugResult;
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.Threading.Tasks.Task<CmdjyTests.HisServices.PostDrugResponse> CmdjyTests.HisServices.HisInterfaceSoap.PostDrugAsync(CmdjyTests.HisServices.PostDrugRequest request) {
            return base.Channel.PostDrugAsync(request);
        }
        
        public System.Threading.Tasks.Task<CmdjyTests.HisServices.PostDrugResponse> PostDrugAsync(string msg) {
            CmdjyTests.HisServices.PostDrugRequest inValue = new CmdjyTests.HisServices.PostDrugRequest();
            inValue.Body = new CmdjyTests.HisServices.PostDrugRequestBody();
            inValue.Body.msg = msg;
            return ((CmdjyTests.HisServices.HisInterfaceSoap)(this)).PostDrugAsync(inValue);
        }
    }
}
