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

namespace PushPlatform.Common.WeChatService {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="WeChatService.WeChatServiceSoap")]
    public interface WeChatServiceSoap {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/WechatReceive", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        string WechatReceive(string weChat_xml_str);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/WechatReceive", ReplyAction="*")]
        System.Threading.Tasks.Task<string> WechatReceiveAsync(string weChat_xml_str);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/Send_TempLete_Msg", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        PushPlatform.Common.WeChatService.ResultHelperOfGuid Send_TempLete_Msg(string touser, string template_id_short, string templeteid, string originalid, string data, string url);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/Send_TempLete_Msg", ReplyAction="*")]
        System.Threading.Tasks.Task<PushPlatform.Common.WeChatService.ResultHelperOfGuid> Send_TempLete_MsgAsync(string touser, string template_id_short, string templeteid, string originalid, string data, string url);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/Get_UserInfo_BY_Original_And_Code", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        string Get_UserInfo_BY_Original_And_Code(string originalid, string code);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/Get_UserInfo_BY_Original_And_Code", ReplyAction="*")]
        System.Threading.Tasks.Task<string> Get_UserInfo_BY_Original_And_CodeAsync(string originalid, string code);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/Sign", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        string Sign(string url, string originalid);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/Sign", ReplyAction="*")]
        System.Threading.Tasks.Task<string> SignAsync(string url, string originalid);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/Edit_WeChat_Account", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        int Edit_WeChat_Account(System.Guid id, string name, string originalId, string appId, string appSecret, string token);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/Edit_WeChat_Account", ReplyAction="*")]
        System.Threading.Tasks.Task<int> Edit_WeChat_AccountAsync(System.Guid id, string name, string originalId, string appId, string appSecret, string token);
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3056.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
    public partial class ResultHelperOfGuid : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string msgField;
        
        private int resultField;
        
        private System.Guid dataField;
        
        private System.Guid deleteField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Order=0)]
        public string msg {
            get {
                return this.msgField;
            }
            set {
                this.msgField = value;
                this.RaisePropertyChanged("msg");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Order=1)]
        public int result {
            get {
                return this.resultField;
            }
            set {
                this.resultField = value;
                this.RaisePropertyChanged("result");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Order=2)]
        public System.Guid data {
            get {
                return this.dataField;
            }
            set {
                this.dataField = value;
                this.RaisePropertyChanged("data");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Order=3)]
        public System.Guid delete {
            get {
                return this.deleteField;
            }
            set {
                this.deleteField = value;
                this.RaisePropertyChanged("delete");
            }
        }
        
        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")]
    public interface WeChatServiceSoapChannel : PushPlatform.Common.WeChatService.WeChatServiceSoap, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class WeChatServiceSoapClient : System.ServiceModel.ClientBase<PushPlatform.Common.WeChatService.WeChatServiceSoap>, PushPlatform.Common.WeChatService.WeChatServiceSoap {
        
        public WeChatServiceSoapClient() {
        }
        
        public WeChatServiceSoapClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public WeChatServiceSoapClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public WeChatServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public WeChatServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public string WechatReceive(string weChat_xml_str) {
            return base.Channel.WechatReceive(weChat_xml_str);
        }
        
        public System.Threading.Tasks.Task<string> WechatReceiveAsync(string weChat_xml_str) {
            return base.Channel.WechatReceiveAsync(weChat_xml_str);
        }
        
        public PushPlatform.Common.WeChatService.ResultHelperOfGuid Send_TempLete_Msg(string touser, string template_id_short, string templeteid, string originalid, string data, string url) {
            return base.Channel.Send_TempLete_Msg(touser, template_id_short, templeteid, originalid, data, url);
        }
        
        public System.Threading.Tasks.Task<PushPlatform.Common.WeChatService.ResultHelperOfGuid> Send_TempLete_MsgAsync(string touser, string template_id_short, string templeteid, string originalid, string data, string url) {
            return base.Channel.Send_TempLete_MsgAsync(touser, template_id_short, templeteid, originalid, data, url);
        }
        
        public string Get_UserInfo_BY_Original_And_Code(string originalid, string code) {
            return base.Channel.Get_UserInfo_BY_Original_And_Code(originalid, code);
        }
        
        public System.Threading.Tasks.Task<string> Get_UserInfo_BY_Original_And_CodeAsync(string originalid, string code) {
            return base.Channel.Get_UserInfo_BY_Original_And_CodeAsync(originalid, code);
        }
        
        public string Sign(string url, string originalid) {
            return base.Channel.Sign(url, originalid);
        }
        
        public System.Threading.Tasks.Task<string> SignAsync(string url, string originalid) {
            return base.Channel.SignAsync(url, originalid);
        }
        
        public int Edit_WeChat_Account(System.Guid id, string name, string originalId, string appId, string appSecret, string token) {
            return base.Channel.Edit_WeChat_Account(id, name, originalId, appId, appSecret, token);
        }
        
        public System.Threading.Tasks.Task<int> Edit_WeChat_AccountAsync(System.Guid id, string name, string originalId, string appId, string appSecret, string token) {
            return base.Channel.Edit_WeChat_AccountAsync(id, name, originalId, appId, appSecret, token);
        }
    }
}
