//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:4.0.30319.42000
//
//     对此文件的更改可能会导致不正确的行为，并且如果
//     重新生成代码，这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

// 
// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。
// 
#pragma warning disable 1591

namespace FactorySystemApi.Plm_Formula {
    using System.Diagnostics;
    using System;
    using System.Xml.Serialization;
    using System.ComponentModel;
    using System.Web.Services.Protocols;
    using System.Web.Services;
    
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="OAServiceSoap", Namespace="http://tempuri.org/")]
    public partial class OAService : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        private MySoapHeader mySoapHeaderValueField;
        
        private System.Threading.SendOrPostCallback CreateMaterialSpecOperationCompleted;
        
        private System.Threading.SendOrPostCallback OAProjectDataToPLMOperationCompleted;
        
        private System.Threading.SendOrPostCallback OAworkflowToPLMOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetSpecificationsListOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetCraftURLOperationCompleted;
        
        private System.Threading.SendOrPostCallback testOperationCompleted;
        
        private bool useDefaultCredentialsSetExplicitly;
        
        /// <remarks/>
        public OAService() {
            this.Url = global::FactorySystemApi.Properties.Settings.Default.Plm_Formula;
            if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
                this.UseDefaultCredentials = true;
                this.useDefaultCredentialsSetExplicitly = false;
            }
            else {
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        public MySoapHeader MySoapHeaderValue {
            get {
                return this.mySoapHeaderValueField;
            }
            set {
                this.mySoapHeaderValueField = value;
            }
        }
        
        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 CreateMaterialSpecCompletedEventHandler CreateMaterialSpecCompleted;
        
        /// <remarks/>
        public event OAProjectDataToPLMCompletedEventHandler OAProjectDataToPLMCompleted;
        
        /// <remarks/>
        public event OAworkflowToPLMCompletedEventHandler OAworkflowToPLMCompleted;
        
        /// <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)]
        public RestResult CreateMaterialSpec(OAMateral_New oa) {
            object[] results = this.Invoke("CreateMaterialSpec", new object[] {
                        oa});
            return ((RestResult)(results[0]));
        }
        
        /// <remarks/>
        public void CreateMaterialSpecAsync(OAMateral_New oa) {
            this.CreateMaterialSpecAsync(oa, null);
        }
        
        /// <remarks/>
        public void CreateMaterialSpecAsync(OAMateral_New oa, object userState) {
            if ((this.CreateMaterialSpecOperationCompleted == null)) {
                this.CreateMaterialSpecOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateMaterialSpecOperationCompleted);
            }
            this.InvokeAsync("CreateMaterialSpec", new object[] {
                        oa}, this.CreateMaterialSpecOperationCompleted, userState);
        }
        
        private void OnCreateMaterialSpecOperationCompleted(object arg) {
            if ((this.CreateMaterialSpecCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.CreateMaterialSpecCompleted(this, new CreateMaterialSpecCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("MySoapHeaderValue")]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/OAProjectDataToPLM", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public RestResult OAProjectDataToPLM(OAProject oAProject) {
            object[] results = this.Invoke("OAProjectDataToPLM", new object[] {
                        oAProject});
            return ((RestResult)(results[0]));
        }
        
        /// <remarks/>
        public void OAProjectDataToPLMAsync(OAProject oAProject) {
            this.OAProjectDataToPLMAsync(oAProject, null);
        }
        
        /// <remarks/>
        public void OAProjectDataToPLMAsync(OAProject oAProject, object userState) {
            if ((this.OAProjectDataToPLMOperationCompleted == null)) {
                this.OAProjectDataToPLMOperationCompleted = new System.Threading.SendOrPostCallback(this.OnOAProjectDataToPLMOperationCompleted);
            }
            this.InvokeAsync("OAProjectDataToPLM", new object[] {
                        oAProject}, this.OAProjectDataToPLMOperationCompleted, userState);
        }
        
        private void OnOAProjectDataToPLMOperationCompleted(object arg) {
            if ((this.OAProjectDataToPLMCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.OAProjectDataToPLMCompleted(this, new OAProjectDataToPLMCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapHeaderAttribute("MySoapHeaderValue")]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/OAworkflowToPLM", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public RestResult OAworkflowToPLM(OAWorkFlowInfo oAWorkFlowInfo, OAWorkFlowInfoDetial[] oAWorkFlowInfoDetial_list) {
            object[] results = this.Invoke("OAworkflowToPLM", new object[] {
                        oAWorkFlowInfo,
                        oAWorkFlowInfoDetial_list});
            return ((RestResult)(results[0]));
        }
        
        /// <remarks/>
        public void OAworkflowToPLMAsync(OAWorkFlowInfo oAWorkFlowInfo, OAWorkFlowInfoDetial[] oAWorkFlowInfoDetial_list) {
            this.OAworkflowToPLMAsync(oAWorkFlowInfo, oAWorkFlowInfoDetial_list, null);
        }
        
        /// <remarks/>
        public void OAworkflowToPLMAsync(OAWorkFlowInfo oAWorkFlowInfo, OAWorkFlowInfoDetial[] oAWorkFlowInfoDetial_list, object userState) {
            if ((this.OAworkflowToPLMOperationCompleted == null)) {
                this.OAworkflowToPLMOperationCompleted = new System.Threading.SendOrPostCallback(this.OnOAworkflowToPLMOperationCompleted);
            }
            this.InvokeAsync("OAworkflowToPLM", new object[] {
                        oAWorkFlowInfo,
                        oAWorkFlowInfoDetial_list}, this.OAworkflowToPLMOperationCompleted, userState);
        }
        
        private void OnOAworkflowToPLMOperationCompleted(object arg) {
            if ((this.OAworkflowToPLMCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.OAworkflowToPLMCompleted(this, new OAworkflowToPLMCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <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(InputSpecifications Specificationinfo) {
            object[] results = this.Invoke("GetSpecificationsList", new object[] {
                        Specificationinfo});
            return ((RestResult)(results[0]));
        }
        
        /// <remarks/>
        public void GetSpecificationsListAsync(InputSpecifications Specificationinfo) {
            this.GetSpecificationsListAsync(Specificationinfo, null);
        }
        
        /// <remarks/>
        public void GetSpecificationsListAsync(InputSpecifications Specificationinfo, object userState) {
            if ((this.GetSpecificationsListOperationCompleted == null)) {
                this.GetSpecificationsListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSpecificationsListOperationCompleted);
            }
            this.InvokeAsync("GetSpecificationsList", new object[] {
                        Specificationinfo}, this.GetSpecificationsListOperationCompleted, userState);
        }
        
        private void OnGetSpecificationsListOperationCompleted(object arg) {
            if ((this.GetSpecificationsListCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetSpecificationsListCompleted(this, new GetSpecificationsListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <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);
        }
        
        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.9032.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="http://tempuri.org/", IsNullable=false)]
    public partial class MySoapHeader : System.Web.Services.Protocols.SoapHeader {
        
        private string userNameField;
        
        private string passWordField;
        
        private System.Xml.XmlAttribute[] anyAttrField;
        
        /// <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/>
        [System.Xml.Serialization.XmlAnyAttributeAttribute()]
        public System.Xml.XmlAttribute[] AnyAttr {
            get {
                return this.anyAttrField;
            }
            set {
                this.anyAttrField = 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 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()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
    public partial class OAWorkFlowInfoDetial {
        
        private string specificationValue_ITEMField;
        
        private int ifAllowField;
        
        private int allowRevisionField;
        
        /// <remarks/>
        public string SpecificationValue_ITEM {
            get {
                return this.specificationValue_ITEMField;
            }
            set {
                this.specificationValue_ITEMField = value;
            }
        }
        
        /// <remarks/>
        public int ifAllow {
            get {
                return this.ifAllowField;
            }
            set {
                this.ifAllowField = value;
            }
        }
        
        /// <remarks/>
        public int AllowRevision {
            get {
                return this.allowRevisionField;
            }
            set {
                this.allowRevisionField = 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 OAWorkFlowInfo {
        
        private string shortDescriptionField;
        
        private string userWorkCodeField;
        
        private string applicationDaysField;
        
        /// <remarks/>
        public string ShortDescription {
            get {
                return this.shortDescriptionField;
            }
            set {
                this.shortDescriptionField = value;
            }
        }
        
        /// <remarks/>
        public string userWorkCode {
            get {
                return this.userWorkCodeField;
            }
            set {
                this.userWorkCodeField = value;
            }
        }
        
        /// <remarks/>
        public string ApplicationDays {
            get {
                return this.applicationDaysField;
            }
            set {
                this.applicationDaysField = 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 OAProject {
        
        private string hB_HBBTField;
        
        private string hB_SQRField;
        
        private string hB_SQRQField;
        
        private string hB_SQBMField;
        
        private string hB_SSGSField;
        
        private string hB_YWBKField;
        
        private string hB_SMMCField;
        
        private string hB_XMHZXZField;
        
        private string hB_XMLXField;
        
        private string hB_XMJBField;
        
        private string hB_XMBJField;
        
        private string hB_XMJZField;
        
        private string hB_KHFLField;
        
        private string hB_XMBHField;
        
        private string hB_XMURLDZField;
        
        private string hB_XMJDField;
        
        private string hB_YFBMLDField;
        
        private string hB_YYBMLDField;
        
        private string hB_TXSField;
        
        private string hB_YYGCSField;
        
        /// <remarks/>
        public string HB_HBBT {
            get {
                return this.hB_HBBTField;
            }
            set {
                this.hB_HBBTField = value;
            }
        }
        
        /// <remarks/>
        public string HB_SQR {
            get {
                return this.hB_SQRField;
            }
            set {
                this.hB_SQRField = value;
            }
        }
        
        /// <remarks/>
        public string HB_SQRQ {
            get {
                return this.hB_SQRQField;
            }
            set {
                this.hB_SQRQField = value;
            }
        }
        
        /// <remarks/>
        public string HB_SQBM {
            get {
                return this.hB_SQBMField;
            }
            set {
                this.hB_SQBMField = value;
            }
        }
        
        /// <remarks/>
        public string HB_SSGS {
            get {
                return this.hB_SSGSField;
            }
            set {
                this.hB_SSGSField = value;
            }
        }
        
        /// <remarks/>
        public string HB_YWBK {
            get {
                return this.hB_YWBKField;
            }
            set {
                this.hB_YWBKField = value;
            }
        }
        
        /// <remarks/>
        public string HB_SMMC {
            get {
                return this.hB_SMMCField;
            }
            set {
                this.hB_SMMCField = value;
            }
        }
        
        /// <remarks/>
        public string HB_XMHZXZ {
            get {
                return this.hB_XMHZXZField;
            }
            set {
                this.hB_XMHZXZField = value;
            }
        }
        
        /// <remarks/>
        public string HB_XMLX {
            get {
                return this.hB_XMLXField;
            }
            set {
                this.hB_XMLXField = value;
            }
        }
        
        /// <remarks/>
        public string HB_XMJB {
            get {
                return this.hB_XMJBField;
            }
            set {
                this.hB_XMJBField = value;
            }
        }
        
        /// <remarks/>
        public string HB_XMBJ {
            get {
                return this.hB_XMBJField;
            }
            set {
                this.hB_XMBJField = value;
            }
        }
        
        /// <remarks/>
        public string HB_XMJZ {
            get {
                return this.hB_XMJZField;
            }
            set {
                this.hB_XMJZField = value;
            }
        }
        
        /// <remarks/>
        public string HB_KHFL {
            get {
                return this.hB_KHFLField;
            }
            set {
                this.hB_KHFLField = value;
            }
        }
        
        /// <remarks/>
        public string HB_XMBH {
            get {
                return this.hB_XMBHField;
            }
            set {
                this.hB_XMBHField = value;
            }
        }
        
        /// <remarks/>
        public string HB_XMURLDZ {
            get {
                return this.hB_XMURLDZField;
            }
            set {
                this.hB_XMURLDZField = value;
            }
        }
        
        /// <remarks/>
        public string HB_XMJD {
            get {
                return this.hB_XMJDField;
            }
            set {
                this.hB_XMJDField = value;
            }
        }
        
        /// <remarks/>
        public string HB_YFBMLD {
            get {
                return this.hB_YFBMLDField;
            }
            set {
                this.hB_YFBMLDField = value;
            }
        }
        
        /// <remarks/>
        public string HB_YYBMLD {
            get {
                return this.hB_YYBMLDField;
            }
            set {
                this.hB_YYBMLDField = value;
            }
        }
        
        /// <remarks/>
        public string HB_TXS {
            get {
                return this.hB_TXSField;
            }
            set {
                this.hB_TXSField = value;
            }
        }
        
        /// <remarks/>
        public string HB_YYGCS {
            get {
                return this.hB_YYGCSField;
            }
            set {
                this.hB_YYGCSField = 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 RestResult {
        
        private int codeField;
        
        private string messageField;
        
        private object dataField;
        
        /// <remarks/>
        public int code {
            get {
                return this.codeField;
            }
            set {
                this.codeField = value;
            }
        }
        
        /// <remarks/>
        public string message {
            get {
                return this.messageField;
            }
            set {
                this.messageField = value;
            }
        }
        
        /// <remarks/>
        public object data {
            get {
                return this.dataField;
            }
            set {
                this.dataField = 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 OAMateral_New {
        
        private string factoryField;
        
        private string amountField;
        
        private string noField;
        
        private string rawMaterialDescriptionField;
        
        private string englishNameField;
        
        private string otherNamesField;
        
        private string botanicalSpeciesNameField;
        
        private string botanicalFamilyField;
        
        private string cAS_NoField;
        
        private string fL_NoField;
        
        private string fEMA_NoField;
        
        private string nAS_NoField;
        
        private string coE_NoField;
        
        private string eINECS_NoField;
        
        private string jECFA_NoField;
        
        private string eU_Additive_NoField;
        
        private string iNSField;
        
        private string cNSField;
        
        private string descriptionField;
        
        private string empiricalFormulaField;
        
        private string mwField;
        
        private string acidValueField;
        
        private string aerobicPlateCountField;
        
        private string aldehydeField;
        
        private string appearanceField;
        
        private string ash_totalField;
        
        private string assayField;
        
        private string boilingPointOrBoilingRangeField;
        
        private string coliformField;
        
        private string flashPointField;
        
        private string heavyMetals_AsField;
        
        private string asHeavyMetals_asPbhTotalField;
        
        private string insolubleMatterField;
        
        private string lC50Field;
        
        private string logPField;
        
        private string lossOnDryingField;
        
        private string meltingPointOrMeltingRangeField;
        
        private string methanolField;
        
        private string specific_OpticalRotationField;
        
        private string refractiveIndexField;
        
        private string evaporationResidueField;
        
        private string burningResidueField;
        
        private string solubilityField;
        
        private string relativeDensityField;
        
        private string vapourPressureField;
        
        private string viscosityField;
        
        private string odorField;
        
        private string moistureField;
        
        private string aromaThresholdValuesField;
        
        private string tasteThresholdValuesField;
        
        private string fragranceNotesField;
        
        private string naturalOccurrenceField;
        
        private string synthesisField;
        
        private string remarksField;
        
        private string referenceStandardField;
        
        private string mDM_codeField;
        
        private string sAP_NameField;
        
        private string supplierField;
        
        private string purchasePriceField;
        
        private string halalField;
        
        private string kosherField;
        
        private string allergenField;
        
        private string irradiationField;
        
        private string geneticallyModifiedField;
        
        private string rMCField;
        
        private string categoryField;
        
        private string oldCodeField;
        
        private string oldCode2Field;
        
        private string rawMaterialResourceField;
        
        /// <remarks/>
        public string Factory {
            get {
                return this.factoryField;
            }
            set {
                this.factoryField = value;
            }
        }
        
        /// <remarks/>
        public string Amount {
            get {
                return this.amountField;
            }
            set {
                this.amountField = value;
            }
        }
        
        /// <remarks/>
        public string No {
            get {
                return this.noField;
            }
            set {
                this.noField = value;
            }
        }
        
        /// <remarks/>
        public string RawMaterialDescription {
            get {
                return this.rawMaterialDescriptionField;
            }
            set {
                this.rawMaterialDescriptionField = value;
            }
        }
        
        /// <remarks/>
        public string EnglishName {
            get {
                return this.englishNameField;
            }
            set {
                this.englishNameField = value;
            }
        }
        
        /// <remarks/>
        public string OtherNames {
            get {
                return this.otherNamesField;
            }
            set {
                this.otherNamesField = value;
            }
        }
        
        /// <remarks/>
        public string BotanicalSpeciesName {
            get {
                return this.botanicalSpeciesNameField;
            }
            set {
                this.botanicalSpeciesNameField = value;
            }
        }
        
        /// <remarks/>
        public string BotanicalFamily {
            get {
                return this.botanicalFamilyField;
            }
            set {
                this.botanicalFamilyField = value;
            }
        }
        
        /// <remarks/>
        public string CAS_No {
            get {
                return this.cAS_NoField;
            }
            set {
                this.cAS_NoField = value;
            }
        }
        
        /// <remarks/>
        public string FL_No {
            get {
                return this.fL_NoField;
            }
            set {
                this.fL_NoField = value;
            }
        }
        
        /// <remarks/>
        public string FEMA_No {
            get {
                return this.fEMA_NoField;
            }
            set {
                this.fEMA_NoField = value;
            }
        }
        
        /// <remarks/>
        public string NAS_No {
            get {
                return this.nAS_NoField;
            }
            set {
                this.nAS_NoField = value;
            }
        }
        
        /// <remarks/>
        public string CoE_No {
            get {
                return this.coE_NoField;
            }
            set {
                this.coE_NoField = value;
            }
        }
        
        /// <remarks/>
        public string EINECS_No {
            get {
                return this.eINECS_NoField;
            }
            set {
                this.eINECS_NoField = value;
            }
        }
        
        /// <remarks/>
        public string JECFA_No {
            get {
                return this.jECFA_NoField;
            }
            set {
                this.jECFA_NoField = value;
            }
        }
        
        /// <remarks/>
        public string EU_Additive_No {
            get {
                return this.eU_Additive_NoField;
            }
            set {
                this.eU_Additive_NoField = value;
            }
        }
        
        /// <remarks/>
        public string INS {
            get {
                return this.iNSField;
            }
            set {
                this.iNSField = value;
            }
        }
        
        /// <remarks/>
        public string CNS {
            get {
                return this.cNSField;
            }
            set {
                this.cNSField = value;
            }
        }
        
        /// <remarks/>
        public string Description {
            get {
                return this.descriptionField;
            }
            set {
                this.descriptionField = value;
            }
        }
        
        /// <remarks/>
        public string EmpiricalFormula {
            get {
                return this.empiricalFormulaField;
            }
            set {
                this.empiricalFormulaField = value;
            }
        }
        
        /// <remarks/>
        public string MW {
            get {
                return this.mwField;
            }
            set {
                this.mwField = value;
            }
        }
        
        /// <remarks/>
        public string AcidValue {
            get {
                return this.acidValueField;
            }
            set {
                this.acidValueField = value;
            }
        }
        
        /// <remarks/>
        public string AerobicPlateCount {
            get {
                return this.aerobicPlateCountField;
            }
            set {
                this.aerobicPlateCountField = value;
            }
        }
        
        /// <remarks/>
        public string Aldehyde {
            get {
                return this.aldehydeField;
            }
            set {
                this.aldehydeField = value;
            }
        }
        
        /// <remarks/>
        public string Appearance {
            get {
                return this.appearanceField;
            }
            set {
                this.appearanceField = value;
            }
        }
        
        /// <remarks/>
        public string Ash_total {
            get {
                return this.ash_totalField;
            }
            set {
                this.ash_totalField = value;
            }
        }
        
        /// <remarks/>
        public string Assay {
            get {
                return this.assayField;
            }
            set {
                this.assayField = value;
            }
        }
        
        /// <remarks/>
        public string BoilingPointOrBoilingRange {
            get {
                return this.boilingPointOrBoilingRangeField;
            }
            set {
                this.boilingPointOrBoilingRangeField = value;
            }
        }
        
        /// <remarks/>
        public string Coliform {
            get {
                return this.coliformField;
            }
            set {
                this.coliformField = value;
            }
        }
        
        /// <remarks/>
        public string FlashPoint {
            get {
                return this.flashPointField;
            }
            set {
                this.flashPointField = value;
            }
        }
        
        /// <remarks/>
        public string HeavyMetals_As {
            get {
                return this.heavyMetals_AsField;
            }
            set {
                this.heavyMetals_AsField = value;
            }
        }
        
        /// <remarks/>
        public string AsHeavyMetals_asPbhTotal {
            get {
                return this.asHeavyMetals_asPbhTotalField;
            }
            set {
                this.asHeavyMetals_asPbhTotalField = value;
            }
        }
        
        /// <remarks/>
        public string InsolubleMatter {
            get {
                return this.insolubleMatterField;
            }
            set {
                this.insolubleMatterField = value;
            }
        }
        
        /// <remarks/>
        public string LC50 {
            get {
                return this.lC50Field;
            }
            set {
                this.lC50Field = value;
            }
        }
        
        /// <remarks/>
        public string LogP {
            get {
                return this.logPField;
            }
            set {
                this.logPField = value;
            }
        }
        
        /// <remarks/>
        public string LossOnDrying {
            get {
                return this.lossOnDryingField;
            }
            set {
                this.lossOnDryingField = value;
            }
        }
        
        /// <remarks/>
        public string MeltingPointOrMeltingRange {
            get {
                return this.meltingPointOrMeltingRangeField;
            }
            set {
                this.meltingPointOrMeltingRangeField = value;
            }
        }
        
        /// <remarks/>
        public string Methanol {
            get {
                return this.methanolField;
            }
            set {
                this.methanolField = value;
            }
        }
        
        /// <remarks/>
        public string Specific_OpticalRotation {
            get {
                return this.specific_OpticalRotationField;
            }
            set {
                this.specific_OpticalRotationField = value;
            }
        }
        
        /// <remarks/>
        public string RefractiveIndex {
            get {
                return this.refractiveIndexField;
            }
            set {
                this.refractiveIndexField = value;
            }
        }
        
        /// <remarks/>
        public string EvaporationResidue {
            get {
                return this.evaporationResidueField;
            }
            set {
                this.evaporationResidueField = value;
            }
        }
        
        /// <remarks/>
        public string BurningResidue {
            get {
                return this.burningResidueField;
            }
            set {
                this.burningResidueField = value;
            }
        }
        
        /// <remarks/>
        public string Solubility {
            get {
                return this.solubilityField;
            }
            set {
                this.solubilityField = value;
            }
        }
        
        /// <remarks/>
        public string RelativeDensity {
            get {
                return this.relativeDensityField;
            }
            set {
                this.relativeDensityField = value;
            }
        }
        
        /// <remarks/>
        public string VapourPressure {
            get {
                return this.vapourPressureField;
            }
            set {
                this.vapourPressureField = value;
            }
        }
        
        /// <remarks/>
        public string Viscosity {
            get {
                return this.viscosityField;
            }
            set {
                this.viscosityField = value;
            }
        }
        
        /// <remarks/>
        public string Odor {
            get {
                return this.odorField;
            }
            set {
                this.odorField = value;
            }
        }
        
        /// <remarks/>
        public string Moisture {
            get {
                return this.moistureField;
            }
            set {
                this.moistureField = value;
            }
        }
        
        /// <remarks/>
        public string AromaThresholdValues {
            get {
                return this.aromaThresholdValuesField;
            }
            set {
                this.aromaThresholdValuesField = value;
            }
        }
        
        /// <remarks/>
        public string TasteThresholdValues {
            get {
                return this.tasteThresholdValuesField;
            }
            set {
                this.tasteThresholdValuesField = value;
            }
        }
        
        /// <remarks/>
        public string FragranceNotes {
            get {
                return this.fragranceNotesField;
            }
            set {
                this.fragranceNotesField = value;
            }
        }
        
        /// <remarks/>
        public string NaturalOccurrence {
            get {
                return this.naturalOccurrenceField;
            }
            set {
                this.naturalOccurrenceField = value;
            }
        }
        
        /// <remarks/>
        public string Synthesis {
            get {
                return this.synthesisField;
            }
            set {
                this.synthesisField = value;
            }
        }
        
        /// <remarks/>
        public string Remarks {
            get {
                return this.remarksField;
            }
            set {
                this.remarksField = value;
            }
        }
        
        /// <remarks/>
        public string ReferenceStandard {
            get {
                return this.referenceStandardField;
            }
            set {
                this.referenceStandardField = value;
            }
        }
        
        /// <remarks/>
        public string MDM_code {
            get {
                return this.mDM_codeField;
            }
            set {
                this.mDM_codeField = value;
            }
        }
        
        /// <remarks/>
        public string SAP_Name {
            get {
                return this.sAP_NameField;
            }
            set {
                this.sAP_NameField = value;
            }
        }
        
        /// <remarks/>
        public string Supplier {
            get {
                return this.supplierField;
            }
            set {
                this.supplierField = value;
            }
        }
        
        /// <remarks/>
        public string PurchasePrice {
            get {
                return this.purchasePriceField;
            }
            set {
                this.purchasePriceField = value;
            }
        }
        
        /// <remarks/>
        public string Halal {
            get {
                return this.halalField;
            }
            set {
                this.halalField = value;
            }
        }
        
        /// <remarks/>
        public string Kosher {
            get {
                return this.kosherField;
            }
            set {
                this.kosherField = value;
            }
        }
        
        /// <remarks/>
        public string Allergen {
            get {
                return this.allergenField;
            }
            set {
                this.allergenField = value;
            }
        }
        
        /// <remarks/>
        public string irradiation {
            get {
                return this.irradiationField;
            }
            set {
                this.irradiationField = value;
            }
        }
        
        /// <remarks/>
        public string GeneticallyModified {
            get {
                return this.geneticallyModifiedField;
            }
            set {
                this.geneticallyModifiedField = value;
            }
        }
        
        /// <remarks/>
        public string RMC {
            get {
                return this.rMCField;
            }
            set {
                this.rMCField = value;
            }
        }
        
        /// <remarks/>
        public string category {
            get {
                return this.categoryField;
            }
            set {
                this.categoryField = value;
            }
        }
        
        /// <remarks/>
        public string OldCode {
            get {
                return this.oldCodeField;
            }
            set {
                this.oldCodeField = value;
            }
        }
        
        /// <remarks/>
        public string OldCode2 {
            get {
                return this.oldCode2Field;
            }
            set {
                this.oldCode2Field = value;
            }
        }
        
        /// <remarks/>
        public string RawMaterialResource {
            get {
                return this.rawMaterialResourceField;
            }
            set {
                this.rawMaterialResourceField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
    public delegate void CreateMaterialSpecCompletedEventHandler(object sender, CreateMaterialSpecCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class CreateMaterialSpecCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal CreateMaterialSpecCompletedEventArgs(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 OAProjectDataToPLMCompletedEventHandler(object sender, OAProjectDataToPLMCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class OAProjectDataToPLMCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal OAProjectDataToPLMCompletedEventArgs(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 OAworkflowToPLMCompletedEventHandler(object sender, OAworkflowToPLMCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class OAworkflowToPLMCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal OAworkflowToPLMCompletedEventArgs(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 GetSpecificationsListCompletedEventHandler(object sender, GetSpecificationsListCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetSpecificationsListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetSpecificationsListCompletedEventArgs(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 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