//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ namespace GSMarketSys.nsMessagePlat { 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="ServiceLogin", Namespace="http://tempuri.org/")] [System.SerializableAttribute()] public partial class ServiceLogin : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; private bool FlagField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string MessageField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string AuUrlField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string TagField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData { get { return this.extensionDataField; } set { this.extensionDataField = value; } } [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)] public bool Flag { get { return this.FlagField; } set { if ((this.FlagField.Equals(value) != true)) { this.FlagField = value; this.RaisePropertyChanged("Flag"); } } } [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)] public string Message { get { return this.MessageField; } set { if ((object.ReferenceEquals(this.MessageField, value) != true)) { this.MessageField = value; this.RaisePropertyChanged("Message"); } } } [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] public string AuUrl { get { return this.AuUrlField; } set { if ((object.ReferenceEquals(this.AuUrlField, value) != true)) { this.AuUrlField = value; this.RaisePropertyChanged("AuUrl"); } } } [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] public string Tag { get { return this.TagField; } set { if ((object.ReferenceEquals(this.TagField, value) != true)) { this.TagField = value; this.RaisePropertyChanged("Tag"); } } } 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(ConfigurationName="nsMessagePlat.MessagaPlatSoap")] public interface MessagaPlatSoap { // CODEGEN: 命名空间 http://tempuri.org/ 的元素名称 SendBy 以后生成的消息协定未标记为 nillable [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/SendMessage", ReplyAction="*")] GSMarketSys.nsMessagePlat.SendMessageResponse SendMessage(GSMarketSys.nsMessagePlat.SendMessageRequest request); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/SendMessage", ReplyAction="*")] System.Threading.Tasks.Task SendMessageAsync(GSMarketSys.nsMessagePlat.SendMessageRequest request); // CODEGEN: 命名空间 http://tempuri.org/ 的元素名称 RequestIdentifier 以后生成的消息协定未标记为 nillable [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/GetReportStatus", ReplyAction="*")] GSMarketSys.nsMessagePlat.GetReportStatusResponse GetReportStatus(GSMarketSys.nsMessagePlat.GetReportStatusRequest request); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/GetReportStatus", ReplyAction="*")] System.Threading.Tasks.Task GetReportStatusAsync(GSMarketSys.nsMessagePlat.GetReportStatusRequest 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 SendMessageRequest { [System.ServiceModel.MessageBodyMemberAttribute(Name="SendMessage", Namespace="http://tempuri.org/", Order=0)] public GSMarketSys.nsMessagePlat.SendMessageRequestBody Body; public SendMessageRequest() { } public SendMessageRequest(GSMarketSys.nsMessagePlat.SendMessageRequestBody 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://tempuri.org/")] public partial class SendMessageRequestBody { [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] public string SendBy; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)] public string ReceiveMobile; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)] public string sendContent; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] public string guid; public SendMessageRequestBody() { } public SendMessageRequestBody(string SendBy, string ReceiveMobile, string sendContent, string guid) { this.SendBy = SendBy; this.ReceiveMobile = ReceiveMobile; this.sendContent = sendContent; this.guid = guid; } } [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 SendMessageResponse { [System.ServiceModel.MessageBodyMemberAttribute(Name="SendMessageResponse", Namespace="http://tempuri.org/", Order=0)] public GSMarketSys.nsMessagePlat.SendMessageResponseBody Body; public SendMessageResponse() { } public SendMessageResponse(GSMarketSys.nsMessagePlat.SendMessageResponseBody 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://tempuri.org/")] public partial class SendMessageResponseBody { [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] public GSMarketSys.nsMessagePlat.ServiceLogin SendMessageResult; public SendMessageResponseBody() { } public SendMessageResponseBody(GSMarketSys.nsMessagePlat.ServiceLogin SendMessageResult) { this.SendMessageResult = SendMessageResult; } } [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 GetReportStatusRequest { [System.ServiceModel.MessageBodyMemberAttribute(Name="GetReportStatus", Namespace="http://tempuri.org/", Order=0)] public GSMarketSys.nsMessagePlat.GetReportStatusRequestBody Body; public GetReportStatusRequest() { } public GetReportStatusRequest(GSMarketSys.nsMessagePlat.GetReportStatusRequestBody 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://tempuri.org/")] public partial class GetReportStatusRequestBody { [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] public string RequestIdentifier; [System.Runtime.Serialization.DataMemberAttribute(Order=1)] public System.DateTime startTime; [System.Runtime.Serialization.DataMemberAttribute(Order=2)] public System.DateTime endTime; [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)] public string Guid; public GetReportStatusRequestBody() { } public GetReportStatusRequestBody(string RequestIdentifier, System.DateTime startTime, System.DateTime endTime, string Guid) { this.RequestIdentifier = RequestIdentifier; this.startTime = startTime; this.endTime = endTime; this.Guid = Guid; } } [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 GetReportStatusResponse { [System.ServiceModel.MessageBodyMemberAttribute(Name="GetReportStatusResponse", Namespace="http://tempuri.org/", Order=0)] public GSMarketSys.nsMessagePlat.GetReportStatusResponseBody Body; public GetReportStatusResponse() { } public GetReportStatusResponse(GSMarketSys.nsMessagePlat.GetReportStatusResponseBody 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://tempuri.org/")] public partial class GetReportStatusResponseBody { [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)] public GSMarketSys.nsMessagePlat.ServiceLogin GetReportStatusResult; public GetReportStatusResponseBody() { } public GetReportStatusResponseBody(GSMarketSys.nsMessagePlat.ServiceLogin GetReportStatusResult) { this.GetReportStatusResult = GetReportStatusResult; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface MessagaPlatSoapChannel : GSMarketSys.nsMessagePlat.MessagaPlatSoap, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class MessagaPlatSoapClient : System.ServiceModel.ClientBase, GSMarketSys.nsMessagePlat.MessagaPlatSoap { public MessagaPlatSoapClient() { } public MessagaPlatSoapClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public MessagaPlatSoapClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public MessagaPlatSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public MessagaPlatSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] GSMarketSys.nsMessagePlat.SendMessageResponse GSMarketSys.nsMessagePlat.MessagaPlatSoap.SendMessage(GSMarketSys.nsMessagePlat.SendMessageRequest request) { return base.Channel.SendMessage(request); } public GSMarketSys.nsMessagePlat.ServiceLogin SendMessage(string SendBy, string ReceiveMobile, string sendContent, string guid) { GSMarketSys.nsMessagePlat.SendMessageRequest inValue = new GSMarketSys.nsMessagePlat.SendMessageRequest(); inValue.Body = new GSMarketSys.nsMessagePlat.SendMessageRequestBody(); inValue.Body.SendBy = SendBy; inValue.Body.ReceiveMobile = ReceiveMobile; inValue.Body.sendContent = sendContent; inValue.Body.guid = guid; GSMarketSys.nsMessagePlat.SendMessageResponse retVal = ((GSMarketSys.nsMessagePlat.MessagaPlatSoap)(this)).SendMessage(inValue); return retVal.Body.SendMessageResult; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] System.Threading.Tasks.Task GSMarketSys.nsMessagePlat.MessagaPlatSoap.SendMessageAsync(GSMarketSys.nsMessagePlat.SendMessageRequest request) { return base.Channel.SendMessageAsync(request); } public System.Threading.Tasks.Task SendMessageAsync(string SendBy, string ReceiveMobile, string sendContent, string guid) { GSMarketSys.nsMessagePlat.SendMessageRequest inValue = new GSMarketSys.nsMessagePlat.SendMessageRequest(); inValue.Body = new GSMarketSys.nsMessagePlat.SendMessageRequestBody(); inValue.Body.SendBy = SendBy; inValue.Body.ReceiveMobile = ReceiveMobile; inValue.Body.sendContent = sendContent; inValue.Body.guid = guid; return ((GSMarketSys.nsMessagePlat.MessagaPlatSoap)(this)).SendMessageAsync(inValue); } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] GSMarketSys.nsMessagePlat.GetReportStatusResponse GSMarketSys.nsMessagePlat.MessagaPlatSoap.GetReportStatus(GSMarketSys.nsMessagePlat.GetReportStatusRequest request) { return base.Channel.GetReportStatus(request); } public GSMarketSys.nsMessagePlat.ServiceLogin GetReportStatus(string RequestIdentifier, System.DateTime startTime, System.DateTime endTime, string Guid) { GSMarketSys.nsMessagePlat.GetReportStatusRequest inValue = new GSMarketSys.nsMessagePlat.GetReportStatusRequest(); inValue.Body = new GSMarketSys.nsMessagePlat.GetReportStatusRequestBody(); inValue.Body.RequestIdentifier = RequestIdentifier; inValue.Body.startTime = startTime; inValue.Body.endTime = endTime; inValue.Body.Guid = Guid; GSMarketSys.nsMessagePlat.GetReportStatusResponse retVal = ((GSMarketSys.nsMessagePlat.MessagaPlatSoap)(this)).GetReportStatus(inValue); return retVal.Body.GetReportStatusResult; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] System.Threading.Tasks.Task GSMarketSys.nsMessagePlat.MessagaPlatSoap.GetReportStatusAsync(GSMarketSys.nsMessagePlat.GetReportStatusRequest request) { return base.Channel.GetReportStatusAsync(request); } public System.Threading.Tasks.Task GetReportStatusAsync(string RequestIdentifier, System.DateTime startTime, System.DateTime endTime, string Guid) { GSMarketSys.nsMessagePlat.GetReportStatusRequest inValue = new GSMarketSys.nsMessagePlat.GetReportStatusRequest(); inValue.Body = new GSMarketSys.nsMessagePlat.GetReportStatusRequestBody(); inValue.Body.RequestIdentifier = RequestIdentifier; inValue.Body.startTime = startTime; inValue.Body.endTime = endTime; inValue.Body.Guid = Guid; return ((GSMarketSys.nsMessagePlat.MessagaPlatSoap)(this)).GetReportStatusAsync(inValue); } } }