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

namespace PushPlatform.Common.NewSmsService {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="NewSmsService.ISmsService")]
    public interface ISmsService {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmsService/DoWork", ReplyAction="http://tempuri.org/ISmsService/DoWorkResponse")]
        void DoWork();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmsService/DoWork", ReplyAction="http://tempuri.org/ISmsService/DoWorkResponse")]
        System.Threading.Tasks.Task DoWorkAsync();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmsService/SendMsg", ReplyAction="http://tempuri.org/ISmsService/SendMsgResponse")]
        string SendMsg(string projectId, string mobile, string msg);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmsService/SendMsg", ReplyAction="http://tempuri.org/ISmsService/SendMsgResponse")]
        System.Threading.Tasks.Task<string> SendMsgAsync(string projectId, string mobile, string msg);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmsService/AliSendCode", ReplyAction="http://tempuri.org/ISmsService/AliSendCodeResponse")]
        string AliSendCode(string projectId, string signName, string templateCode, string mobile, string templateParam);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmsService/AliSendCode", ReplyAction="http://tempuri.org/ISmsService/AliSendCodeResponse")]
        System.Threading.Tasks.Task<string> AliSendCodeAsync(string projectId, string signName, string templateCode, string mobile, string templateParam);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmsService/AliSendVoiceCode", ReplyAction="http://tempuri.org/ISmsService/AliSendVoiceCodeResponse")]
        string AliSendVoiceCode(string projectId, string mobile, string ttsCode, string ttsParam);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmsService/AliSendVoiceCode", ReplyAction="http://tempuri.org/ISmsService/AliSendVoiceCodeResponse")]
        System.Threading.Tasks.Task<string> AliSendVoiceCodeAsync(string projectId, string mobile, string ttsCode, string ttsParam);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmsService/imgOcr", ReplyAction="http://tempuri.org/ISmsService/imgOcrResponse")]
        string imgOcr(string imgUrl);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmsService/imgOcr", ReplyAction="http://tempuri.org/ISmsService/imgOcrResponse")]
        System.Threading.Tasks.Task<string> imgOcrAsync(string imgUrl);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmsService/GetOrderTraces", ReplyAction="http://tempuri.org/ISmsService/GetOrderTracesResponse")]
        string GetOrderTraces(string shipperCode, string order);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmsService/GetOrderTraces", ReplyAction="http://tempuri.org/ISmsService/GetOrderTracesResponse")]
        System.Threading.Tasks.Task<string> GetOrderTracesAsync(string shipperCode, string order);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmsService/AliSearchLogistics", ReplyAction="http://tempuri.org/ISmsService/AliSearchLogisticsResponse")]
        string AliSearchLogistics(string shipperCode, string order, string mobile);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmsService/AliSearchLogistics", ReplyAction="http://tempuri.org/ISmsService/AliSearchLogisticsResponse")]
        System.Threading.Tasks.Task<string> AliSearchLogisticsAsync(string shipperCode, string order, string mobile);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface ISmsServiceChannel : PushPlatform.Common.NewSmsService.ISmsService, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SmsServiceClient : System.ServiceModel.ClientBase<PushPlatform.Common.NewSmsService.ISmsService>, PushPlatform.Common.NewSmsService.ISmsService {
        
        public SmsServiceClient() {
        }
        
        public SmsServiceClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public SmsServiceClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public SmsServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public SmsServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public void DoWork() {
            base.Channel.DoWork();
        }
        
        public System.Threading.Tasks.Task DoWorkAsync() {
            return base.Channel.DoWorkAsync();
        }
        
        public string SendMsg(string projectId, string mobile, string msg) {
            return base.Channel.SendMsg(projectId, mobile, msg);
        }
        
        public System.Threading.Tasks.Task<string> SendMsgAsync(string projectId, string mobile, string msg) {
            return base.Channel.SendMsgAsync(projectId, mobile, msg);
        }
        
        public string AliSendCode(string projectId, string signName, string templateCode, string mobile, string templateParam) {
            return base.Channel.AliSendCode(projectId, signName, templateCode, mobile, templateParam);
        }
        
        public System.Threading.Tasks.Task<string> AliSendCodeAsync(string projectId, string signName, string templateCode, string mobile, string templateParam) {
            return base.Channel.AliSendCodeAsync(projectId, signName, templateCode, mobile, templateParam);
        }
        
        public string AliSendVoiceCode(string projectId, string mobile, string ttsCode, string ttsParam) {
            return base.Channel.AliSendVoiceCode(projectId, mobile, ttsCode, ttsParam);
        }
        
        public System.Threading.Tasks.Task<string> AliSendVoiceCodeAsync(string projectId, string mobile, string ttsCode, string ttsParam) {
            return base.Channel.AliSendVoiceCodeAsync(projectId, mobile, ttsCode, ttsParam);
        }
        
        public string imgOcr(string imgUrl) {
            return base.Channel.imgOcr(imgUrl);
        }
        
        public System.Threading.Tasks.Task<string> imgOcrAsync(string imgUrl) {
            return base.Channel.imgOcrAsync(imgUrl);
        }
        
        public string GetOrderTraces(string shipperCode, string order) {
            return base.Channel.GetOrderTraces(shipperCode, order);
        }
        
        public System.Threading.Tasks.Task<string> GetOrderTracesAsync(string shipperCode, string order) {
            return base.Channel.GetOrderTracesAsync(shipperCode, order);
        }
        
        public string AliSearchLogistics(string shipperCode, string order, string mobile) {
            return base.Channel.AliSearchLogistics(shipperCode, order, mobile);
        }
        
        public System.Threading.Tasks.Task<string> AliSearchLogisticsAsync(string shipperCode, string order, string mobile) {
            return base.Channel.AliSearchLogisticsAsync(shipperCode, order, mobile);
        }
    }
}
