//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ // // 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。 // #pragma warning disable 1591 namespace MaterialTraceability.WebService.MiFirstOperationForsfcServiceService { 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="MiFirstOperationForsfcServiceBinding", Namespace="http://miFirstOperationForsfc.ws.atlmes.com/")] public partial class MiFirstOperationForsfcServiceService : System.Web.Services.Protocols.SoapHttpClientProtocol { private System.Threading.SendOrPostCallback miFirstOperationForsfcOperationCompleted; private bool useDefaultCredentialsSetExplicitly; /// public MiFirstOperationForsfcServiceService() { this.Url = global::MaterialTraceability.WebService.Properties.Settings.Default.MaterialTraceability_WebService_MiFirstOperationForsfcServiceService_MiFirstOperationForsfcServiceService; 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 miFirstOperationForsfcCompletedEventHandler miFirstOperationForsfcCompleted; /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)] [return: System.Xml.Serialization.XmlElementAttribute("miFirstOperationForsfcResponse", Namespace="http://miFirstOperationForsfc.ws.atlmes.com/")] public miFirstOperationForsfcResponse miFirstOperationForsfc([System.Xml.Serialization.XmlElementAttribute("miFirstOperationForsfc", Namespace="http://miFirstOperationForsfc.ws.atlmes.com/")] miFirstOperationForsfc miFirstOperationForsfc1) { object[] results = this.Invoke("miFirstOperationForsfc", new object[] { miFirstOperationForsfc1}); return ((miFirstOperationForsfcResponse)(results[0])); } /// public void miFirstOperationForsfcAsync(miFirstOperationForsfc miFirstOperationForsfc1) { this.miFirstOperationForsfcAsync(miFirstOperationForsfc1, null); } /// public void miFirstOperationForsfcAsync(miFirstOperationForsfc miFirstOperationForsfc1, object userState) { if ((this.miFirstOperationForsfcOperationCompleted == null)) { this.miFirstOperationForsfcOperationCompleted = new System.Threading.SendOrPostCallback(this.OnmiFirstOperationForsfcOperationCompleted); } this.InvokeAsync("miFirstOperationForsfc", new object[] { miFirstOperationForsfc1}, this.miFirstOperationForsfcOperationCompleted, userState); } private void OnmiFirstOperationForsfcOperationCompleted(object arg) { if ((this.miFirstOperationForsfcCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.miFirstOperationForsfcCompleted(this, new miFirstOperationForsfcCompletedEventArgs(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://miFirstOperationForsfc.ws.atlmes.com/")] public partial class miFirstOperationForsfc { private MiFirstOperationForsfcRequest miFirstOperationForsfcRequestField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public MiFirstOperationForsfcRequest MiFirstOperationForsfcRequest { get { return this.miFirstOperationForsfcRequestField; } set { this.miFirstOperationForsfcRequestField = 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://miFirstOperationForsfc.ws.atlmes.com/")] public partial class MiFirstOperationForsfcRequest { private string siteField; private string resourceField; private string modeProcessSfcField; private string operationField; private string activityField; private string operationRevisionField; private string userField; private string sfcField; private string processLotField; /// [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 modeProcessSfc { get { return this.modeProcessSfcField; } set { this.modeProcessSfcField = 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 activity { get { return this.activityField; } set { this.activityField = 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 string user { get { return this.userField; } set { this.userField = value; } } /// [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 processLot { get { return this.processLotField; } set { this.processLotField = 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://miFirstOperationForsfc.ws.atlmes.com/")] public partial class createSfcAndCollectDataResponse { private int codeField; private string messageField; private string sfcField; private string qtyField; private string unitField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public int code { get { return this.codeField; } set { this.codeField = 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(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 qty { get { return this.qtyField; } set { this.qtyField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string unit { get { return this.unitField; } set { this.unitField = 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://miFirstOperationForsfc.ws.atlmes.com/")] public partial class miFirstOperationForsfcResponse { private createSfcAndCollectDataResponse returnField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public createSfcAndCollectDataResponse @return { get { return this.returnField; } set { this.returnField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")] public delegate void miFirstOperationForsfcCompletedEventHandler(object sender, miFirstOperationForsfcCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class miFirstOperationForsfcCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal miFirstOperationForsfcCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public miFirstOperationForsfcResponse Result { get { this.RaiseExceptionIfNecessary(); return ((miFirstOperationForsfcResponse)(this.results[0])); } } } } #pragma warning restore 1591