|
|
|
|
@ -14,12 +14,12 @@
|
|
|
|
|
#pragma warning disable 1591
|
|
|
|
|
|
|
|
|
|
namespace FactorySystemApi.Plm_Formula {
|
|
|
|
|
using System;
|
|
|
|
|
using System.Web.Services;
|
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
using System.Web.Services.Protocols;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Web.Services.Protocols;
|
|
|
|
|
using System.Web.Services;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
@ -39,6 +39,10 @@ namespace FactorySystemApi.Plm_Formula {
|
|
|
|
|
|
|
|
|
|
private System.Threading.SendOrPostCallback GetSpecificationsListOperationCompleted;
|
|
|
|
|
|
|
|
|
|
private System.Threading.SendOrPostCallback GetCraftURLOperationCompleted;
|
|
|
|
|
|
|
|
|
|
private System.Threading.SendOrPostCallback testOperationCompleted;
|
|
|
|
|
|
|
|
|
|
private bool useDefaultCredentialsSetExplicitly;
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
@ -98,6 +102,12 @@ namespace FactorySystemApi.Plm_Formula {
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public event GetSpecificationsListCompletedEventHandler GetSpecificationsListCompleted;
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public event GetCraftURLCompletedEventHandler GetCraftURLCompleted;
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public event testCompletedEventHandler testCompleted;
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("MySoapHeaderValue")]
|
|
|
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateMaterialSpec", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
|
|
|
@ -192,19 +202,19 @@ namespace FactorySystemApi.Plm_Formula {
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSpecificationsList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
|
|
|
public RestResult GetSpecificationsList(Specifications[] Specificationinfo) {
|
|
|
|
|
public RestResult GetSpecificationsList(InputSpecifications Specificationinfo) {
|
|
|
|
|
object[] results = this.Invoke("GetSpecificationsList", new object[] {
|
|
|
|
|
Specificationinfo});
|
|
|
|
|
return ((RestResult)(results[0]));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public void GetSpecificationsListAsync(Specifications[] Specificationinfo) {
|
|
|
|
|
public void GetSpecificationsListAsync(InputSpecifications Specificationinfo) {
|
|
|
|
|
this.GetSpecificationsListAsync(Specificationinfo, null);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public void GetSpecificationsListAsync(Specifications[] Specificationinfo, object userState) {
|
|
|
|
|
public void GetSpecificationsListAsync(InputSpecifications Specificationinfo, object userState) {
|
|
|
|
|
if ((this.GetSpecificationsListOperationCompleted == null)) {
|
|
|
|
|
this.GetSpecificationsListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSpecificationsListOperationCompleted);
|
|
|
|
|
}
|
|
|
|
|
@ -219,6 +229,62 @@ namespace FactorySystemApi.Plm_Formula {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetCraftURL", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
|
|
|
public RestResult GetCraftURL(Specifications[] Specificationinfo) {
|
|
|
|
|
object[] results = this.Invoke("GetCraftURL", new object[] {
|
|
|
|
|
Specificationinfo});
|
|
|
|
|
return ((RestResult)(results[0]));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public void GetCraftURLAsync(Specifications[] Specificationinfo) {
|
|
|
|
|
this.GetCraftURLAsync(Specificationinfo, null);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public void GetCraftURLAsync(Specifications[] Specificationinfo, object userState) {
|
|
|
|
|
if ((this.GetCraftURLOperationCompleted == null)) {
|
|
|
|
|
this.GetCraftURLOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCraftURLOperationCompleted);
|
|
|
|
|
}
|
|
|
|
|
this.InvokeAsync("GetCraftURL", new object[] {
|
|
|
|
|
Specificationinfo}, this.GetCraftURLOperationCompleted, userState);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void OnGetCraftURLOperationCompleted(object arg) {
|
|
|
|
|
if ((this.GetCraftURLCompleted != null)) {
|
|
|
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
|
|
|
this.GetCraftURLCompleted(this, new GetCraftURLCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/test", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
|
|
|
public string test() {
|
|
|
|
|
object[] results = this.Invoke("test", new object[0]);
|
|
|
|
|
return ((string)(results[0]));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public void testAsync() {
|
|
|
|
|
this.testAsync(null);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public void testAsync(object userState) {
|
|
|
|
|
if ((this.testOperationCompleted == null)) {
|
|
|
|
|
this.testOperationCompleted = new System.Threading.SendOrPostCallback(this.OntestOperationCompleted);
|
|
|
|
|
}
|
|
|
|
|
this.InvokeAsync("test", new object[0], this.testOperationCompleted, userState);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void OntestOperationCompleted(object arg) {
|
|
|
|
|
if ((this.testCompleted != null)) {
|
|
|
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
|
|
|
this.testCompleted(this, new testCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public new void CancelAsync(object userState) {
|
|
|
|
|
base.CancelAsync(userState);
|
|
|
|
|
@ -285,6 +351,84 @@ namespace FactorySystemApi.Plm_Formula {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")]
|
|
|
|
|
[System.SerializableAttribute()]
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
|
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
|
|
|
|
|
public partial class InputSpecifications {
|
|
|
|
|
|
|
|
|
|
private string uSERNAMEField;
|
|
|
|
|
|
|
|
|
|
private string pASSWORDField;
|
|
|
|
|
|
|
|
|
|
private Specifications[] specificationsField;
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public string USERNAME {
|
|
|
|
|
get {
|
|
|
|
|
return this.uSERNAMEField;
|
|
|
|
|
}
|
|
|
|
|
set {
|
|
|
|
|
this.uSERNAMEField = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public string PASSWORD {
|
|
|
|
|
get {
|
|
|
|
|
return this.pASSWORDField;
|
|
|
|
|
}
|
|
|
|
|
set {
|
|
|
|
|
this.pASSWORDField = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public Specifications[] Specifications {
|
|
|
|
|
get {
|
|
|
|
|
return this.specificationsField;
|
|
|
|
|
}
|
|
|
|
|
set {
|
|
|
|
|
this.specificationsField = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")]
|
|
|
|
|
[System.SerializableAttribute()]
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
|
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
|
|
|
|
|
public partial class Specifications {
|
|
|
|
|
|
|
|
|
|
private string spField;
|
|
|
|
|
|
|
|
|
|
private string sP_VersionField;
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public string SP {
|
|
|
|
|
get {
|
|
|
|
|
return this.spField;
|
|
|
|
|
}
|
|
|
|
|
set {
|
|
|
|
|
this.spField = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public string SP_Version {
|
|
|
|
|
get {
|
|
|
|
|
return this.sP_VersionField;
|
|
|
|
|
}
|
|
|
|
|
set {
|
|
|
|
|
this.sP_VersionField = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")]
|
|
|
|
|
[System.SerializableAttribute()]
|
|
|
|
|
@ -624,63 +768,6 @@ namespace FactorySystemApi.Plm_Formula {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")]
|
|
|
|
|
[System.SerializableAttribute()]
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
|
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
|
|
|
|
|
public partial class Specifications {
|
|
|
|
|
|
|
|
|
|
private string codeField;
|
|
|
|
|
|
|
|
|
|
private string versionField;
|
|
|
|
|
|
|
|
|
|
public string SP { get; set; }
|
|
|
|
|
public string SP_Version { get; set; }
|
|
|
|
|
|
|
|
|
|
//public string SP { get
|
|
|
|
|
// {
|
|
|
|
|
// return this.codeField;
|
|
|
|
|
// }
|
|
|
|
|
// set
|
|
|
|
|
// {
|
|
|
|
|
// this.codeField = value;
|
|
|
|
|
// }
|
|
|
|
|
//}
|
|
|
|
|
//public string SP_Version
|
|
|
|
|
//{
|
|
|
|
|
// get
|
|
|
|
|
// {
|
|
|
|
|
// return this.versionField;
|
|
|
|
|
// }
|
|
|
|
|
// set
|
|
|
|
|
// {
|
|
|
|
|
// this.versionField = value;
|
|
|
|
|
// }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public string Code {
|
|
|
|
|
get {
|
|
|
|
|
return this.codeField;
|
|
|
|
|
}
|
|
|
|
|
set {
|
|
|
|
|
this.codeField = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public string Version {
|
|
|
|
|
get {
|
|
|
|
|
return this.versionField;
|
|
|
|
|
}
|
|
|
|
|
set {
|
|
|
|
|
this.versionField = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")]
|
|
|
|
|
[System.SerializableAttribute()]
|
|
|
|
|
@ -1666,6 +1753,58 @@ namespace FactorySystemApi.Plm_Formula {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
|
|
|
|
|
public delegate void GetCraftURLCompletedEventHandler(object sender, GetCraftURLCompletedEventArgs e);
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
|
|
|
public partial class GetCraftURLCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
|
|
|
|
|
|
private object[] results;
|
|
|
|
|
|
|
|
|
|
internal GetCraftURLCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
|
|
|
base(exception, cancelled, userState) {
|
|
|
|
|
this.results = results;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public RestResult Result {
|
|
|
|
|
get {
|
|
|
|
|
this.RaiseExceptionIfNecessary();
|
|
|
|
|
return ((RestResult)(this.results[0]));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
|
|
|
|
|
public delegate void testCompletedEventHandler(object sender, testCompletedEventArgs e);
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
|
|
|
public partial class testCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
|
|
|
|
|
|
private object[] results;
|
|
|
|
|
|
|
|
|
|
internal testCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
|
|
|
base(exception, cancelled, userState) {
|
|
|
|
|
this.results = results;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <remarks/>
|
|
|
|
|
public string Result {
|
|
|
|
|
get {
|
|
|
|
|
this.RaiseExceptionIfNecessary();
|
|
|
|
|
return ((string)(this.results[0]));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#pragma warning restore 1591
|