//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ // // 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。 // #pragma warning disable 1591 namespace MaterialTraceability.WebService.MiReleaseSfcWithActivityServiceService { 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="MiReleaseSfcWithActivityServiceBinding", Namespace="http://machineintegration.ws.atlmes.com/")] public partial class MiReleaseSfcWithActivityServiceService : System.Web.Services.Protocols.SoapHttpClientProtocol { private System.Threading.SendOrPostCallback miReleaseSfcWithActivityByShoporderOperationCompleted; private System.Threading.SendOrPostCallback miReleaseSfcWithActivityOperationCompleted; private bool useDefaultCredentialsSetExplicitly; /// public MiReleaseSfcWithActivityServiceService() { this.Url = global::MaterialTraceability.WebService.Properties.Settings.Default.MaterialTraceability_WebService_MiReleaseSfcWithActivityServiceService_MiReleaseSfcWithActivityServiceService; 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 miReleaseSfcWithActivityByShoporderCompletedEventHandler miReleaseSfcWithActivityByShoporderCompleted; /// public event miReleaseSfcWithActivityCompletedEventHandler miReleaseSfcWithActivityCompleted; /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)] [return: System.Xml.Serialization.XmlElementAttribute("miReleaseSfcWithActivityByShoporderResponse", Namespace="http://machineintegration.ws.atlmes.com/")] public miReleaseSfcWithActivityByShoporderResponse miReleaseSfcWithActivityByShoporder([System.Xml.Serialization.XmlElementAttribute("miReleaseSfcWithActivityByShoporder", Namespace="http://machineintegration.ws.atlmes.com/")] miReleaseSfcWithActivityByShoporder miReleaseSfcWithActivityByShoporder1) { object[] results = this.Invoke("miReleaseSfcWithActivityByShoporder", new object[] { miReleaseSfcWithActivityByShoporder1}); return ((miReleaseSfcWithActivityByShoporderResponse)(results[0])); } /// public void miReleaseSfcWithActivityByShoporderAsync(miReleaseSfcWithActivityByShoporder miReleaseSfcWithActivityByShoporder1) { this.miReleaseSfcWithActivityByShoporderAsync(miReleaseSfcWithActivityByShoporder1, null); } /// public void miReleaseSfcWithActivityByShoporderAsync(miReleaseSfcWithActivityByShoporder miReleaseSfcWithActivityByShoporder1, object userState) { if ((this.miReleaseSfcWithActivityByShoporderOperationCompleted == null)) { this.miReleaseSfcWithActivityByShoporderOperationCompleted = new System.Threading.SendOrPostCallback(this.OnmiReleaseSfcWithActivityByShoporderOperationCompleted); } this.InvokeAsync("miReleaseSfcWithActivityByShoporder", new object[] { miReleaseSfcWithActivityByShoporder1}, this.miReleaseSfcWithActivityByShoporderOperationCompleted, userState); } private void OnmiReleaseSfcWithActivityByShoporderOperationCompleted(object arg) { if ((this.miReleaseSfcWithActivityByShoporderCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.miReleaseSfcWithActivityByShoporderCompleted(this, new miReleaseSfcWithActivityByShoporderCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)] [return: System.Xml.Serialization.XmlElementAttribute("miReleaseSfcWithActivityResponse", Namespace="http://machineintegration.ws.atlmes.com/")] public miReleaseSfcWithActivityResponse miReleaseSfcWithActivity([System.Xml.Serialization.XmlElementAttribute("miReleaseSfcWithActivity", Namespace="http://machineintegration.ws.atlmes.com/")] miReleaseSfcWithActivity miReleaseSfcWithActivity1) { object[] results = this.Invoke("miReleaseSfcWithActivity", new object[] { miReleaseSfcWithActivity1}); return ((miReleaseSfcWithActivityResponse)(results[0])); } /// public void miReleaseSfcWithActivityAsync(miReleaseSfcWithActivity miReleaseSfcWithActivity1) { this.miReleaseSfcWithActivityAsync(miReleaseSfcWithActivity1, null); } /// public void miReleaseSfcWithActivityAsync(miReleaseSfcWithActivity miReleaseSfcWithActivity1, object userState) { if ((this.miReleaseSfcWithActivityOperationCompleted == null)) { this.miReleaseSfcWithActivityOperationCompleted = new System.Threading.SendOrPostCallback(this.OnmiReleaseSfcWithActivityOperationCompleted); } this.InvokeAsync("miReleaseSfcWithActivity", new object[] { miReleaseSfcWithActivity1}, this.miReleaseSfcWithActivityOperationCompleted, userState); } private void OnmiReleaseSfcWithActivityOperationCompleted(object arg) { if ((this.miReleaseSfcWithActivityCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.miReleaseSfcWithActivityCompleted(this, new miReleaseSfcWithActivityCompletedEventArgs(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://machineintegration.ws.atlmes.com/")] public partial class miReleaseSfcWithActivityByShoporder { private releaseSfcWithActivityRequest releaseSfcWithActivityRequestField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public releaseSfcWithActivityRequest ReleaseSfcWithActivityRequest { get { return this.releaseSfcWithActivityRequestField; } set { this.releaseSfcWithActivityRequestField = 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://machineintegration.ws.atlmes.com/")] public partial class releaseSfcWithActivityRequest { private string siteField; private string resourceField; private string operationField; private string operationRevisionField; private decimal sfcQtyField; private string activityField; private string userField; private string processlotField; private bool isCarrierTypeField; private columnOrRow columnOrRowFirstField; private bool columnOrRowFirstFieldSpecified; private string[] locationField; private modeProcessSFC modeProcessSFCField; private string shopOrderField; /// [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 resource { get { return this.resourceField; } set { this.resourceField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string operation { get { return this.operationField; } set { this.operationField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string operationRevision { get { return this.operationRevisionField; } set { this.operationRevisionField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public decimal sfcQty { get { return this.sfcQtyField; } set { this.sfcQtyField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string activity { get { return this.activityField; } set { this.activityField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string user { get { return this.userField; } set { this.userField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string processlot { get { return this.processlotField; } set { this.processlotField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public bool isCarrierType { get { return this.isCarrierTypeField; } set { this.isCarrierTypeField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public columnOrRow ColumnOrRowFirst { get { return this.columnOrRowFirstField; } set { this.columnOrRowFirstField = value; } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] public bool ColumnOrRowFirstSpecified { get { return this.columnOrRowFirstFieldSpecified; } set { this.columnOrRowFirstFieldSpecified = value; } } /// [System.Xml.Serialization.XmlElementAttribute("location", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string[] location { get { return this.locationField; } set { this.locationField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public modeProcessSFC modeProcessSFC { get { return this.modeProcessSFCField; } set { this.modeProcessSFCField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string shopOrder { get { return this.shopOrderField; } set { this.shopOrderField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3190.0")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://machineintegration.ws.atlmes.com/")] public enum columnOrRow { /// ROW_FIRST, /// COLUMN_FIRST, } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.3190.0")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://machineintegration.ws.atlmes.com/")] public enum modeProcessSFC { /// MODE_NONE, /// MODE_START_SFC, /// MODE_COMPLETE_SFC, /// MODE_PASS_SFC, /// MODE_START_COMPLETE_SFC, } /// [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://machineintegration.ws.atlmes.com/")] public partial class miReleaseSfcWithActivityResponse { private releaseSfcWithActivityResponse returnField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public releaseSfcWithActivityResponse @return { get { return this.returnField; } set { this.returnField = 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://machineintegration.ws.atlmes.com/")] public partial class releaseSfcWithActivityResponse { private int codeField; private bool codeFieldSpecified; private string messageField; private sfcWithLocation[] sfcArrayField; /// [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.Xml.Serialization.XmlElementAttribute("sfcArray", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public sfcWithLocation[] sfcArray { get { return this.sfcArrayField; } set { this.sfcArrayField = 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://machineintegration.ws.atlmes.com/")] public partial class sfcWithLocation { private string sfcField; private string carrierLocationField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string sfc { get { return this.sfcField; } set { this.sfcField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string carrierLocation { get { return this.carrierLocationField; } set { this.carrierLocationField = 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://machineintegration.ws.atlmes.com/")] public partial class miReleaseSfcWithActivity { private releaseSfcWithActivityRequest releaseSfcWithActivityRequestField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public releaseSfcWithActivityRequest ReleaseSfcWithActivityRequest { get { return this.releaseSfcWithActivityRequestField; } set { this.releaseSfcWithActivityRequestField = 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://machineintegration.ws.atlmes.com/")] public partial class miReleaseSfcWithActivityByShoporderResponse { private releaseSfcWithActivityResponse returnField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public releaseSfcWithActivityResponse @return { get { return this.returnField; } set { this.returnField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")] public delegate void miReleaseSfcWithActivityByShoporderCompletedEventHandler(object sender, miReleaseSfcWithActivityByShoporderCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class miReleaseSfcWithActivityByShoporderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal miReleaseSfcWithActivityByShoporderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public miReleaseSfcWithActivityByShoporderResponse Result { get { this.RaiseExceptionIfNecessary(); return ((miReleaseSfcWithActivityByShoporderResponse)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")] public delegate void miReleaseSfcWithActivityCompletedEventHandler(object sender, miReleaseSfcWithActivityCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class miReleaseSfcWithActivityCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal miReleaseSfcWithActivityCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public miReleaseSfcWithActivityResponse Result { get { this.RaiseExceptionIfNecessary(); return ((miReleaseSfcWithActivityResponse)(this.results[0])); } } } } #pragma warning restore 1591