//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ // // 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。 // #pragma warning disable 1591 namespace MaterialTraceability.WebService.MiBatchCompleteSfcAndAdujustQtyServiceService { 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.3761.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="MiBatchCompleteSfcAndAdujustQtyServiceBinding", Namespace="http://machineintegration.ws.atlmes.com/")] public partial class MiBatchCompleteSfcAndAdujustQtyServiceService : System.Web.Services.Protocols.SoapHttpClientProtocol { private System.Threading.SendOrPostCallback MiBatchCompleteSfcAndAdujustQtyOperationCompleted; private bool useDefaultCredentialsSetExplicitly; /// public MiBatchCompleteSfcAndAdujustQtyServiceService() { this.Url = global::MaterialTraceability.WebService.Properties.Settings.Default.MaterialTraceability_WebService_MiBatchCompleteSfcAndAdujustQtyServiceService_MiBatchCompleteSfcAndAdujustQtyServiceService; 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 MiBatchCompleteSfcAndAdujustQtyCompletedEventHandler MiBatchCompleteSfcAndAdujustQtyCompleted; /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)] [return: System.Xml.Serialization.XmlElementAttribute("MiBatchCompleteSfcAndAdujustQtyResponse", Namespace="http://machineintegration.ws.atlmes.com/")] public MiBatchCompleteSfcAndAdujustQtyResponse MiBatchCompleteSfcAndAdujustQty([System.Xml.Serialization.XmlElementAttribute("MiBatchCompleteSfcAndAdujustQty", Namespace="http://machineintegration.ws.atlmes.com/")] MiBatchCompleteSfcAndAdujustQty MiBatchCompleteSfcAndAdujustQty1) { object[] results = this.Invoke("MiBatchCompleteSfcAndAdujustQty", new object[] { MiBatchCompleteSfcAndAdujustQty1}); return ((MiBatchCompleteSfcAndAdujustQtyResponse)(results[0])); } /// public void MiBatchCompleteSfcAndAdujustQtyAsync(MiBatchCompleteSfcAndAdujustQty MiBatchCompleteSfcAndAdujustQty1) { this.MiBatchCompleteSfcAndAdujustQtyAsync(MiBatchCompleteSfcAndAdujustQty1, null); } /// public void MiBatchCompleteSfcAndAdujustQtyAsync(MiBatchCompleteSfcAndAdujustQty MiBatchCompleteSfcAndAdujustQty1, object userState) { if ((this.MiBatchCompleteSfcAndAdujustQtyOperationCompleted == null)) { this.MiBatchCompleteSfcAndAdujustQtyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnMiBatchCompleteSfcAndAdujustQtyOperationCompleted); } this.InvokeAsync("MiBatchCompleteSfcAndAdujustQty", new object[] { MiBatchCompleteSfcAndAdujustQty1}, this.MiBatchCompleteSfcAndAdujustQtyOperationCompleted, userState); } private void OnMiBatchCompleteSfcAndAdujustQtyOperationCompleted(object arg) { if ((this.MiBatchCompleteSfcAndAdujustQtyCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.MiBatchCompleteSfcAndAdujustQtyCompleted(this, new MiBatchCompleteSfcAndAdujustQtyCompletedEventArgs(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.8.3761.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://machineintegration.ws.atlmes.com/")] public partial class MiBatchCompleteSfcAndAdujustQty { private miBatchCompleteSfcAndAdujustQtyRequest miBatchCompleteSfcAndAdujustQtyRequestField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public miBatchCompleteSfcAndAdujustQtyRequest MiBatchCompleteSfcAndAdujustQtyRequest { get { return this.miBatchCompleteSfcAndAdujustQtyRequestField; } set { this.miBatchCompleteSfcAndAdujustQtyRequestField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.3761.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://machineintegration.ws.atlmes.com/")] public partial class miBatchCompleteSfcAndAdujustQtyRequest { private string siteField; private string sfcPreField; private string processLotPreField; private string operationField; private string operationRevisionField; private string resourceField; private string userField; private string activityField; private ModeProcessSfc modeProcessSfcField; private miBatchCompleteSfcAndAdujustQtySfcEntity[] sfcListField; private string tailMarkField; /// [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 sfcPre { get { return this.sfcPreField; } set { this.sfcPreField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string processLotPre { get { return this.processLotPreField; } set { this.processLotPreField = 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 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 ModeProcessSfc modeProcessSfc { get { return this.modeProcessSfcField; } set { this.modeProcessSfcField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("sfcList", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public miBatchCompleteSfcAndAdujustQtySfcEntity[] sfcList { get { return this.sfcListField; } set { this.sfcListField = value; } } /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public string tailMark { get { return this.tailMarkField; } set { this.tailMarkField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.3761.0")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://machineintegration.ws.atlmes.com/")] public enum ModeProcessSfc { /// MODE_NONE, /// MODE_START_SFC_PRE_DC, /// MODE_COMPLETE_SFC_POST_DC, /// MODE_PASS_SFC_POST_DC, /// MODE_REMOVE_PROCESSLOT_COMPLETE_SFC_POST_DC, /// MODE_START_SFC_PRE_DC_SFC_COMPLETE, } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.3761.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://machineintegration.ws.atlmes.com/")] public partial class miBatchCompleteSfcAndAdujustQtySfcEntity { private string processLotField; private string sfcField; private string qtyField; private string unitField; /// [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 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.8.3761.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://machineintegration.ws.atlmes.com/")] public partial class sfcAndProcessLotEntity { private string processLotField; private string sfcField; /// [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 string sfc { get { return this.sfcField; } set { this.sfcField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.3761.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://machineintegration.ws.atlmes.com/")] public partial class miBatchCompleteSfcAndAdujustQtyResponse { private int codeField; private bool codeFieldSpecified; private string messageField; private sfcAndProcessLotEntity[] entityField; /// [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("entity", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public sfcAndProcessLotEntity[] entity { get { return this.entityField; } set { this.entityField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.3761.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://machineintegration.ws.atlmes.com/")] public partial class MiBatchCompleteSfcAndAdujustQtyResponse { private miBatchCompleteSfcAndAdujustQtyResponse returnField; /// [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] public miBatchCompleteSfcAndAdujustQtyResponse @return { get { return this.returnField; } set { this.returnField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3761.0")] public delegate void MiBatchCompleteSfcAndAdujustQtyCompletedEventHandler(object sender, MiBatchCompleteSfcAndAdujustQtyCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3761.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class MiBatchCompleteSfcAndAdujustQtyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal MiBatchCompleteSfcAndAdujustQtyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public MiBatchCompleteSfcAndAdujustQtyResponse Result { get { this.RaiseExceptionIfNecessary(); return ((MiBatchCompleteSfcAndAdujustQtyResponse)(this.results[0])); } } } } #pragma warning restore 1591