//------------------------------------------------------------------------------
//
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
//
//------------------------------------------------------------------------------
//
// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。
//
#pragma warning disable 1591
namespace WMS.Core.FxWebReference {
using System;
using System.Web.Services;
using System.Diagnostics;
using System.Web.Services.Protocols;
using System.Xml.Serialization;
using System.ComponentModel;
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="interfaceClassHttpBinding", Namespace="http://userWebService.asteelflash.com")]
public partial class interfaceClass : System.Web.Services.Protocols.SoapHttpClientProtocol {
private System.Threading.SendOrPostCallback RefreshCacheOperationCompleted;
private System.Threading.SendOrPostCallback ValidateBeforeTestOperationCompleted;
private System.Threading.SendOrPostCallback GetDataFromMesOperationCompleted;
private System.Threading.SendOrPostCallback SaveDataAfterTestOperationCompleted;
private System.Threading.SendOrPostCallback ValidateAndCompleteOperationCompleted;
private System.Threading.SendOrPostCallback GetConsumptionPartOperationCompleted;
private System.Threading.SendOrPostCallback ValidateDataOnlyOperationCompleted;
private bool useDefaultCredentialsSetExplicitly;
///
public interfaceClass() {
this.Url = global::WMS.Core.Properties.Settings.Default.WMS_Core_FxWebReference_interfaceClass;
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
this.UseDefaultCredentials = true;
this.useDefaultCredentialsSetExplicitly = false;
}
else {
this.useDefaultCredentialsSetExplicitly = true;
}
}
public new string Url {
get {
return base.Url;
}
set {
if ((((this.IsLocalFileSystemWebService(base.Url) == true)
&& (this.useDefaultCredentialsSetExplicitly == false))
&& (this.IsLocalFileSystemWebService(value) == false))) {
base.UseDefaultCredentials = false;
}
base.Url = value;
}
}
public new bool UseDefaultCredentials {
get {
return base.UseDefaultCredentials;
}
set {
base.UseDefaultCredentials = value;
this.useDefaultCredentialsSetExplicitly = true;
}
}
///
public event RefreshCacheCompletedEventHandler RefreshCacheCompleted;
///
public event ValidateBeforeTestCompletedEventHandler ValidateBeforeTestCompleted;
///
public event GetDataFromMesCompletedEventHandler GetDataFromMesCompleted;
///
public event SaveDataAfterTestCompletedEventHandler SaveDataAfterTestCompleted;
///
public event ValidateAndCompleteCompletedEventHandler ValidateAndCompleteCompleted;
///
public event GetConsumptionPartCompletedEventHandler GetConsumptionPartCompleted;
///
public event ValidateDataOnlyCompletedEventHandler ValidateDataOnlyCompleted;
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://userWebService.asteelflash.com", ResponseNamespace="http://userWebService.asteelflash.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("out", IsNullable=true)]
public string RefreshCache([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string in0) {
object[] results = this.Invoke("RefreshCache", new object[] {
in0});
return ((string)(results[0]));
}
///
public void RefreshCacheAsync(string in0) {
this.RefreshCacheAsync(in0, null);
}
///
public void RefreshCacheAsync(string in0, object userState) {
if ((this.RefreshCacheOperationCompleted == null)) {
this.RefreshCacheOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRefreshCacheOperationCompleted);
}
this.InvokeAsync("RefreshCache", new object[] {
in0}, this.RefreshCacheOperationCompleted, userState);
}
private void OnRefreshCacheOperationCompleted(object arg) {
if ((this.RefreshCacheCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.RefreshCacheCompleted(this, new RefreshCacheCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://userWebService.asteelflash.com", ResponseNamespace="http://userWebService.asteelflash.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("out", IsNullable=true)]
public string ValidateBeforeTest([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string in0) {
object[] results = this.Invoke("ValidateBeforeTest", new object[] {
in0});
return ((string)(results[0]));
}
///
public void ValidateBeforeTestAsync(string in0) {
this.ValidateBeforeTestAsync(in0, null);
}
///
public void ValidateBeforeTestAsync(string in0, object userState) {
if ((this.ValidateBeforeTestOperationCompleted == null)) {
this.ValidateBeforeTestOperationCompleted = new System.Threading.SendOrPostCallback(this.OnValidateBeforeTestOperationCompleted);
}
this.InvokeAsync("ValidateBeforeTest", new object[] {
in0}, this.ValidateBeforeTestOperationCompleted, userState);
}
private void OnValidateBeforeTestOperationCompleted(object arg) {
if ((this.ValidateBeforeTestCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ValidateBeforeTestCompleted(this, new ValidateBeforeTestCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://userWebService.asteelflash.com", ResponseNamespace="http://userWebService.asteelflash.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("out", IsNullable=true)]
public string GetDataFromMes([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string in0) {
object[] results = this.Invoke("GetDataFromMes", new object[] {
in0});
return ((string)(results[0]));
}
///
public void GetDataFromMesAsync(string in0) {
this.GetDataFromMesAsync(in0, null);
}
///
public void GetDataFromMesAsync(string in0, object userState) {
if ((this.GetDataFromMesOperationCompleted == null)) {
this.GetDataFromMesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDataFromMesOperationCompleted);
}
this.InvokeAsync("GetDataFromMes", new object[] {
in0}, this.GetDataFromMesOperationCompleted, userState);
}
private void OnGetDataFromMesOperationCompleted(object arg) {
if ((this.GetDataFromMesCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetDataFromMesCompleted(this, new GetDataFromMesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://userWebService.asteelflash.com", ResponseNamespace="http://userWebService.asteelflash.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("out", IsNullable=true)]
public string SaveDataAfterTest([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string in0) {
object[] results = this.Invoke("SaveDataAfterTest", new object[] {
in0});
return ((string)(results[0]));
}
///
public void SaveDataAfterTestAsync(string in0) {
this.SaveDataAfterTestAsync(in0, null);
}
///
public void SaveDataAfterTestAsync(string in0, object userState) {
if ((this.SaveDataAfterTestOperationCompleted == null)) {
this.SaveDataAfterTestOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSaveDataAfterTestOperationCompleted);
}
this.InvokeAsync("SaveDataAfterTest", new object[] {
in0}, this.SaveDataAfterTestOperationCompleted, userState);
}
private void OnSaveDataAfterTestOperationCompleted(object arg) {
if ((this.SaveDataAfterTestCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.SaveDataAfterTestCompleted(this, new SaveDataAfterTestCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://userWebService.asteelflash.com", ResponseNamespace="http://userWebService.asteelflash.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("out", IsNullable=true)]
public string ValidateAndComplete([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string in0) {
object[] results = this.Invoke("ValidateAndComplete", new object[] {
in0});
return ((string)(results[0]));
}
///
public void ValidateAndCompleteAsync(string in0) {
this.ValidateAndCompleteAsync(in0, null);
}
///
public void ValidateAndCompleteAsync(string in0, object userState) {
if ((this.ValidateAndCompleteOperationCompleted == null)) {
this.ValidateAndCompleteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnValidateAndCompleteOperationCompleted);
}
this.InvokeAsync("ValidateAndComplete", new object[] {
in0}, this.ValidateAndCompleteOperationCompleted, userState);
}
private void OnValidateAndCompleteOperationCompleted(object arg) {
if ((this.ValidateAndCompleteCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ValidateAndCompleteCompleted(this, new ValidateAndCompleteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://userWebService.asteelflash.com", ResponseNamespace="http://userWebService.asteelflash.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("out", IsNullable=true)]
public string GetConsumptionPart([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string in0) {
object[] results = this.Invoke("GetConsumptionPart", new object[] {
in0});
return ((string)(results[0]));
}
///
public void GetConsumptionPartAsync(string in0) {
this.GetConsumptionPartAsync(in0, null);
}
///
public void GetConsumptionPartAsync(string in0, object userState) {
if ((this.GetConsumptionPartOperationCompleted == null)) {
this.GetConsumptionPartOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetConsumptionPartOperationCompleted);
}
this.InvokeAsync("GetConsumptionPart", new object[] {
in0}, this.GetConsumptionPartOperationCompleted, userState);
}
private void OnGetConsumptionPartOperationCompleted(object arg) {
if ((this.GetConsumptionPartCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetConsumptionPartCompleted(this, new GetConsumptionPartCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://userWebService.asteelflash.com", ResponseNamespace="http://userWebService.asteelflash.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("out", IsNullable=true)]
public string ValidateDataOnly([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string in0) {
object[] results = this.Invoke("ValidateDataOnly", new object[] {
in0});
return ((string)(results[0]));
}
///
public void ValidateDataOnlyAsync(string in0) {
this.ValidateDataOnlyAsync(in0, null);
}
///
public void ValidateDataOnlyAsync(string in0, object userState) {
if ((this.ValidateDataOnlyOperationCompleted == null)) {
this.ValidateDataOnlyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnValidateDataOnlyOperationCompleted);
}
this.InvokeAsync("ValidateDataOnly", new object[] {
in0}, this.ValidateDataOnlyOperationCompleted, userState);
}
private void OnValidateDataOnlyOperationCompleted(object arg) {
if ((this.ValidateDataOnlyCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ValidateDataOnlyCompleted(this, new ValidateDataOnlyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
public new void CancelAsync(object userState) {
base.CancelAsync(userState);
}
private bool IsLocalFileSystemWebService(string url) {
if (((url == null)
|| (url == string.Empty))) {
return false;
}
System.Uri wsUri = new System.Uri(url);
if (((wsUri.Port >= 1024)
&& (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
return true;
}
return false;
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void RefreshCacheCompletedEventHandler(object sender, RefreshCacheCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class RefreshCacheCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal RefreshCacheCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void ValidateBeforeTestCompletedEventHandler(object sender, ValidateBeforeTestCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class ValidateBeforeTestCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal ValidateBeforeTestCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void GetDataFromMesCompletedEventHandler(object sender, GetDataFromMesCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetDataFromMesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetDataFromMesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void SaveDataAfterTestCompletedEventHandler(object sender, SaveDataAfterTestCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class SaveDataAfterTestCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal SaveDataAfterTestCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void ValidateAndCompleteCompletedEventHandler(object sender, ValidateAndCompleteCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class ValidateAndCompleteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal ValidateAndCompleteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void GetConsumptionPartCompletedEventHandler(object sender, GetConsumptionPartCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetConsumptionPartCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetConsumptionPartCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void ValidateDataOnlyCompletedEventHandler(object sender, ValidateDataOnlyCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class ValidateDataOnlyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal ValidateDataOnlyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
}
#pragma warning restore 1591