//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ // // 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。 // #pragma warning disable 1591 namespace MaterialTraceability.WebService.WarehouseIntegrationServiceService { 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.7.3190.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="WarehouseIntegrationServiceBinding", Namespace="http://warehouse.ws.atlmes.com/")] public partial class WarehouseIntegrationServiceService : System.Web.Services.Protocols.SoapHttpClientProtocol { private System.Threading.SendOrPostCallback warehouseInventoryTransferOperationCompleted; private bool useDefaultCredentialsSetExplicitly; /// public WarehouseIntegrationServiceService() { this.Url = global::MaterialTraceability.WebService.Properties.Settings.Default.MaterialTraceability_WebService_WarehouseIntegrationServiceService_WarehouseIntegrationServiceService; 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 warehouseInventoryTransferCompletedEventHandler warehouseInventoryTransferCompleted; /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)] [return: System.Xml.Serialization.XmlElementAttribute("warehouseInventoryTransferResponse", Namespace="http://warehouse.ws.atlmes.com/")] public warehouseInventoryTransferResponse warehouseInventoryTransfer([System.Xml.Serialization.XmlElementAttribute("warehouseInventoryTransfer", Namespace="http://warehouse.ws.atlmes.com/")] warehouseInventoryTransfer warehouseInventoryTransfer1) { object[] results = this.Invoke("warehouseInventoryTransfer", new object[] { warehouseInventoryTransfer1}); return ((warehouseInventoryTransferResponse)(results[0])); } /// public void warehouseInventoryTransferAsync(warehouseInventoryTransfer warehouseInventoryTransfer1) { this.warehouseInventoryTransferAsync(warehouseInventoryTransfer1, null); } /// public void warehouseInventoryTransferAsync(warehouseInventoryTransfer warehouseInventoryTransfer1, object userState) { if ((this.warehouseInventoryTransferOperationCompleted == null)) { this.warehouseInventoryTransferOperationCompleted = new System.Threading.SendOrPostCallback(this.OnwarehouseInventoryTransferOperationCompleted); } this.InvokeAsync("warehouseInventoryTransfer", new object[] { warehouseInventoryTransfer1}, this.warehouseInventoryTransferOperationCompleted, userState); } private void OnwarehouseInventoryTransferOperationCompleted(object arg) { if ((this.warehouseInventoryTransferCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.warehouseInventoryTransferCompleted(this, new warehouseInventoryTransferCompletedEventArgs(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.Xml", "4.7.3190.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://warehouse.ws.atlmes.com/")] public partial class warehouseInventoryTransfer { private warehouseIntegrationrRequest requestField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public warehouseIntegrationrRequest Request { get { return this.requestField; } set { this.requestField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3190.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://warehouse.ws.atlmes.com/")] public partial class warehouseIntegrationrRequest { private string siteField; private string slSourceField; private string slTargetField; private string processIdField; private string orderSourceField; private string orderTargetField; private string remarkHField; private string crtUserField; private string postUserField; private string comment1Field; private string comment2Field; private warehouseIntegrationData[] inventoryListField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string site { get { return this.siteField; } set { this.siteField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string slSource { get { return this.slSourceField; } set { this.slSourceField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string slTarget { get { return this.slTargetField; } set { this.slTargetField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string processId { get { return this.processIdField; } set { this.processIdField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string orderSource { get { return this.orderSourceField; } set { this.orderSourceField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string orderTarget { get { return this.orderTargetField; } set { this.orderTargetField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string remarkH { get { return this.remarkHField; } set { this.remarkHField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string crtUser { get { return this.crtUserField; } set { this.crtUserField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string postUser { get { return this.postUserField; } set { this.postUserField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string comment1 { get { return this.comment1Field; } set { this.comment1Field = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string comment2 { get { return this.comment2Field; } set { this.comment2Field = value; } } /// [System.Xml.Serialization.XmlElementAttribute("inventoryList", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public warehouseIntegrationData[] inventoryList { get { return this.inventoryListField; } set { this.inventoryListField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3190.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://warehouse.ws.atlmes.com/")] public partial class warehouseIntegrationData { private string inventoryField; private string qtyField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string inventory { get { return this.inventoryField; } set { this.inventoryField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string qty { get { return this.qtyField; } set { this.qtyField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3190.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://warehouse.ws.atlmes.com/")] public partial class warehouseIntegrationResponse { private int codeField; private bool codeFieldSpecified; private string messageField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public int code { get { return this.codeField; } set { this.codeField = value; } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] public bool codeSpecified { get { return this.codeFieldSpecified; } set { this.codeFieldSpecified = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string message { get { return this.messageField; } set { this.messageField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3190.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://warehouse.ws.atlmes.com/")] public partial class warehouseInventoryTransferResponse { private warehouseIntegrationResponse returnField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public warehouseIntegrationResponse @return { get { return this.returnField; } set { this.returnField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")] public delegate void warehouseInventoryTransferCompletedEventHandler(object sender, warehouseInventoryTransferCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class warehouseInventoryTransferCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal warehouseInventoryTransferCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public warehouseInventoryTransferResponse Result { get { this.RaiseExceptionIfNecessary(); return ((warehouseInventoryTransferResponse)(this.results[0])); } } } } #pragma warning restore 1591