You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
3.6 KiB
80 lines
3.6 KiB
3 years ago
|
//------------------------------------------------------------------------------
|
||
|
// <auto-generated>
|
||
|
// 此代码由工具生成。
|
||
|
// 运行时版本:2.0.50727.4952
|
||
|
//
|
||
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||
|
// 重新生成代码,这些更改将会丢失。
|
||
|
// </auto-generated>
|
||
|
//------------------------------------------------------------------------------
|
||
|
|
||
|
//
|
||
|
// 此源代码是由 Microsoft.CompactFramework.Design.Data 2.0.50727.4952 版自动生成。
|
||
|
//
|
||
|
namespace PDAForm.Comm.PDAService {
|
||
|
using System.Diagnostics;
|
||
|
using System.Web.Services;
|
||
|
using System.ComponentModel;
|
||
|
using System.Web.Services.Protocols;
|
||
|
using System;
|
||
|
using System.Xml.Serialization;
|
||
|
using System.Data;
|
||
|
|
||
|
|
||
|
/// <remarks/>
|
||
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||
|
[System.Web.Services.WebServiceBindingAttribute(Name="ServiceSoap", Namespace="http://tempuri.org/")]
|
||
|
public partial class Service : System.Web.Services.Protocols.SoapHttpClientProtocol {
|
||
|
|
||
|
/// <remarks/>
|
||
|
public Service() {
|
||
|
this.Url = "http://192.168.0.11:1010/Service.asmx";
|
||
|
}
|
||
|
|
||
|
/// <remarks/>
|
||
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/HelloWorld", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||
|
public string HelloWorld() {
|
||
|
object[] results = this.Invoke("HelloWorld", new object[0]);
|
||
|
return ((string)(results[0]));
|
||
|
}
|
||
|
|
||
|
/// <remarks/>
|
||
|
public System.IAsyncResult BeginHelloWorld(System.AsyncCallback callback, object asyncState) {
|
||
|
return this.BeginInvoke("HelloWorld", new object[0], callback, asyncState);
|
||
|
}
|
||
|
|
||
|
/// <remarks/>
|
||
|
public string EndHelloWorld(System.IAsyncResult asyncResult) {
|
||
|
object[] results = this.EndInvoke(asyncResult);
|
||
|
return ((string)(results[0]));
|
||
|
}
|
||
|
|
||
|
/// <remarks/>
|
||
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ServiceMessage", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||
|
public System.Data.DataSet ServiceMessage(System.Data.DataSet dsCommand, System.Data.DataSet dsData, ref string ErrMessage) {
|
||
|
object[] results = this.Invoke("ServiceMessage", new object[] {
|
||
|
dsCommand,
|
||
|
dsData,
|
||
|
ErrMessage});
|
||
|
ErrMessage = ((string)(results[1]));
|
||
|
return ((System.Data.DataSet)(results[0]));
|
||
|
}
|
||
|
|
||
|
/// <remarks/>
|
||
|
public System.IAsyncResult BeginServiceMessage(System.Data.DataSet dsCommand, System.Data.DataSet dsData, string ErrMessage, System.AsyncCallback callback, object asyncState) {
|
||
|
return this.BeginInvoke("ServiceMessage", new object[] {
|
||
|
dsCommand,
|
||
|
dsData,
|
||
|
ErrMessage}, callback, asyncState);
|
||
|
}
|
||
|
|
||
|
/// <remarks/>
|
||
|
public System.Data.DataSet EndServiceMessage(System.IAsyncResult asyncResult, out string ErrMessage) {
|
||
|
object[] results = this.EndInvoke(asyncResult);
|
||
|
ErrMessage = ((string)(results[1]));
|
||
|
return ((System.Data.DataSet)(results[0]));
|
||
|
}
|
||
|
}
|
||
|
}
|