//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//
//     对此文件的更改可能导致不正确的行为，并在以下条件下丢失:
//     代码重新生成。
// </auto-generated>
//------------------------------------------------------------------------------

namespace LinKingReference
{
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="LinKingReference.MSHInternetHospotialSoap")]
    public interface MSHInternetHospotialSoap
    {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/TEST", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> TESTAsync(string tel, string pid);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/TESTMessage", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> TESTMessageAsync(string openuserid);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/CFTS", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> CFTSAsync(string outTradeNo);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/TBYS", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> TBYSAsync();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Regist_MedicalCard", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Regist_MedicalCardAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_Hospital_MedicalCard_List", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_Hospital_MedicalCard_ListAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Refresh_MedicalCard", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Refresh_MedicalCardAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Cancel_MedicalCard", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Cancel_MedicalCardAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Update_Trade_Status", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Update_Trade_StatusAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_ReVisit_Dept_List", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_ReVisit_Dept_ListAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_ReVisit_Doctor_List", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_ReVisit_Doctor_ListAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_ReVisit_Check_Enable", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_ReVisit_Check_EnableAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_ReVisit_NumberSource", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_ReVisit_NumberSourceAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_ReVisit_Comfirm_Reservation", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_ReVisit_Comfirm_ReservationAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_ReVisit_Reservation_Detail", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_ReVisit_Reservation_DetailAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_Audit_Prescription", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_Audit_PrescriptionAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Prescription_Status_Update", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Prescription_Status_UpdateAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Rational_Drug", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Rational_DrugAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_ReVisit_List", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_ReVisit_ListAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Update_ReVisit_Status", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Update_ReVisit_StatusAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Doc_Prescription_Push", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Doc_Prescription_PushAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_OrderList", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_OrderListAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_PrescriptionInfo", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_PrescriptionInfoAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Confirm_PrescriptionDelivery", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Confirm_PrescriptionDeliveryAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Confirm_PrescriptionOrder", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Confirm_PrescriptionOrderAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Address_Save", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Address_SaveAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_HistoryAddress_Delete", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_HistoryAddress_DeleteAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Confirm_Sign", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Confirm_SignAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_Prescription_OutpatientRecord_List", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_Prescription_OutpatientRecord_ListAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_Prescription_List", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_Prescription_ListAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_DrugExplain", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_DrugExplainAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_MedicalInstrument_Upload", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_MedicalInstrument_UploadAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_MedicalInstrument_Detail", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_MedicalInstrument_DetailAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_MedicalInstrument_List", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_MedicalInstrument_ListAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_CA_Push", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_CA_PushAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_CA_Notify", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_CA_NotifyAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/FWC_IF_Get_AlipayTrades", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> FWC_IF_Get_AlipayTradesAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/FWC_IF_Barcode_Pay_Query", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> FWC_IF_Barcode_Pay_QueryAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/FWC_IF_Barcode_Pay_Refund", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> FWC_IF_Barcode_Pay_RefundAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/FWC_IF_Get_OrderDetail", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> FWC_IF_Get_OrderDetailAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_Hospital_Trade_List", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_Hospital_Trade_ListAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_Hospital_ZFJL", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_Hospital_ZFJLAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_Hospital_CFJL", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_Hospital_CFJLAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Get_Hospital_CardType_List", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Get_Hospital_CardType_ListAsync(string xml);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IF_Interfase_Common", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        System.Threading.Tasks.Task<string> IF_Interfase_CommonAsync(string xml);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
    public interface MSHInternetHospotialSoapChannel : LinKingReference.MSHInternetHospotialSoap, System.ServiceModel.IClientChannel
    {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
    public partial class MSHInternetHospotialSoapClient : System.ServiceModel.ClientBase<LinKingReference.MSHInternetHospotialSoap>, LinKingReference.MSHInternetHospotialSoap
    {
        
        /// <summary>
        /// 实现此分部方法，配置服务终结点。
        /// </summary>
        /// <param name="serviceEndpoint">要配置的终结点</param>
        /// <param name="clientCredentials">客户端凭据</param>
        static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials);
        
        public MSHInternetHospotialSoapClient(EndpointConfiguration endpointConfiguration) : 
                base(MSHInternetHospotialSoapClient.GetBindingForEndpoint(endpointConfiguration), MSHInternetHospotialSoapClient.GetEndpointAddress(endpointConfiguration))
        {
            this.Endpoint.Name = endpointConfiguration.ToString();
            ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
        }
        
        public MSHInternetHospotialSoapClient(EndpointConfiguration endpointConfiguration, string remoteAddress) : 
                base(MSHInternetHospotialSoapClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress))
        {
            this.Endpoint.Name = endpointConfiguration.ToString();
            ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
        }
        
        public MSHInternetHospotialSoapClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(MSHInternetHospotialSoapClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
        {
            this.Endpoint.Name = endpointConfiguration.ToString();
            ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
        }
        
        public MSHInternetHospotialSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress)
        {
        }
        
        public System.Threading.Tasks.Task<string> TESTAsync(string tel, string pid)
        {
            return base.Channel.TESTAsync(tel, pid);
        }
        
        public System.Threading.Tasks.Task<string> TESTMessageAsync(string openuserid)
        {
            return base.Channel.TESTMessageAsync(openuserid);
        }
        
        public System.Threading.Tasks.Task<string> CFTSAsync(string outTradeNo)
        {
            return base.Channel.CFTSAsync(outTradeNo);
        }
        
        public System.Threading.Tasks.Task<string> TBYSAsync()
        {
            return base.Channel.TBYSAsync();
        }
        
        public System.Threading.Tasks.Task<string> IF_Regist_MedicalCardAsync(string xml)
        {
            return base.Channel.IF_Regist_MedicalCardAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_Hospital_MedicalCard_ListAsync(string xml)
        {
            return base.Channel.IF_Get_Hospital_MedicalCard_ListAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Refresh_MedicalCardAsync(string xml)
        {
            return base.Channel.IF_Refresh_MedicalCardAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Cancel_MedicalCardAsync(string xml)
        {
            return base.Channel.IF_Cancel_MedicalCardAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Update_Trade_StatusAsync(string xml)
        {
            return base.Channel.IF_Update_Trade_StatusAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_ReVisit_Dept_ListAsync(string xml)
        {
            return base.Channel.IF_Get_ReVisit_Dept_ListAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_ReVisit_Doctor_ListAsync(string xml)
        {
            return base.Channel.IF_Get_ReVisit_Doctor_ListAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_ReVisit_Check_EnableAsync(string xml)
        {
            return base.Channel.IF_Get_ReVisit_Check_EnableAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_ReVisit_NumberSourceAsync(string xml)
        {
            return base.Channel.IF_Get_ReVisit_NumberSourceAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_ReVisit_Comfirm_ReservationAsync(string xml)
        {
            return base.Channel.IF_Get_ReVisit_Comfirm_ReservationAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_ReVisit_Reservation_DetailAsync(string xml)
        {
            return base.Channel.IF_Get_ReVisit_Reservation_DetailAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_Audit_PrescriptionAsync(string xml)
        {
            return base.Channel.IF_Get_Audit_PrescriptionAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Prescription_Status_UpdateAsync(string xml)
        {
            return base.Channel.IF_Prescription_Status_UpdateAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Rational_DrugAsync(string xml)
        {
            return base.Channel.IF_Rational_DrugAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_ReVisit_ListAsync(string xml)
        {
            return base.Channel.IF_Get_ReVisit_ListAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Update_ReVisit_StatusAsync(string xml)
        {
            return base.Channel.IF_Update_ReVisit_StatusAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Doc_Prescription_PushAsync(string xml)
        {
            return base.Channel.IF_Doc_Prescription_PushAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_OrderListAsync(string xml)
        {
            return base.Channel.IF_Get_OrderListAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_PrescriptionInfoAsync(string xml)
        {
            return base.Channel.IF_Get_PrescriptionInfoAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Confirm_PrescriptionDeliveryAsync(string xml)
        {
            return base.Channel.IF_Confirm_PrescriptionDeliveryAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Confirm_PrescriptionOrderAsync(string xml)
        {
            return base.Channel.IF_Confirm_PrescriptionOrderAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Address_SaveAsync(string xml)
        {
            return base.Channel.IF_Address_SaveAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_HistoryAddress_DeleteAsync(string xml)
        {
            return base.Channel.IF_HistoryAddress_DeleteAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Confirm_SignAsync(string xml)
        {
            return base.Channel.IF_Confirm_SignAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_Prescription_OutpatientRecord_ListAsync(string xml)
        {
            return base.Channel.IF_Get_Prescription_OutpatientRecord_ListAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_Prescription_ListAsync(string xml)
        {
            return base.Channel.IF_Get_Prescription_ListAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_DrugExplainAsync(string xml)
        {
            return base.Channel.IF_Get_DrugExplainAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_MedicalInstrument_UploadAsync(string xml)
        {
            return base.Channel.IF_MedicalInstrument_UploadAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_MedicalInstrument_DetailAsync(string xml)
        {
            return base.Channel.IF_Get_MedicalInstrument_DetailAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_MedicalInstrument_ListAsync(string xml)
        {
            return base.Channel.IF_Get_MedicalInstrument_ListAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_CA_PushAsync(string xml)
        {
            return base.Channel.IF_CA_PushAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_CA_NotifyAsync(string xml)
        {
            return base.Channel.IF_CA_NotifyAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> FWC_IF_Get_AlipayTradesAsync(string xml)
        {
            return base.Channel.FWC_IF_Get_AlipayTradesAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> FWC_IF_Barcode_Pay_QueryAsync(string xml)
        {
            return base.Channel.FWC_IF_Barcode_Pay_QueryAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> FWC_IF_Barcode_Pay_RefundAsync(string xml)
        {
            return base.Channel.FWC_IF_Barcode_Pay_RefundAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> FWC_IF_Get_OrderDetailAsync(string xml)
        {
            return base.Channel.FWC_IF_Get_OrderDetailAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_Hospital_Trade_ListAsync(string xml)
        {
            return base.Channel.IF_Get_Hospital_Trade_ListAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_Hospital_ZFJLAsync(string xml)
        {
            return base.Channel.IF_Get_Hospital_ZFJLAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_Hospital_CFJLAsync(string xml)
        {
            return base.Channel.IF_Get_Hospital_CFJLAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Get_Hospital_CardType_ListAsync(string xml)
        {
            return base.Channel.IF_Get_Hospital_CardType_ListAsync(xml);
        }
        
        public System.Threading.Tasks.Task<string> IF_Interfase_CommonAsync(string xml)
        {
            return base.Channel.IF_Interfase_CommonAsync(xml);
        }
        
        public virtual System.Threading.Tasks.Task OpenAsync()
        {
            return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndOpen));
        }
        
        public virtual System.Threading.Tasks.Task CloseAsync()
        {
            return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndClose));
        }
        
        private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration)
        {
            if ((endpointConfiguration == EndpointConfiguration.MSHInternetHospotialSoap))
            {
                System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding();
                result.MaxBufferSize = int.MaxValue;
                result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max;
                result.MaxReceivedMessageSize = int.MaxValue;
                result.AllowCookies = true;
                return result;
            }
            if ((endpointConfiguration == EndpointConfiguration.MSHInternetHospotialSoap12))
            {
                System.ServiceModel.Channels.CustomBinding result = new System.ServiceModel.Channels.CustomBinding();
                System.ServiceModel.Channels.TextMessageEncodingBindingElement textBindingElement = new System.ServiceModel.Channels.TextMessageEncodingBindingElement();
                textBindingElement.MessageVersion = System.ServiceModel.Channels.MessageVersion.CreateVersion(System.ServiceModel.EnvelopeVersion.Soap12, System.ServiceModel.Channels.AddressingVersion.None);
                result.Elements.Add(textBindingElement);
                System.ServiceModel.Channels.HttpTransportBindingElement httpBindingElement = new System.ServiceModel.Channels.HttpTransportBindingElement();
                httpBindingElement.AllowCookies = true;
                httpBindingElement.MaxBufferSize = int.MaxValue;
                httpBindingElement.MaxReceivedMessageSize = int.MaxValue;
                result.Elements.Add(httpBindingElement);
                return result;
            }
            throw new System.InvalidOperationException(string.Format("找不到名称为“{0}”的终结点。", endpointConfiguration));
        }
        
        private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration)
        {
            if ((endpointConfiguration == EndpointConfiguration.MSHInternetHospotialSoap))
            {
                return new System.ServiceModel.EndpointAddress("http://12.168.50.40:8192/LinkingIF.asmx");
            }
            if ((endpointConfiguration == EndpointConfiguration.MSHInternetHospotialSoap12))
            {
                return new System.ServiceModel.EndpointAddress("http://12.168.50.40:8192/LinkingIF.asmx");
            }
            throw new System.InvalidOperationException(string.Format("找不到名称为“{0}”的终结点。", endpointConfiguration));
        }
        
        public enum EndpointConfiguration
        {
            
            MSHInternetHospotialSoap,
            
            MSHInternetHospotialSoap12,
        }
    }
}
