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.

622 lines
24 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
//
// 此源代码是由 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;
/// <remarks/>
[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;
/// <remarks/>
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;
}
}
/// <remarks/>
public event miReleaseSfcWithActivityByShoporderCompletedEventHandler miReleaseSfcWithActivityByShoporderCompleted;
/// <remarks/>
public event miReleaseSfcWithActivityCompletedEventHandler miReleaseSfcWithActivityCompleted;
/// <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("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]));
}
/// <remarks/>
public void miReleaseSfcWithActivityByShoporderAsync(miReleaseSfcWithActivityByShoporder miReleaseSfcWithActivityByShoporder1) {
this.miReleaseSfcWithActivityByShoporderAsync(miReleaseSfcWithActivityByShoporder1, null);
}
/// <remarks/>
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));
}
}
/// <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("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]));
}
/// <remarks/>
public void miReleaseSfcWithActivityAsync(miReleaseSfcWithActivity miReleaseSfcWithActivity1) {
this.miReleaseSfcWithActivityAsync(miReleaseSfcWithActivity1, null);
}
/// <remarks/>
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));
}
}
/// <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.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;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public releaseSfcWithActivityRequest ReleaseSfcWithActivityRequest {
get {
return this.releaseSfcWithActivityRequestField;
}
set {
this.releaseSfcWithActivityRequestField = value;
}
}
}
/// <remarks/>
[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;
/// <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 resource {
get {
return this.resourceField;
}
set {
this.resourceField = 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 decimal sfcQty {
get {
return this.sfcQtyField;
}
set {
this.sfcQtyField = 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 string user {
get {
return this.userField;
}
set {
this.userField = value;
}
}
/// <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 bool isCarrierType {
get {
return this.isCarrierTypeField;
}
set {
this.isCarrierTypeField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public columnOrRow ColumnOrRowFirst {
get {
return this.columnOrRowFirstField;
}
set {
this.columnOrRowFirstField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool ColumnOrRowFirstSpecified {
get {
return this.columnOrRowFirstFieldSpecified;
}
set {
this.columnOrRowFirstFieldSpecified = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("location", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string[] location {
get {
return this.locationField;
}
set {
this.locationField = 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(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string shopOrder {
get {
return this.shopOrderField;
}
set {
this.shopOrderField = value;
}
}
}
/// <remarks/>
[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 {
/// <remarks/>
ROW_FIRST,
/// <remarks/>
COLUMN_FIRST,
}
/// <remarks/>
[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 {
/// <remarks/>
MODE_NONE,
/// <remarks/>
MODE_START_SFC,
/// <remarks/>
MODE_COMPLETE_SFC,
/// <remarks/>
MODE_PASS_SFC,
/// <remarks/>
MODE_START_COMPLETE_SFC,
}
/// <remarks/>
[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;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public releaseSfcWithActivityResponse @return {
get {
return this.returnField;
}
set {
this.returnField = value;
}
}
}
/// <remarks/>
[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;
/// <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("sfcArray", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public sfcWithLocation[] sfcArray {
get {
return this.sfcArrayField;
}
set {
this.sfcArrayField = value;
}
}
}
/// <remarks/>
[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;
/// <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 carrierLocation {
get {
return this.carrierLocationField;
}
set {
this.carrierLocationField = value;
}
}
}
/// <remarks/>
[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;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public releaseSfcWithActivityRequest ReleaseSfcWithActivityRequest {
get {
return this.releaseSfcWithActivityRequestField;
}
set {
this.releaseSfcWithActivityRequestField = value;
}
}
}
/// <remarks/>
[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;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public releaseSfcWithActivityResponse @return {
get {
return this.returnField;
}
set {
this.returnField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")]
public delegate void miReleaseSfcWithActivityByShoporderCompletedEventHandler(object sender, miReleaseSfcWithActivityByShoporderCompletedEventArgs e);
/// <remarks/>
[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;
}
/// <remarks/>
public miReleaseSfcWithActivityByShoporderResponse Result {
get {
this.RaiseExceptionIfNecessary();
return ((miReleaseSfcWithActivityByShoporderResponse)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.7.3190.0")]
public delegate void miReleaseSfcWithActivityCompletedEventHandler(object sender, miReleaseSfcWithActivityCompletedEventArgs e);
/// <remarks/>
[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;
}
/// <remarks/>
public miReleaseSfcWithActivityResponse Result {
get {
this.RaiseExceptionIfNecessary();
return ((miReleaseSfcWithActivityResponse)(this.results[0]));
}
}
}
}
#pragma warning restore 1591