diff --git a/Controller/CK.SCP.Controller.csproj b/Controller/CK.SCP.Controller.csproj index b074e9a..0b11d10 100644 --- a/Controller/CK.SCP.Controller.csproj +++ b/Controller/CK.SCP.Controller.csproj @@ -135,6 +135,11 @@ True Reference.map + + True + True + Reference.map + @@ -173,6 +178,11 @@ MSDiscoCodeGenerator Reference.cs + + + MSDiscoCodeGenerator + Reference.cs + @@ -181,6 +191,17 @@ + + Dynamic + Web References\BomVersion2\ + http://10.62.144.124:8016/JsonService.asmx + + + + + Settings + CK_SCP_Controller_WebReference_JsonService + Dynamic Web References\BomList\ @@ -238,5 +259,8 @@ + + + \ No newline at end of file diff --git a/Controller/Properties/Settings.Designer.cs b/Controller/Properties/Settings.Designer.cs index 8934f62..f52cefb 100644 --- a/Controller/Properties/Settings.Designer.cs +++ b/Controller/Properties/Settings.Designer.cs @@ -62,5 +62,15 @@ namespace CK.SCP.Controller.Properties { return ((string)(this["CK_SCP_Controller_BomList1_JsonService"])); } } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)] + [global::System.Configuration.DefaultSettingValueAttribute("http://10.62.144.124:8016/JsonService.asmx")] + public string CK_SCP_Controller_WebReference_JsonService { + get { + return ((string)(this["CK_SCP_Controller_WebReference_JsonService"])); + } + } } } diff --git a/Controller/Properties/Settings.settings b/Controller/Properties/Settings.settings index dac40e1..c37f1f3 100644 --- a/Controller/Properties/Settings.settings +++ b/Controller/Properties/Settings.settings @@ -14,5 +14,8 @@ http://10.62.144.124:8070/JsonService.asmx + + http://10.62.144.124:8016/JsonService.asmx + \ No newline at end of file diff --git a/Controller/SCP_PO_CONTROLLER.cs b/Controller/SCP_PO_CONTROLLER.cs index 2960c3a..11466e2 100644 --- a/Controller/SCP_PO_CONTROLLER.cs +++ b/Controller/SCP_PO_CONTROLLER.cs @@ -2216,7 +2216,7 @@ namespace CK.SCP.Controller /// /// /// - private static List CheckExcelMode_Po1(ScpEntities db, SCP_PO_EXPORT_IMPORT_MODEL p_excel) + private static List CheckExcelMode_Po1(ScpEntities db, SCP_PO_EXPORT_IMPORT_MODEL p_excel , bool _wmsweb) { List ErrorList = new List(); var _count = db.TA_Appliance.Count(p => p.PartNumber == p_excel.零件号 && p.VendID == p_excel.供应商编号); @@ -2224,12 +2224,25 @@ namespace CK.SCP.Controller { ErrorList.Add(string.Format("零件号码{0}与供应商{1}没有对应的基础信息!", p_excel.零件号, p_excel.供应商编号)); } - BomList1.JsonService bomVersionRe = new BomList1.JsonService(); - var _ReturnRelust = bomVersionRe.GetBomVersion(p_excel.物料号码, p_excel.组件物料号); - if (p_excel.BOM版本 != _ReturnRelust) + if (_wmsweb) { - ErrorList.Add(string.Format("物料号码{0}的BOM版本号填写错误", p_excel.物料号码)); + BomList1.JsonService bomVersionRe = new BomList1.JsonService(); + var _ReturnRelust = bomVersionRe.GetBomVersion(p_excel.物料号码, p_excel.组件物料号); + if (p_excel.BOM版本 != _ReturnRelust) + { + ErrorList.Add(string.Format("物料号码{0}的BOM版本号填写错误", p_excel.物料号码)); + } } + else + { + BomList.JsonService bomVersionRe = new BomList.JsonService(); + var _ReturnRelust = bomVersionRe.GetBomVersion(p_excel.物料号码, p_excel.组件物料号); + if (p_excel.BOM版本 != _ReturnRelust) + { + ErrorList.Add(string.Format("物料号码{0}的BOM版本号填写错误", p_excel.物料号码)); + } + } + var price = db.TB_NetPrice.Count(p => p.PartCode == p_excel.物料号码 && p.VendId == p_excel.供应商编号 && p.EndTime > DateTime.Now && p.StartTime /// /// - public static ResultObject EXCEL_PO_MOD1(DataTable p_order_list1, List p_order_list, string site, string p_creator, DateTime p_time, PoState p_modtype, string SubSite, string p_chineseName, string p_buyerPhone) + public static ResultObject EXCEL_PO_MOD1(DataTable p_order_list1, List p_order_list, string site, string p_creator, DateTime p_time, PoState p_modtype, string SubSite, string p_chineseName, string p_buyerPhone, bool _wmsweb) { ResultObject _ret = new ResultObject(); try @@ -5461,7 +5474,7 @@ namespace CK.SCP.Controller lineError.Add(string.Format("导入的物料号码{0}有重复", p.物料号码)); ErrorList = lineError; } - var _ls = CheckExcelMode_Po1(db, p); + var _ls = CheckExcelMode_Po1(db, p, _wmsweb); if (_ls.Count > 0) { lineError.Add(number.ToString()); diff --git a/Controller/Web References/BomVersion2/JsonService.disco b/Controller/Web References/BomVersion2/JsonService.disco new file mode 100644 index 0000000..c63eb0d --- /dev/null +++ b/Controller/Web References/BomVersion2/JsonService.disco @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Controller/Web References/BomVersion2/JsonService.wsdl b/Controller/Web References/BomVersion2/JsonService.wsdl new file mode 100644 index 0000000..56dd056 --- /dev/null +++ b/Controller/Web References/BomVersion2/JsonService.wsdl @@ -0,0 +1,2466 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Controller/Web References/BomVersion2/Reference.cs b/Controller/Web References/BomVersion2/Reference.cs new file mode 100644 index 0000000..f798e6e --- /dev/null +++ b/Controller/Web References/BomVersion2/Reference.cs @@ -0,0 +1,1973 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +// +// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。 +// +#pragma warning disable 1591 + +namespace CK.SCP.Controller.BomVersion2 { + 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.9037.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 NewLoginOperationCompleted; + + 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 GetErpLocOperationCompleted; + + private System.Threading.SendOrPostCallback CheckErpStocksOperationCompleted; + + private System.Threading.SendOrPostCallback GetDataOperationCompleted; + + private System.Threading.SendOrPostCallback AddDataOperationCompleted; + + private System.Threading.SendOrPostCallback AddApsPlanOperationCompleted; + + private System.Threading.SendOrPostCallback GetBomVersionOperationCompleted; + + private System.Threading.SendOrPostCallback GetBomsByVerOperationCompleted; + + private System.Threading.SendOrPostCallback GetBomOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateDataOperationCompleted; + + private System.Threading.SendOrPostCallback SaveSeqencingOperationCompleted; + + private System.Threading.SendOrPostCallback AddMutualDataOperationCompleted; + + private System.Threading.SendOrPostCallback ReceiveProductsOperationCompleted; + + private System.Threading.SendOrPostCallback ContainerReceiveOperationCompleted; + + private System.Threading.SendOrPostCallback ContainerOutOperationCompleted; + + private System.Threading.SendOrPostCallback CheckComesbackOperationCompleted; + + private System.Threading.SendOrPostCallback CreateBillMAOperationCompleted; + + private System.Threading.SendOrPostCallback AddMesFGFinOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateBillStateOperationCompleted; + + private System.Threading.SendOrPostCallback PostQmsToWmsOperationCompleted; + + private bool useDefaultCredentialsSetExplicitly; + + /// + public JsonService() { + this.Url = global::CK.SCP.Controller.Properties.Settings.Default.CK_SCP_Controller_WebReference_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; + } + } + + /// + public event GetVerCompletedEventHandler GetVerCompleted; + + /// + public event WriteLogCompletedEventHandler WriteLogCompleted; + + /// + public event LoginCompletedEventHandler LoginCompleted; + + /// + public event NewLoginCompletedEventHandler NewLoginCompleted; + + /// + public event LogoutCompletedEventHandler LogoutCompleted; + + /// + public event ModifyPasswordCompletedEventHandler ModifyPasswordCompleted; + + /// + public event GetServerTimeCompletedEventHandler GetServerTimeCompleted; + + /// + public event DecryptCompletedEventHandler DecryptCompleted; + + /// + public event EncryptCompletedEventHandler EncryptCompleted; + + /// + public event GetCountCompletedEventHandler GetCountCompleted; + + /// + public event GetErpLocCompletedEventHandler GetErpLocCompleted; + + /// + public event CheckErpStocksCompletedEventHandler CheckErpStocksCompleted; + + /// + public event GetDataCompletedEventHandler GetDataCompleted; + + /// + public event AddDataCompletedEventHandler AddDataCompleted; + + /// + public event AddApsPlanCompletedEventHandler AddApsPlanCompleted; + + /// + public event GetBomVersionCompletedEventHandler GetBomVersionCompleted; + + /// + public event GetBomsByVerCompletedEventHandler GetBomsByVerCompleted; + + /// + public event GetBomCompletedEventHandler GetBomCompleted; + + /// + public event UpdateDataCompletedEventHandler UpdateDataCompleted; + + /// + public event SaveSeqencingCompletedEventHandler SaveSeqencingCompleted; + + /// + public event AddMutualDataCompletedEventHandler AddMutualDataCompleted; + + /// + public event ReceiveProductsCompletedEventHandler ReceiveProductsCompleted; + + /// + public event ContainerReceiveCompletedEventHandler ContainerReceiveCompleted; + + /// + public event ContainerOutCompletedEventHandler ContainerOutCompleted; + + /// + public event CheckComesbackCompletedEventHandler CheckComesbackCompleted; + + /// + public event CreateBillMACompletedEventHandler CreateBillMACompleted; + + /// + public event AddMesFGFinCompletedEventHandler AddMesFGFinCompleted; + + /// + public event UpdateBillStateCompletedEventHandler UpdateBillStateCompleted; + + /// + public event PostQmsToWmsCompletedEventHandler PostQmsToWmsCompleted; + + /// + [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])); + } + + /// + public void GetVerAsync() { + this.GetVerAsync(null); + } + + /// + 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)); + } + } + + /// + [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])); + } + + /// + public void WriteLogAsync(string operCode, string function, string message) { + this.WriteLogAsync(operCode, function, message, null); + } + + /// + 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)); + } + } + + /// + [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])); + } + + /// + public void LoginAsync(string operCode, string password) { + this.LoginAsync(operCode, password, null); + } + + /// + 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)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/NewLogin", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string NewLogin(string operCode, string password) { + object[] results = this.Invoke("NewLogin", new object[] { + operCode, + password}); + return ((string)(results[0])); + } + + /// + public void NewLoginAsync(string operCode, string password) { + this.NewLoginAsync(operCode, password, null); + } + + /// + public void NewLoginAsync(string operCode, string password, object userState) { + if ((this.NewLoginOperationCompleted == null)) { + this.NewLoginOperationCompleted = new System.Threading.SendOrPostCallback(this.OnNewLoginOperationCompleted); + } + this.InvokeAsync("NewLogin", new object[] { + operCode, + password}, this.NewLoginOperationCompleted, userState); + } + + private void OnNewLoginOperationCompleted(object arg) { + if ((this.NewLoginCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.NewLoginCompleted(this, new NewLoginCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [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])); + } + + /// + public void LogoutAsync(string operCode) { + this.LogoutAsync(operCode, null); + } + + /// + 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)); + } + } + + /// + [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])); + } + + /// + public void ModifyPasswordAsync(string operCode, string oldPass, string newPass) { + this.ModifyPasswordAsync(operCode, oldPass, newPass, null); + } + + /// + 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)); + } + } + + /// + [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])); + } + + /// + public void GetServerTimeAsync() { + this.GetServerTimeAsync(null); + } + + /// + 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)); + } + } + + /// + [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])); + } + + /// + public void DecryptAsync(string str) { + this.DecryptAsync(str, null); + } + + /// + 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)); + } + } + + /// + [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])); + } + + /// + public void EncryptAsync(string str) { + this.EncryptAsync(str, null); + } + + /// + 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)); + } + } + + /// + [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])); + } + + /// + public void GetCountAsync(string jsonParam) { + this.GetCountAsync(jsonParam, null); + } + + /// + 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)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetErpLoc", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string GetErpLoc(string partCode, string productVer) { + object[] results = this.Invoke("GetErpLoc", new object[] { + partCode, + productVer}); + return ((string)(results[0])); + } + + /// + public void GetErpLocAsync(string partCode, string productVer) { + this.GetErpLocAsync(partCode, productVer, null); + } + + /// + public void GetErpLocAsync(string partCode, string productVer, object userState) { + if ((this.GetErpLocOperationCompleted == null)) { + this.GetErpLocOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetErpLocOperationCompleted); + } + this.InvokeAsync("GetErpLoc", new object[] { + partCode, + productVer}, this.GetErpLocOperationCompleted, userState); + } + + private void OnGetErpLocOperationCompleted(object arg) { + if ((this.GetErpLocCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetErpLocCompleted(this, new GetErpLocCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CheckErpStocks", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public void CheckErpStocks(string partCode, string vendBatch, string loc, decimal qty) { + this.Invoke("CheckErpStocks", new object[] { + partCode, + vendBatch, + loc, + qty}); + } + + /// + public void CheckErpStocksAsync(string partCode, string vendBatch, string loc, decimal qty) { + this.CheckErpStocksAsync(partCode, vendBatch, loc, qty, null); + } + + /// + public void CheckErpStocksAsync(string partCode, string vendBatch, string loc, decimal qty, object userState) { + if ((this.CheckErpStocksOperationCompleted == null)) { + this.CheckErpStocksOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckErpStocksOperationCompleted); + } + this.InvokeAsync("CheckErpStocks", new object[] { + partCode, + vendBatch, + loc, + qty}, this.CheckErpStocksOperationCompleted, userState); + } + + private void OnCheckErpStocksOperationCompleted(object arg) { + if ((this.CheckErpStocksCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.CheckErpStocksCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [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])); + } + + /// + public void GetDataAsync(string jsonParam) { + this.GetDataAsync(jsonParam, null); + } + + /// + 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)); + } + } + + /// + [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])); + } + + /// + public void AddDataAsync(string jsonParam, string strJson) { + this.AddDataAsync(jsonParam, strJson, null); + } + + /// + 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)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddApsPlan", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string AddApsPlan(string planType, string factoryCode, string strJson) { + object[] results = this.Invoke("AddApsPlan", new object[] { + planType, + factoryCode, + strJson}); + return ((string)(results[0])); + } + + /// + public void AddApsPlanAsync(string planType, string factoryCode, string strJson) { + this.AddApsPlanAsync(planType, factoryCode, strJson, null); + } + + /// + public void AddApsPlanAsync(string planType, string factoryCode, string strJson, object userState) { + if ((this.AddApsPlanOperationCompleted == null)) { + this.AddApsPlanOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddApsPlanOperationCompleted); + } + this.InvokeAsync("AddApsPlan", new object[] { + planType, + factoryCode, + strJson}, this.AddApsPlanOperationCompleted, userState); + } + + private void OnAddApsPlanOperationCompleted(object arg) { + if ((this.AddApsPlanCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddApsPlanCompleted(this, new AddApsPlanCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [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])); + } + + /// + public void GetBomVersionAsync(string ParentPartCode, string SubPartCode) { + this.GetBomVersionAsync(ParentPartCode, SubPartCode, null); + } + + /// + 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)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetBomsByVer", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string GetBomsByVer(string parentPart, string bomVer) { + object[] results = this.Invoke("GetBomsByVer", new object[] { + parentPart, + bomVer}); + return ((string)(results[0])); + } + + /// + public void GetBomsByVerAsync(string parentPart, string bomVer) { + this.GetBomsByVerAsync(parentPart, bomVer, null); + } + + /// + public void GetBomsByVerAsync(string parentPart, string bomVer, object userState) { + if ((this.GetBomsByVerOperationCompleted == null)) { + this.GetBomsByVerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetBomsByVerOperationCompleted); + } + this.InvokeAsync("GetBomsByVer", new object[] { + parentPart, + bomVer}, this.GetBomsByVerOperationCompleted, userState); + } + + private void OnGetBomsByVerOperationCompleted(object arg) { + if ((this.GetBomsByVerCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetBomsByVerCompleted(this, new GetBomsByVerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetBom", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string GetBom(string pcode, string scode) { + object[] results = this.Invoke("GetBom", new object[] { + pcode, + scode}); + return ((string)(results[0])); + } + + /// + public void GetBomAsync(string pcode, string scode) { + this.GetBomAsync(pcode, scode, null); + } + + /// + public void GetBomAsync(string pcode, string scode, object userState) { + if ((this.GetBomOperationCompleted == null)) { + this.GetBomOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetBomOperationCompleted); + } + this.InvokeAsync("GetBom", new object[] { + pcode, + scode}, this.GetBomOperationCompleted, userState); + } + + private void OnGetBomOperationCompleted(object arg) { + if ((this.GetBomCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetBomCompleted(this, new GetBomCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [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])); + } + + /// + public void UpdateDataAsync(string jsonParam, string strJson) { + this.UpdateDataAsync(jsonParam, strJson, null); + } + + /// + 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)); + } + } + + /// + [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])); + } + + /// + public void SaveSeqencingAsync(string strJson) { + this.SaveSeqencingAsync(strJson, null); + } + + /// + 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)); + } + } + + /// + [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])); + } + + /// + public void AddMutualDataAsync(string jsonParam, string strJson) { + this.AddMutualDataAsync(jsonParam, strJson, null); + } + + /// + 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)); + } + } + + /// + [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])); + } + + /// + public void ReceiveProductsAsync(string jsonParam) { + this.ReceiveProductsAsync(jsonParam, null); + } + + /// + 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)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ContainerReceive", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string ContainerReceive(string strJson) { + object[] results = this.Invoke("ContainerReceive", new object[] { + strJson}); + return ((string)(results[0])); + } + + /// + public void ContainerReceiveAsync(string strJson) { + this.ContainerReceiveAsync(strJson, null); + } + + /// + public void ContainerReceiveAsync(string strJson, object userState) { + if ((this.ContainerReceiveOperationCompleted == null)) { + this.ContainerReceiveOperationCompleted = new System.Threading.SendOrPostCallback(this.OnContainerReceiveOperationCompleted); + } + this.InvokeAsync("ContainerReceive", new object[] { + strJson}, this.ContainerReceiveOperationCompleted, userState); + } + + private void OnContainerReceiveOperationCompleted(object arg) { + if ((this.ContainerReceiveCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.ContainerReceiveCompleted(this, new ContainerReceiveCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ContainerOut", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string ContainerOut(string strJson) { + object[] results = this.Invoke("ContainerOut", new object[] { + strJson}); + return ((string)(results[0])); + } + + /// + public void ContainerOutAsync(string strJson) { + this.ContainerOutAsync(strJson, null); + } + + /// + public void ContainerOutAsync(string strJson, object userState) { + if ((this.ContainerOutOperationCompleted == null)) { + this.ContainerOutOperationCompleted = new System.Threading.SendOrPostCallback(this.OnContainerOutOperationCompleted); + } + this.InvokeAsync("ContainerOut", new object[] { + strJson}, this.ContainerOutOperationCompleted, userState); + } + + private void OnContainerOutOperationCompleted(object arg) { + if ((this.ContainerOutCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.ContainerOutCompleted(this, new ContainerOutCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CheckComesback", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string CheckComesback(string strJson) { + object[] results = this.Invoke("CheckComesback", new object[] { + strJson}); + return ((string)(results[0])); + } + + /// + public void CheckComesbackAsync(string strJson) { + this.CheckComesbackAsync(strJson, null); + } + + /// + public void CheckComesbackAsync(string strJson, object userState) { + if ((this.CheckComesbackOperationCompleted == null)) { + this.CheckComesbackOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckComesbackOperationCompleted); + } + this.InvokeAsync("CheckComesback", new object[] { + strJson}, this.CheckComesbackOperationCompleted, userState); + } + + private void OnCheckComesbackOperationCompleted(object arg) { + if ((this.CheckComesbackCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.CheckComesbackCompleted(this, new CheckComesbackCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateBillMA", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string CreateBillMA(string strJson) { + object[] results = this.Invoke("CreateBillMA", new object[] { + strJson}); + return ((string)(results[0])); + } + + /// + public void CreateBillMAAsync(string strJson) { + this.CreateBillMAAsync(strJson, null); + } + + /// + public void CreateBillMAAsync(string strJson, object userState) { + if ((this.CreateBillMAOperationCompleted == null)) { + this.CreateBillMAOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateBillMAOperationCompleted); + } + this.InvokeAsync("CreateBillMA", new object[] { + strJson}, this.CreateBillMAOperationCompleted, userState); + } + + private void OnCreateBillMAOperationCompleted(object arg) { + if ((this.CreateBillMACompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.CreateBillMACompleted(this, new CreateBillMACompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddMesFGFin", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string AddMesFGFin(string strJson) { + object[] results = this.Invoke("AddMesFGFin", new object[] { + strJson}); + return ((string)(results[0])); + } + + /// + public void AddMesFGFinAsync(string strJson) { + this.AddMesFGFinAsync(strJson, null); + } + + /// + public void AddMesFGFinAsync(string strJson, object userState) { + if ((this.AddMesFGFinOperationCompleted == null)) { + this.AddMesFGFinOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddMesFGFinOperationCompleted); + } + this.InvokeAsync("AddMesFGFin", new object[] { + strJson}, this.AddMesFGFinOperationCompleted, userState); + } + + private void OnAddMesFGFinOperationCompleted(object arg) { + if ((this.AddMesFGFinCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddMesFGFinCompleted(this, new AddMesFGFinCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/UpdateBillState", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string UpdateBillState(string strJson) { + object[] results = this.Invoke("UpdateBillState", new object[] { + strJson}); + return ((string)(results[0])); + } + + /// + public void UpdateBillStateAsync(string strJson) { + this.UpdateBillStateAsync(strJson, null); + } + + /// + public void UpdateBillStateAsync(string strJson, object userState) { + if ((this.UpdateBillStateOperationCompleted == null)) { + this.UpdateBillStateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateBillStateOperationCompleted); + } + this.InvokeAsync("UpdateBillState", new object[] { + strJson}, this.UpdateBillStateOperationCompleted, userState); + } + + private void OnUpdateBillStateOperationCompleted(object arg) { + if ((this.UpdateBillStateCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateBillStateCompleted(this, new UpdateBillStateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/PostQmsToWms", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string PostQmsToWms( + string billNum, + string sourceBillNum, + string sourceBillNum2, + string sourceBillNum3, + decimal billType, + decimal subBillType, + decimal lineNum, + string vendId, + string vendDes, + string partCode, + string erpCode, + string batch, + System.DateTime receiveDate, + System.DateTime receiveTime, + System.DateTime inspectTime, + decimal qty, + string inspResult, + string inspectType, + string failReason, + string barCode, + decimal receiceQty, + decimal returnQty, + decimal sampleQty, + decimal inspQty, + decimal passQty, + decimal failQty, + decimal crackQty) { + object[] results = this.Invoke("PostQmsToWms", new object[] { + billNum, + sourceBillNum, + sourceBillNum2, + sourceBillNum3, + billType, + subBillType, + lineNum, + vendId, + vendDes, + partCode, + erpCode, + batch, + receiveDate, + receiveTime, + inspectTime, + qty, + inspResult, + inspectType, + failReason, + barCode, + receiceQty, + returnQty, + sampleQty, + inspQty, + passQty, + failQty, + crackQty}); + return ((string)(results[0])); + } + + /// + public void PostQmsToWmsAsync( + string billNum, + string sourceBillNum, + string sourceBillNum2, + string sourceBillNum3, + decimal billType, + decimal subBillType, + decimal lineNum, + string vendId, + string vendDes, + string partCode, + string erpCode, + string batch, + System.DateTime receiveDate, + System.DateTime receiveTime, + System.DateTime inspectTime, + decimal qty, + string inspResult, + string inspectType, + string failReason, + string barCode, + decimal receiceQty, + decimal returnQty, + decimal sampleQty, + decimal inspQty, + decimal passQty, + decimal failQty, + decimal crackQty) { + this.PostQmsToWmsAsync(billNum, sourceBillNum, sourceBillNum2, sourceBillNum3, billType, subBillType, lineNum, vendId, vendDes, partCode, erpCode, batch, receiveDate, receiveTime, inspectTime, qty, inspResult, inspectType, failReason, barCode, receiceQty, returnQty, sampleQty, inspQty, passQty, failQty, crackQty, null); + } + + /// + public void PostQmsToWmsAsync( + string billNum, + string sourceBillNum, + string sourceBillNum2, + string sourceBillNum3, + decimal billType, + decimal subBillType, + decimal lineNum, + string vendId, + string vendDes, + string partCode, + string erpCode, + string batch, + System.DateTime receiveDate, + System.DateTime receiveTime, + System.DateTime inspectTime, + decimal qty, + string inspResult, + string inspectType, + string failReason, + string barCode, + decimal receiceQty, + decimal returnQty, + decimal sampleQty, + decimal inspQty, + decimal passQty, + decimal failQty, + decimal crackQty, + object userState) { + if ((this.PostQmsToWmsOperationCompleted == null)) { + this.PostQmsToWmsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPostQmsToWmsOperationCompleted); + } + this.InvokeAsync("PostQmsToWms", new object[] { + billNum, + sourceBillNum, + sourceBillNum2, + sourceBillNum3, + billType, + subBillType, + lineNum, + vendId, + vendDes, + partCode, + erpCode, + batch, + receiveDate, + receiveTime, + inspectTime, + qty, + inspResult, + inspectType, + failReason, + barCode, + receiceQty, + returnQty, + sampleQty, + inspQty, + passQty, + failQty, + crackQty}, this.PostQmsToWmsOperationCompleted, userState); + } + + private void OnPostQmsToWmsOperationCompleted(object arg) { + if ((this.PostQmsToWmsCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.PostQmsToWmsCompleted(this, new PostQmsToWmsCompletedEventArgs(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.9037.0")] + public delegate void GetVerCompletedEventHandler(object sender, GetVerCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.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; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void WriteLogCompletedEventHandler(object sender, WriteLogCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.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; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void LoginCompletedEventHandler(object sender, LoginCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.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; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void NewLoginCompletedEventHandler(object sender, NewLoginCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class NewLoginCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal NewLoginCompletedEventArgs(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.9037.0")] + public delegate void LogoutCompletedEventHandler(object sender, LogoutCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.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; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void ModifyPasswordCompletedEventHandler(object sender, ModifyPasswordCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.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; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void GetServerTimeCompletedEventHandler(object sender, GetServerTimeCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.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; + } + + /// + public System.DateTime Result { + get { + this.RaiseExceptionIfNecessary(); + return ((System.DateTime)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void DecryptCompletedEventHandler(object sender, DecryptCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.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; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void EncryptCompletedEventHandler(object sender, EncryptCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.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; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void GetCountCompletedEventHandler(object sender, GetCountCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.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; + } + + /// + public int Result { + get { + this.RaiseExceptionIfNecessary(); + return ((int)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void GetErpLocCompletedEventHandler(object sender, GetErpLocCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetErpLocCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetErpLocCompletedEventArgs(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.9037.0")] + public delegate void CheckErpStocksCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void GetDataCompletedEventHandler(object sender, GetDataCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.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; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void AddDataCompletedEventHandler(object sender, AddDataCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.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; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void AddApsPlanCompletedEventHandler(object sender, AddApsPlanCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddApsPlanCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddApsPlanCompletedEventArgs(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.9037.0")] + public delegate void GetBomVersionCompletedEventHandler(object sender, GetBomVersionCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.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; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void GetBomsByVerCompletedEventHandler(object sender, GetBomsByVerCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetBomsByVerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetBomsByVerCompletedEventArgs(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.9037.0")] + public delegate void GetBomCompletedEventHandler(object sender, GetBomCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetBomCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetBomCompletedEventArgs(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.9037.0")] + public delegate void UpdateDataCompletedEventHandler(object sender, UpdateDataCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.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; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void SaveSeqencingCompletedEventHandler(object sender, SaveSeqencingCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.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; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void AddMutualDataCompletedEventHandler(object sender, AddMutualDataCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.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; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void ReceiveProductsCompletedEventHandler(object sender, ReceiveProductsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.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; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void ContainerReceiveCompletedEventHandler(object sender, ContainerReceiveCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ContainerReceiveCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal ContainerReceiveCompletedEventArgs(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.9037.0")] + public delegate void ContainerOutCompletedEventHandler(object sender, ContainerOutCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class ContainerOutCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal ContainerOutCompletedEventArgs(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.9037.0")] + public delegate void CheckComesbackCompletedEventHandler(object sender, CheckComesbackCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CheckComesbackCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal CheckComesbackCompletedEventArgs(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.9037.0")] + public delegate void CreateBillMACompletedEventHandler(object sender, CreateBillMACompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class CreateBillMACompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal CreateBillMACompletedEventArgs(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.9037.0")] + public delegate void AddMesFGFinCompletedEventHandler(object sender, AddMesFGFinCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddMesFGFinCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddMesFGFinCompletedEventArgs(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.9037.0")] + public delegate void UpdateBillStateCompletedEventHandler(object sender, UpdateBillStateCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateBillStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateBillStateCompletedEventArgs(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.9037.0")] + public delegate void PostQmsToWmsCompletedEventHandler(object sender, PostQmsToWmsCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class PostQmsToWmsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal PostQmsToWmsCompletedEventArgs(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 \ No newline at end of file diff --git a/Controller/Web References/BomVersion2/Reference.map b/Controller/Web References/BomVersion2/Reference.map new file mode 100644 index 0000000..fc9fb38 --- /dev/null +++ b/Controller/Web References/BomVersion2/Reference.map @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/Controller/app.config b/Controller/app.config index 8f6c9da..c8e3456 100644 --- a/Controller/app.config +++ b/Controller/app.config @@ -37,12 +37,16 @@ http://10.62.144.124:8016/JsonService.asmx - + http://192.168.0.228:7602/JsonService.asmx http://10.62.144.124:8070/JsonService.asmx + + http://10.62.144.124:8016/JsonService.asmx + diff --git a/SCP/Views/富维冲压件/SCP_PO_EXTEND.aspx.cs b/SCP/Views/富维冲压件/SCP_PO_EXTEND.aspx.cs index 9440dd8..1a14562 100644 --- a/SCP/Views/富维冲压件/SCP_PO_EXTEND.aspx.cs +++ b/SCP/Views/富维冲压件/SCP_PO_EXTEND.aspx.cs @@ -266,7 +266,12 @@ namespace SCP.Views.富维冲压件 _dt = ExcelHelper.GetDataTableOfXlsx(_stream); } var list = ConvertHelper.ToList(ExcelHelper.RemoveEmpty(_dt)).ToList(); - var ret = SCP_PO_CONTROLLER.EXCEL_PO_MOD1(_dt, list,CurrentUser.FactoryList[0], CurrentUser.Name, DateTime.Now, PoState.Open, CurrentUser.SubSiteList[0], CurrentUser.ChineseName, CurrentUser.CellPhone); + bool _wmsweb = true; + if (CurrentUser.ConfigList.ContainsKey("调用WMS测试接口")) + { + _wmsweb = false; + } + var ret = SCP_PO_CONTROLLER.EXCEL_PO_MOD1(_dt, list,CurrentUser.FactoryList[0], CurrentUser.Name, DateTime.Now, PoState.Open, CurrentUser.SubSiteList[0], CurrentUser.ChineseName, CurrentUser.CellPhone, _wmsweb); if (ret.State == ReturnStatus.Succeed && ret.Result == true) { diff --git a/UniApiGroup/Controller/OdbcApiQadController.cs b/UniApiGroup/Controller/OdbcApiQadController.cs index d366706..e72542b 100644 --- a/UniApiGroup/Controller/OdbcApiQadController.cs +++ b/UniApiGroup/Controller/OdbcApiQadController.cs @@ -1451,6 +1451,7 @@ namespace CK.SCP.GrupUniApi.Controller { User _entity = new User(); _entity.Name = vendname; + _entity.ChineseName = string.IsNullOrEmpty(qadData.NAME1) ? qadData.VENDORNO : qadData.NAME1; _entity.Remark = qadData.COMMUADDRESS.ToUpper(); _entity.Password = PasswordUtil.CreateDbPassword("555555"); _entity.Email = wmsData.VendId + "@163.com";