You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

529 lines
19 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
//
// 此源代码是由 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;
/// <remarks/>
[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;
/// <remarks/>
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;
}
}
/// <remarks/>
public event MiBatchCompleteSfcAndAdujustQtyCompletedEventHandler MiBatchCompleteSfcAndAdujustQtyCompleted;
/// <remarks/>
[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]));
}
/// <remarks/>
public void MiBatchCompleteSfcAndAdujustQtyAsync(MiBatchCompleteSfcAndAdujustQty MiBatchCompleteSfcAndAdujustQty1) {
this.MiBatchCompleteSfcAndAdujustQtyAsync(MiBatchCompleteSfcAndAdujustQty1, null);
}
/// <remarks/>
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));
}
}
/// <remarks/>
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;
}
}
/// <remarks/>
[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;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public miBatchCompleteSfcAndAdujustQtyRequest MiBatchCompleteSfcAndAdujustQtyRequest {
get {
return this.miBatchCompleteSfcAndAdujustQtyRequestField;
}
set {
this.miBatchCompleteSfcAndAdujustQtyRequestField = value;
}
}
}
/// <remarks/>
[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;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string site {
get {
return this.siteField;
}
set {
this.siteField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string sfcPre {
get {
return this.sfcPreField;
}
set {
this.sfcPreField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string processLotPre {
get {
return this.processLotPreField;
}
set {
this.processLotPreField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string operation {
get {
return this.operationField;
}
set {
this.operationField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string operationRevision {
get {
return this.operationRevisionField;
}
set {
this.operationRevisionField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string resource {
get {
return this.resourceField;
}
set {
this.resourceField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string user {
get {
return this.userField;
}
set {
this.userField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string activity {
get {
return this.activityField;
}
set {
this.activityField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public ModeProcessSfc modeProcessSfc {
get {
return this.modeProcessSfcField;
}
set {
this.modeProcessSfcField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("sfcList", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public miBatchCompleteSfcAndAdujustQtySfcEntity[] sfcList {
get {
return this.sfcListField;
}
set {
this.sfcListField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string tailMark {
get {
return this.tailMarkField;
}
set {
this.tailMarkField = value;
}
}
}
/// <remarks/>
[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 {
/// <remarks/>
MODE_NONE,
/// <remarks/>
MODE_START_SFC_PRE_DC,
/// <remarks/>
MODE_COMPLETE_SFC_POST_DC,
/// <remarks/>
MODE_PASS_SFC_POST_DC,
/// <remarks/>
MODE_REMOVE_PROCESSLOT_COMPLETE_SFC_POST_DC,
/// <remarks/>
MODE_START_SFC_PRE_DC_SFC_COMPLETE,
}
/// <remarks/>
[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;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string processLot {
get {
return this.processLotField;
}
set {
this.processLotField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string sfc {
get {
return this.sfcField;
}
set {
this.sfcField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string qty {
get {
return this.qtyField;
}
set {
this.qtyField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string unit {
get {
return this.unitField;
}
set {
this.unitField = value;
}
}
}
/// <remarks/>
[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;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string processLot {
get {
return this.processLotField;
}
set {
this.processLotField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string sfc {
get {
return this.sfcField;
}
set {
this.sfcField = value;
}
}
}
/// <remarks/>
[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;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public int code {
get {
return this.codeField;
}
set {
this.codeField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool codeSpecified {
get {
return this.codeFieldSpecified;
}
set {
this.codeFieldSpecified = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string message {
get {
return this.messageField;
}
set {
this.messageField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("entity", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public sfcAndProcessLotEntity[] entity {
get {
return this.entityField;
}
set {
this.entityField = value;
}
}
}
/// <remarks/>
[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;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public miBatchCompleteSfcAndAdujustQtyResponse @return {
get {
return this.returnField;
}
set {
this.returnField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.3761.0")]
public delegate void MiBatchCompleteSfcAndAdujustQtyCompletedEventHandler(object sender, MiBatchCompleteSfcAndAdujustQtyCompletedEventArgs e);
/// <remarks/>
[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;
}
/// <remarks/>
public MiBatchCompleteSfcAndAdujustQtyResponse Result {
get {
this.RaiseExceptionIfNecessary();
return ((MiBatchCompleteSfcAndAdujustQtyResponse)(this.results[0]));
}
}
}
}
#pragma warning restore 1591