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.

1064 lines
49 KiB

1 year ago
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
//
// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。
//
#pragma warning disable 1591
namespace CK.SCP.Controller.BomVersion {
using System;
using System.Web.Services;
using System.Diagnostics;
using System.Web.Services.Protocols;
using System.Xml.Serialization;
using System.ComponentModel;
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="JsonServiceSoap", Namespace="http://tempuri.org/")]
public partial class JsonService : System.Web.Services.Protocols.SoapHttpClientProtocol {
private System.Threading.SendOrPostCallback GetVerOperationCompleted;
private System.Threading.SendOrPostCallback WriteLogOperationCompleted;
private System.Threading.SendOrPostCallback LoginOperationCompleted;
private System.Threading.SendOrPostCallback LogoutOperationCompleted;
private System.Threading.SendOrPostCallback ModifyPasswordOperationCompleted;
private System.Threading.SendOrPostCallback GetServerTimeOperationCompleted;
private System.Threading.SendOrPostCallback DecryptOperationCompleted;
private System.Threading.SendOrPostCallback EncryptOperationCompleted;
private System.Threading.SendOrPostCallback GetCountOperationCompleted;
private System.Threading.SendOrPostCallback GetDataOperationCompleted;
private System.Threading.SendOrPostCallback AddDataOperationCompleted;
private System.Threading.SendOrPostCallback GetBomVersionOperationCompleted;
private System.Threading.SendOrPostCallback UpdateDataOperationCompleted;
private System.Threading.SendOrPostCallback SaveSeqencingOperationCompleted;
private System.Threading.SendOrPostCallback AddMutualDataOperationCompleted;
private System.Threading.SendOrPostCallback ReceiveProductsOperationCompleted;
private bool useDefaultCredentialsSetExplicitly;
/// <remarks/>
public JsonService() {
this.Url = global::CK.SCP.Controller.Properties.Settings.Default.CK_SCP_Controller_BomVersion_JsonService;
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;
}
}
/// <remarks/>
public event GetVerCompletedEventHandler GetVerCompleted;
/// <remarks/>
public event WriteLogCompletedEventHandler WriteLogCompleted;
/// <remarks/>
public event LoginCompletedEventHandler LoginCompleted;
/// <remarks/>
public event LogoutCompletedEventHandler LogoutCompleted;
/// <remarks/>
public event ModifyPasswordCompletedEventHandler ModifyPasswordCompleted;
/// <remarks/>
public event GetServerTimeCompletedEventHandler GetServerTimeCompleted;
/// <remarks/>
public event DecryptCompletedEventHandler DecryptCompleted;
/// <remarks/>
public event EncryptCompletedEventHandler EncryptCompleted;
/// <remarks/>
public event GetCountCompletedEventHandler GetCountCompleted;
/// <remarks/>
public event GetDataCompletedEventHandler GetDataCompleted;
/// <remarks/>
public event AddDataCompletedEventHandler AddDataCompleted;
/// <remarks/>
public event GetBomVersionCompletedEventHandler GetBomVersionCompleted;
/// <remarks/>
public event UpdateDataCompletedEventHandler UpdateDataCompleted;
/// <remarks/>
public event SaveSeqencingCompletedEventHandler SaveSeqencingCompleted;
/// <remarks/>
public event AddMutualDataCompletedEventHandler AddMutualDataCompleted;
/// <remarks/>
public event ReceiveProductsCompletedEventHandler ReceiveProductsCompleted;
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetVer", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetVer() {
object[] results = this.Invoke("GetVer", new object[0]);
return ((string)(results[0]));
}
/// <remarks/>
public void GetVerAsync() {
this.GetVerAsync(null);
}
/// <remarks/>
public void GetVerAsync(object userState) {
if ((this.GetVerOperationCompleted == null)) {
this.GetVerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetVerOperationCompleted);
}
this.InvokeAsync("GetVer", new object[0], this.GetVerOperationCompleted, userState);
}
private void OnGetVerOperationCompleted(object arg) {
if ((this.GetVerCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetVerCompleted(this, new GetVerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/WriteLog", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string WriteLog(string operCode, string function, string message) {
object[] results = this.Invoke("WriteLog", new object[] {
operCode,
function,
message});
return ((string)(results[0]));
}
/// <remarks/>
public void WriteLogAsync(string operCode, string function, string message) {
this.WriteLogAsync(operCode, function, message, null);
}
/// <remarks/>
public void WriteLogAsync(string operCode, string function, string message, object userState) {
if ((this.WriteLogOperationCompleted == null)) {
this.WriteLogOperationCompleted = new System.Threading.SendOrPostCallback(this.OnWriteLogOperationCompleted);
}
this.InvokeAsync("WriteLog", new object[] {
operCode,
function,
message}, this.WriteLogOperationCompleted, userState);
}
private void OnWriteLogOperationCompleted(object arg) {
if ((this.WriteLogCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.WriteLogCompleted(this, new WriteLogCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Login", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string Login(string operCode, string password) {
object[] results = this.Invoke("Login", new object[] {
operCode,
password});
return ((string)(results[0]));
}
/// <remarks/>
public void LoginAsync(string operCode, string password) {
this.LoginAsync(operCode, password, null);
}
/// <remarks/>
public void LoginAsync(string operCode, string password, object userState) {
if ((this.LoginOperationCompleted == null)) {
this.LoginOperationCompleted = new System.Threading.SendOrPostCallback(this.OnLoginOperationCompleted);
}
this.InvokeAsync("Login", new object[] {
operCode,
password}, this.LoginOperationCompleted, userState);
}
private void OnLoginOperationCompleted(object arg) {
if ((this.LoginCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.LoginCompleted(this, new LoginCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Logout", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string Logout(string operCode) {
object[] results = this.Invoke("Logout", new object[] {
operCode});
return ((string)(results[0]));
}
/// <remarks/>
public void LogoutAsync(string operCode) {
this.LogoutAsync(operCode, null);
}
/// <remarks/>
public void LogoutAsync(string operCode, object userState) {
if ((this.LogoutOperationCompleted == null)) {
this.LogoutOperationCompleted = new System.Threading.SendOrPostCallback(this.OnLogoutOperationCompleted);
}
this.InvokeAsync("Logout", new object[] {
operCode}, this.LogoutOperationCompleted, userState);
}
private void OnLogoutOperationCompleted(object arg) {
if ((this.LogoutCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.LogoutCompleted(this, new LogoutCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ModifyPassword", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string ModifyPassword(string operCode, string oldPass, string newPass) {
object[] results = this.Invoke("ModifyPassword", new object[] {
operCode,
oldPass,
newPass});
return ((string)(results[0]));
}
/// <remarks/>
public void ModifyPasswordAsync(string operCode, string oldPass, string newPass) {
this.ModifyPasswordAsync(operCode, oldPass, newPass, null);
}
/// <remarks/>
public void ModifyPasswordAsync(string operCode, string oldPass, string newPass, object userState) {
if ((this.ModifyPasswordOperationCompleted == null)) {
this.ModifyPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnModifyPasswordOperationCompleted);
}
this.InvokeAsync("ModifyPassword", new object[] {
operCode,
oldPass,
newPass}, this.ModifyPasswordOperationCompleted, userState);
}
private void OnModifyPasswordOperationCompleted(object arg) {
if ((this.ModifyPasswordCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ModifyPasswordCompleted(this, new ModifyPasswordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetServerTime", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.DateTime GetServerTime() {
object[] results = this.Invoke("GetServerTime", new object[0]);
return ((System.DateTime)(results[0]));
}
/// <remarks/>
public void GetServerTimeAsync() {
this.GetServerTimeAsync(null);
}
/// <remarks/>
public void GetServerTimeAsync(object userState) {
if ((this.GetServerTimeOperationCompleted == null)) {
this.GetServerTimeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServerTimeOperationCompleted);
}
this.InvokeAsync("GetServerTime", new object[0], this.GetServerTimeOperationCompleted, userState);
}
private void OnGetServerTimeOperationCompleted(object arg) {
if ((this.GetServerTimeCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetServerTimeCompleted(this, new GetServerTimeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Decrypt", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string Decrypt(string str) {
object[] results = this.Invoke("Decrypt", new object[] {
str});
return ((string)(results[0]));
}
/// <remarks/>
public void DecryptAsync(string str) {
this.DecryptAsync(str, null);
}
/// <remarks/>
public void DecryptAsync(string str, object userState) {
if ((this.DecryptOperationCompleted == null)) {
this.DecryptOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDecryptOperationCompleted);
}
this.InvokeAsync("Decrypt", new object[] {
str}, this.DecryptOperationCompleted, userState);
}
private void OnDecryptOperationCompleted(object arg) {
if ((this.DecryptCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.DecryptCompleted(this, new DecryptCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Encrypt", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string Encrypt(string str) {
object[] results = this.Invoke("Encrypt", new object[] {
str});
return ((string)(results[0]));
}
/// <remarks/>
public void EncryptAsync(string str) {
this.EncryptAsync(str, null);
}
/// <remarks/>
public void EncryptAsync(string str, object userState) {
if ((this.EncryptOperationCompleted == null)) {
this.EncryptOperationCompleted = new System.Threading.SendOrPostCallback(this.OnEncryptOperationCompleted);
}
this.InvokeAsync("Encrypt", new object[] {
str}, this.EncryptOperationCompleted, userState);
}
private void OnEncryptOperationCompleted(object arg) {
if ((this.EncryptCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.EncryptCompleted(this, new EncryptCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetCount", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int GetCount(string jsonParam) {
object[] results = this.Invoke("GetCount", new object[] {
jsonParam});
return ((int)(results[0]));
}
/// <remarks/>
public void GetCountAsync(string jsonParam) {
this.GetCountAsync(jsonParam, null);
}
/// <remarks/>
public void GetCountAsync(string jsonParam, object userState) {
if ((this.GetCountOperationCompleted == null)) {
this.GetCountOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCountOperationCompleted);
}
this.InvokeAsync("GetCount", new object[] {
jsonParam}, this.GetCountOperationCompleted, userState);
}
private void OnGetCountOperationCompleted(object arg) {
if ((this.GetCountCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetCountCompleted(this, new GetCountCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetData", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetData(string jsonParam) {
object[] results = this.Invoke("GetData", new object[] {
jsonParam});
return ((string)(results[0]));
}
/// <remarks/>
public void GetDataAsync(string jsonParam) {
this.GetDataAsync(jsonParam, null);
}
/// <remarks/>
public void GetDataAsync(string jsonParam, object userState) {
if ((this.GetDataOperationCompleted == null)) {
this.GetDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDataOperationCompleted);
}
this.InvokeAsync("GetData", new object[] {
jsonParam}, this.GetDataOperationCompleted, userState);
}
private void OnGetDataOperationCompleted(object arg) {
if ((this.GetDataCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetDataCompleted(this, new GetDataCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddData", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string AddData(string jsonParam, string strJson) {
object[] results = this.Invoke("AddData", new object[] {
jsonParam,
strJson});
return ((string)(results[0]));
}
/// <remarks/>
public void AddDataAsync(string jsonParam, string strJson) {
this.AddDataAsync(jsonParam, strJson, null);
}
/// <remarks/>
public void AddDataAsync(string jsonParam, string strJson, object userState) {
if ((this.AddDataOperationCompleted == null)) {
this.AddDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddDataOperationCompleted);
}
this.InvokeAsync("AddData", new object[] {
jsonParam,
strJson}, this.AddDataOperationCompleted, userState);
}
private void OnAddDataOperationCompleted(object arg) {
if ((this.AddDataCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.AddDataCompleted(this, new AddDataCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetBomVersion", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetBomVersion(string ParentPartCode, string SubPartCode) {
object[] results = this.Invoke("GetBomVersion", new object[] {
ParentPartCode,
SubPartCode});
return ((string)(results[0]));
}
/// <remarks/>
public void GetBomVersionAsync(string ParentPartCode, string SubPartCode) {
this.GetBomVersionAsync(ParentPartCode, SubPartCode, null);
}
/// <remarks/>
public void GetBomVersionAsync(string ParentPartCode, string SubPartCode, object userState) {
if ((this.GetBomVersionOperationCompleted == null)) {
this.GetBomVersionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetBomVersionOperationCompleted);
}
this.InvokeAsync("GetBomVersion", new object[] {
ParentPartCode,
SubPartCode}, this.GetBomVersionOperationCompleted, userState);
}
private void OnGetBomVersionOperationCompleted(object arg) {
if ((this.GetBomVersionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetBomVersionCompleted(this, new GetBomVersionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/UpdateData", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string UpdateData(string jsonParam, string strJson) {
object[] results = this.Invoke("UpdateData", new object[] {
jsonParam,
strJson});
return ((string)(results[0]));
}
/// <remarks/>
public void UpdateDataAsync(string jsonParam, string strJson) {
this.UpdateDataAsync(jsonParam, strJson, null);
}
/// <remarks/>
public void UpdateDataAsync(string jsonParam, string strJson, object userState) {
if ((this.UpdateDataOperationCompleted == null)) {
this.UpdateDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateDataOperationCompleted);
}
this.InvokeAsync("UpdateData", new object[] {
jsonParam,
strJson}, this.UpdateDataOperationCompleted, userState);
}
private void OnUpdateDataOperationCompleted(object arg) {
if ((this.UpdateDataCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.UpdateDataCompleted(this, new UpdateDataCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SaveSeqencing", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string SaveSeqencing(string strJson) {
object[] results = this.Invoke("SaveSeqencing", new object[] {
strJson});
return ((string)(results[0]));
}
/// <remarks/>
public void SaveSeqencingAsync(string strJson) {
this.SaveSeqencingAsync(strJson, null);
}
/// <remarks/>
public void SaveSeqencingAsync(string strJson, object userState) {
if ((this.SaveSeqencingOperationCompleted == null)) {
this.SaveSeqencingOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSaveSeqencingOperationCompleted);
}
this.InvokeAsync("SaveSeqencing", new object[] {
strJson}, this.SaveSeqencingOperationCompleted, userState);
}
private void OnSaveSeqencingOperationCompleted(object arg) {
if ((this.SaveSeqencingCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.SaveSeqencingCompleted(this, new SaveSeqencingCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddMutualData", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string AddMutualData(string jsonParam, string strJson) {
object[] results = this.Invoke("AddMutualData", new object[] {
jsonParam,
strJson});
return ((string)(results[0]));
}
/// <remarks/>
public void AddMutualDataAsync(string jsonParam, string strJson) {
this.AddMutualDataAsync(jsonParam, strJson, null);
}
/// <remarks/>
public void AddMutualDataAsync(string jsonParam, string strJson, object userState) {
if ((this.AddMutualDataOperationCompleted == null)) {
this.AddMutualDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddMutualDataOperationCompleted);
}
this.InvokeAsync("AddMutualData", new object[] {
jsonParam,
strJson}, this.AddMutualDataOperationCompleted, userState);
}
private void OnAddMutualDataOperationCompleted(object arg) {
if ((this.AddMutualDataCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.AddMutualDataCompleted(this, new AddMutualDataCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ReceiveProducts", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string ReceiveProducts(string jsonParam) {
object[] results = this.Invoke("ReceiveProducts", new object[] {
jsonParam});
return ((string)(results[0]));
}
/// <remarks/>
public void ReceiveProductsAsync(string jsonParam) {
this.ReceiveProductsAsync(jsonParam, null);
}
/// <remarks/>
public void ReceiveProductsAsync(string jsonParam, object userState) {
if ((this.ReceiveProductsOperationCompleted == null)) {
this.ReceiveProductsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnReceiveProductsOperationCompleted);
}
this.InvokeAsync("ReceiveProducts", new object[] {
jsonParam}, this.ReceiveProductsOperationCompleted, userState);
}
private void OnReceiveProductsOperationCompleted(object arg) {
if ((this.ReceiveProductsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ReceiveProductsCompleted(this, new ReceiveProductsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
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;
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void GetVerCompletedEventHandler(object sender, GetVerCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetVerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetVerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void WriteLogCompletedEventHandler(object sender, WriteLogCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class WriteLogCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal WriteLogCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void LoginCompletedEventHandler(object sender, LoginCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class LoginCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal LoginCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void LogoutCompletedEventHandler(object sender, LogoutCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class LogoutCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal LogoutCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void ModifyPasswordCompletedEventHandler(object sender, ModifyPasswordCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class ModifyPasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal ModifyPasswordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void GetServerTimeCompletedEventHandler(object sender, GetServerTimeCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetServerTimeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetServerTimeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public System.DateTime Result {
get {
this.RaiseExceptionIfNecessary();
return ((System.DateTime)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void DecryptCompletedEventHandler(object sender, DecryptCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class DecryptCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal DecryptCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void EncryptCompletedEventHandler(object sender, EncryptCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class EncryptCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal EncryptCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void GetCountCompletedEventHandler(object sender, GetCountCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetCountCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetCountCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public int Result {
get {
this.RaiseExceptionIfNecessary();
return ((int)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void GetDataCompletedEventHandler(object sender, GetDataCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void AddDataCompletedEventHandler(object sender, AddDataCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AddDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal AddDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void GetBomVersionCompletedEventHandler(object sender, GetBomVersionCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetBomVersionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetBomVersionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void UpdateDataCompletedEventHandler(object sender, UpdateDataCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class UpdateDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal UpdateDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void SaveSeqencingCompletedEventHandler(object sender, SaveSeqencingCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class SaveSeqencingCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal SaveSeqencingCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void AddMutualDataCompletedEventHandler(object sender, AddMutualDataCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class AddMutualDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal AddMutualDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void ReceiveProductsCompletedEventHandler(object sender, ReceiveProductsCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class ReceiveProductsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal ReceiveProductsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
}
#pragma warning restore 1591