//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ // // 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。 // #pragma warning disable 1591 namespace MaterialTraceability.WebService.MiSignOffSFCsServiceService { 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="MiSignOffSFCsServiceBinding", Namespace="http://machineintegration.ws.atlmes.com/")] public partial class MiSignOffSFCsServiceService : System.Web.Services.Protocols.SoapHttpClientProtocol { private System.Threading.SendOrPostCallback miSignOffSFCsOperationCompleted; private bool useDefaultCredentialsSetExplicitly; /// public MiSignOffSFCsServiceService() { this.Url = global::MaterialTraceability.WebService.Properties.Settings.Default.MaterialTraceability_WebService_MiSignOffSFCsServiceService_MiSignOffSFCsServiceService; 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 miSignOffSFCsCompletedEventHandler miSignOffSFCsCompleted; /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)] [return: System.Xml.Serialization.XmlElementAttribute("miSignOffSFCsResponse", Namespace="http://machineintegration.ws.atlmes.com/")] public miSignOffSFCsResponse miSignOffSFCs([System.Xml.Serialization.XmlElementAttribute("miSignOffSFCs", Namespace="http://machineintegration.ws.atlmes.com/")] miSignOffSFCs miSignOffSFCs1) { object[] results = this.Invoke("miSignOffSFCs", new object[] { miSignOffSFCs1}); return ((miSignOffSFCsResponse)(results[0])); } /// public void miSignOffSFCsAsync(miSignOffSFCs miSignOffSFCs1) { this.miSignOffSFCsAsync(miSignOffSFCs1, null); } /// public void miSignOffSFCsAsync(miSignOffSFCs miSignOffSFCs1, object userState) { if ((this.miSignOffSFCsOperationCompleted == null)) { this.miSignOffSFCsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnmiSignOffSFCsOperationCompleted); } this.InvokeAsync("miSignOffSFCs", new object[] { miSignOffSFCs1}, this.miSignOffSFCsOperationCompleted, userState); } private void OnmiSignOffSFCsOperationCompleted(object arg) { if ((this.miSignOffSFCsCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.miSignOffSFCsCompleted(this, new miSignOffSFCsCompletedEventArgs(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 miSignOffSFCs { private signOffSFCsRequest signOffSFCsRequestField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public signOffSFCsRequest SignOffSFCsRequest { get { return this.signOffSFCsRequestField; } set { this.signOffSFCsRequestField = 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 signOffSFCsRequest { private string siteField; private string operationField; private string operationRevField; private string resourceField; private string userField; private string activityField; private string amountField; private string[] sfcDataArrayField; /// [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 operation { get { return this.operationField; } set { this.operationField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string operationRev { get { return this.operationRevField; } set { this.operationRevField = 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 user { get { return this.userField; } set { this.userField = 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 amount { get { return this.amountField; } set { this.amountField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("sfcDataArray", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string[] sfcDataArray { get { return this.sfcDataArrayField; } set { this.sfcDataArrayField = 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 signOffSFCsResponse { private int codeField; private bool codeFieldSpecified; private string messageField; private int failedLocationField; private bool failedLocationFieldSpecified; private string failedSfcField; /// [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(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public int failedLocation { get { return this.failedLocationField; } set { this.failedLocationField = value; } } /// [System.Xml.Serialization.XmlIgnoreAttribute()] public bool failedLocationSpecified { get { return this.failedLocationFieldSpecified; } set { this.failedLocationFieldSpecified = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string failedSfc { get { return this.failedSfcField; } set { this.failedSfcField = 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 miSignOffSFCsResponse { private signOffSFCsResponse returnField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public signOffSFCsResponse @return { get { return this.returnField; } set { this.returnField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")] public delegate void miSignOffSFCsCompletedEventHandler(object sender, miSignOffSFCsCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class miSignOffSFCsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal miSignOffSFCsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public miSignOffSFCsResponse Result { get { this.RaiseExceptionIfNecessary(); return ((miSignOffSFCsResponse)(this.results[0])); } } } } #pragma warning restore 1591