diff --git a/FactorySystemApi/Connected Services/Plm_WebSite/FactorySystemApi.Plm_WebSite.CreateMaterialSpecResponse.datasource b/FactorySystemApi/Connected Services/Plm_WebSite/FactorySystemApi.Plm_WebSite.CreateMaterialSpecResponse.datasource
new file mode 100644
index 0000000..cde2c44
--- /dev/null
+++ b/FactorySystemApi/Connected Services/Plm_WebSite/FactorySystemApi.Plm_WebSite.CreateMaterialSpecResponse.datasource
@@ -0,0 +1,10 @@
+
+
+
+ FactorySystemApi.Plm_WebSite.CreateMaterialSpecResponse, Connected Services.Plm_WebSite.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+
\ No newline at end of file
diff --git a/FactorySystemApi/Connected Services/Plm_WebSite/FactorySystemApi.Plm_WebSite.OAProjectDataToPLMResponse.datasource b/FactorySystemApi/Connected Services/Plm_WebSite/FactorySystemApi.Plm_WebSite.OAProjectDataToPLMResponse.datasource
new file mode 100644
index 0000000..77ec453
--- /dev/null
+++ b/FactorySystemApi/Connected Services/Plm_WebSite/FactorySystemApi.Plm_WebSite.OAProjectDataToPLMResponse.datasource
@@ -0,0 +1,10 @@
+
+
+
+ FactorySystemApi.Plm_WebSite.OAProjectDataToPLMResponse, Connected Services.Plm_WebSite.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+
\ No newline at end of file
diff --git a/FactorySystemApi/Connected Services/Plm_WebSite/FactorySystemApi.Plm_WebSite.OAworkflowToPLMResponse.datasource b/FactorySystemApi/Connected Services/Plm_WebSite/FactorySystemApi.Plm_WebSite.OAworkflowToPLMResponse.datasource
new file mode 100644
index 0000000..0e60909
--- /dev/null
+++ b/FactorySystemApi/Connected Services/Plm_WebSite/FactorySystemApi.Plm_WebSite.OAworkflowToPLMResponse.datasource
@@ -0,0 +1,10 @@
+
+
+
+ FactorySystemApi.Plm_WebSite.OAworkflowToPLMResponse, Connected Services.Plm_WebSite.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+
\ No newline at end of file
diff --git a/FactorySystemApi/Connected Services/Plm_WebSite/FactorySystemApi.Plm_WebSite.RestResult.datasource b/FactorySystemApi/Connected Services/Plm_WebSite/FactorySystemApi.Plm_WebSite.RestResult.datasource
new file mode 100644
index 0000000..15703e2
--- /dev/null
+++ b/FactorySystemApi/Connected Services/Plm_WebSite/FactorySystemApi.Plm_WebSite.RestResult.datasource
@@ -0,0 +1,10 @@
+
+
+
+ FactorySystemApi.Plm_WebSite.RestResult, Connected Services.Plm_WebSite.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+
\ No newline at end of file
diff --git a/FactorySystemApi/Connected Services/Plm_WebSite/OAService.disco b/FactorySystemApi/Connected Services/Plm_WebSite/OAService.disco
new file mode 100644
index 0000000..85ea460
--- /dev/null
+++ b/FactorySystemApi/Connected Services/Plm_WebSite/OAService.disco
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/FactorySystemApi/Connected Services/Plm_WebSite/OAService.wsdl b/FactorySystemApi/Connected Services/Plm_WebSite/OAService.wsdl
new file mode 100644
index 0000000..5370bb2
--- /dev/null
+++ b/FactorySystemApi/Connected Services/Plm_WebSite/OAService.wsdl
@@ -0,0 +1,391 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/FactorySystemApi/Connected Services/Plm_WebSite/Reference.cs b/FactorySystemApi/Connected Services/Plm_WebSite/Reference.cs
new file mode 100644
index 0000000..272cb6e
--- /dev/null
+++ b/FactorySystemApi/Connected Services/Plm_WebSite/Reference.cs
@@ -0,0 +1,1863 @@
+//------------------------------------------------------------------------------
+//
+// 此代码由工具生成。
+// 运行时版本:4.0.30319.42000
+//
+// 对此文件的更改可能会导致不正确的行为,并且如果
+// 重新生成代码,这些更改将会丢失。
+//
+//------------------------------------------------------------------------------
+
+namespace FactorySystemApi.Plm_WebSite {
+
+
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ServiceModel.ServiceContractAttribute(ConfigurationName="Plm_WebSite.OAServiceSoap")]
+ public interface OAServiceSoap {
+
+ // CODEGEN: 消息 CreateMaterialSpecRequest 以后生成的消息协定具有标头
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/CreateMaterialSpec", ReplyAction="*")]
+ [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
+ FactorySystemApi.Plm_WebSite.CreateMaterialSpecResponse CreateMaterialSpec(FactorySystemApi.Plm_WebSite.CreateMaterialSpecRequest request);
+
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/CreateMaterialSpec", ReplyAction="*")]
+ System.Threading.Tasks.Task CreateMaterialSpecAsync(FactorySystemApi.Plm_WebSite.CreateMaterialSpecRequest request);
+
+ // CODEGEN: 消息 OAProjectDataToPLMRequest 以后生成的消息协定具有标头
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/OAProjectDataToPLM", ReplyAction="*")]
+ [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
+ FactorySystemApi.Plm_WebSite.OAProjectDataToPLMResponse OAProjectDataToPLM(FactorySystemApi.Plm_WebSite.OAProjectDataToPLMRequest request);
+
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/OAProjectDataToPLM", ReplyAction="*")]
+ System.Threading.Tasks.Task OAProjectDataToPLMAsync(FactorySystemApi.Plm_WebSite.OAProjectDataToPLMRequest request);
+
+ // CODEGEN: 消息 OAworkflowToPLMRequest 以后生成的消息协定具有标头
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/OAworkflowToPLM", ReplyAction="*")]
+ [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
+ FactorySystemApi.Plm_WebSite.OAworkflowToPLMResponse OAworkflowToPLM(FactorySystemApi.Plm_WebSite.OAworkflowToPLMRequest request);
+
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/OAworkflowToPLM", ReplyAction="*")]
+ System.Threading.Tasks.Task OAworkflowToPLMAsync(FactorySystemApi.Plm_WebSite.OAworkflowToPLMRequest request);
+
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/GetSpecificationsList", ReplyAction="*")]
+ [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
+ FactorySystemApi.Plm_WebSite.RestResult GetSpecificationsList(FactorySystemApi.Plm_WebSite.Specifications[] Specificationinfo);
+
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/GetSpecificationsList", ReplyAction="*")]
+ System.Threading.Tasks.Task GetSpecificationsListAsync(FactorySystemApi.Plm_WebSite.Specifications[] Specificationinfo);
+
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/GetCraftURL", ReplyAction="*")]
+ [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
+ FactorySystemApi.Plm_WebSite.RestResult GetCraftURL(FactorySystemApi.Plm_WebSite.Specifications[] Specificationinfo);
+
+ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/GetCraftURL", ReplyAction="*")]
+ System.Threading.Tasks.Task GetCraftURLAsync(FactorySystemApi.Plm_WebSite.Specifications[] Specificationinfo);
+ }
+
+ ///
+ [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 MySoapHeader : object, System.ComponentModel.INotifyPropertyChanged {
+
+ private string userNameField;
+
+ private string passWordField;
+
+ private System.Xml.XmlAttribute[] anyAttrField;
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=0)]
+ public string UserName {
+ get {
+ return this.userNameField;
+ }
+ set {
+ this.userNameField = value;
+ this.RaisePropertyChanged("UserName");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=1)]
+ public string PassWord {
+ get {
+ return this.passWordField;
+ }
+ set {
+ this.passWordField = value;
+ this.RaisePropertyChanged("PassWord");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlAnyAttributeAttribute()]
+ public System.Xml.XmlAttribute[] AnyAttr {
+ get {
+ return this.anyAttrField;
+ }
+ set {
+ this.anyAttrField = value;
+ this.RaisePropertyChanged("AnyAttr");
+ }
+ }
+
+ public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+
+ protected void RaisePropertyChanged(string propertyName) {
+ System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
+ if ((propertyChanged != null)) {
+ propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ ///
+ [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 : object, System.ComponentModel.INotifyPropertyChanged {
+
+ private string specificationValue_ITEMField;
+
+ private int ifAllowField;
+
+ private int allowRevisionField;
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=0)]
+ public string SpecificationValue_ITEM {
+ get {
+ return this.specificationValue_ITEMField;
+ }
+ set {
+ this.specificationValue_ITEMField = value;
+ this.RaisePropertyChanged("SpecificationValue_ITEM");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=1)]
+ public int ifAllow {
+ get {
+ return this.ifAllowField;
+ }
+ set {
+ this.ifAllowField = value;
+ this.RaisePropertyChanged("ifAllow");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=2)]
+ public int AllowRevision {
+ get {
+ return this.allowRevisionField;
+ }
+ set {
+ this.allowRevisionField = value;
+ this.RaisePropertyChanged("AllowRevision");
+ }
+ }
+
+ public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+
+ protected void RaisePropertyChanged(string propertyName) {
+ System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
+ if ((propertyChanged != null)) {
+ propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ ///
+ [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 : object, System.ComponentModel.INotifyPropertyChanged {
+
+ private string shortDescriptionField;
+
+ private string userWorkCodeField;
+
+ private string applicationDaysField;
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=0)]
+ public string ShortDescription {
+ get {
+ return this.shortDescriptionField;
+ }
+ set {
+ this.shortDescriptionField = value;
+ this.RaisePropertyChanged("ShortDescription");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=1)]
+ public string userWorkCode {
+ get {
+ return this.userWorkCodeField;
+ }
+ set {
+ this.userWorkCodeField = value;
+ this.RaisePropertyChanged("userWorkCode");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=2)]
+ public string ApplicationDays {
+ get {
+ return this.applicationDaysField;
+ }
+ set {
+ this.applicationDaysField = value;
+ this.RaisePropertyChanged("ApplicationDays");
+ }
+ }
+
+ public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+
+ protected void RaisePropertyChanged(string propertyName) {
+ System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
+ if ((propertyChanged != null)) {
+ propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ ///
+ [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 : object, System.ComponentModel.INotifyPropertyChanged {
+
+ 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;
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=0)]
+ public string HB_HBBT {
+ get {
+ return this.hB_HBBTField;
+ }
+ set {
+ this.hB_HBBTField = value;
+ this.RaisePropertyChanged("HB_HBBT");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=1)]
+ public string HB_SQR {
+ get {
+ return this.hB_SQRField;
+ }
+ set {
+ this.hB_SQRField = value;
+ this.RaisePropertyChanged("HB_SQR");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=2)]
+ public string HB_SQRQ {
+ get {
+ return this.hB_SQRQField;
+ }
+ set {
+ this.hB_SQRQField = value;
+ this.RaisePropertyChanged("HB_SQRQ");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=3)]
+ public string HB_SQBM {
+ get {
+ return this.hB_SQBMField;
+ }
+ set {
+ this.hB_SQBMField = value;
+ this.RaisePropertyChanged("HB_SQBM");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=4)]
+ public string HB_SSGS {
+ get {
+ return this.hB_SSGSField;
+ }
+ set {
+ this.hB_SSGSField = value;
+ this.RaisePropertyChanged("HB_SSGS");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=5)]
+ public string HB_YWBK {
+ get {
+ return this.hB_YWBKField;
+ }
+ set {
+ this.hB_YWBKField = value;
+ this.RaisePropertyChanged("HB_YWBK");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=6)]
+ public string HB_SMMC {
+ get {
+ return this.hB_SMMCField;
+ }
+ set {
+ this.hB_SMMCField = value;
+ this.RaisePropertyChanged("HB_SMMC");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=7)]
+ public string HB_XMHZXZ {
+ get {
+ return this.hB_XMHZXZField;
+ }
+ set {
+ this.hB_XMHZXZField = value;
+ this.RaisePropertyChanged("HB_XMHZXZ");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=8)]
+ public string HB_XMLX {
+ get {
+ return this.hB_XMLXField;
+ }
+ set {
+ this.hB_XMLXField = value;
+ this.RaisePropertyChanged("HB_XMLX");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=9)]
+ public string HB_XMJB {
+ get {
+ return this.hB_XMJBField;
+ }
+ set {
+ this.hB_XMJBField = value;
+ this.RaisePropertyChanged("HB_XMJB");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=10)]
+ public string HB_XMBJ {
+ get {
+ return this.hB_XMBJField;
+ }
+ set {
+ this.hB_XMBJField = value;
+ this.RaisePropertyChanged("HB_XMBJ");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=11)]
+ public string HB_XMJZ {
+ get {
+ return this.hB_XMJZField;
+ }
+ set {
+ this.hB_XMJZField = value;
+ this.RaisePropertyChanged("HB_XMJZ");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=12)]
+ public string HB_KHFL {
+ get {
+ return this.hB_KHFLField;
+ }
+ set {
+ this.hB_KHFLField = value;
+ this.RaisePropertyChanged("HB_KHFL");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=13)]
+ public string HB_XMBH {
+ get {
+ return this.hB_XMBHField;
+ }
+ set {
+ this.hB_XMBHField = value;
+ this.RaisePropertyChanged("HB_XMBH");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=14)]
+ public string HB_XMURLDZ {
+ get {
+ return this.hB_XMURLDZField;
+ }
+ set {
+ this.hB_XMURLDZField = value;
+ this.RaisePropertyChanged("HB_XMURLDZ");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=15)]
+ public string HB_XMJD {
+ get {
+ return this.hB_XMJDField;
+ }
+ set {
+ this.hB_XMJDField = value;
+ this.RaisePropertyChanged("HB_XMJD");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=16)]
+ public string HB_YFBMLD {
+ get {
+ return this.hB_YFBMLDField;
+ }
+ set {
+ this.hB_YFBMLDField = value;
+ this.RaisePropertyChanged("HB_YFBMLD");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=17)]
+ public string HB_YYBMLD {
+ get {
+ return this.hB_YYBMLDField;
+ }
+ set {
+ this.hB_YYBMLDField = value;
+ this.RaisePropertyChanged("HB_YYBMLD");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=18)]
+ public string HB_TXS {
+ get {
+ return this.hB_TXSField;
+ }
+ set {
+ this.hB_TXSField = value;
+ this.RaisePropertyChanged("HB_TXS");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=19)]
+ public string HB_YYGCS {
+ get {
+ return this.hB_YYGCSField;
+ }
+ set {
+ this.hB_YYGCSField = value;
+ this.RaisePropertyChanged("HB_YYGCS");
+ }
+ }
+
+ public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+
+ protected void RaisePropertyChanged(string propertyName) {
+ System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
+ if ((propertyChanged != null)) {
+ propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ ///
+ [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 : object, System.ComponentModel.INotifyPropertyChanged {
+
+ private string spField;
+
+ private string sP_VersionField;
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=0)]
+ public string SP {
+ get {
+ return this.spField;
+ }
+ set {
+ this.spField = value;
+ this.RaisePropertyChanged("SP");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=1)]
+ public string SP_Version {
+ get {
+ return this.sP_VersionField;
+ }
+ set {
+ this.sP_VersionField = value;
+ this.RaisePropertyChanged("SP_Version");
+ }
+ }
+
+ public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+
+ protected void RaisePropertyChanged(string propertyName) {
+ System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
+ if ((propertyChanged != null)) {
+ propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ ///
+ [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 : object, System.ComponentModel.INotifyPropertyChanged {
+
+ private int codeField;
+
+ private string messageField;
+
+ private object dataField;
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=0)]
+ public int code {
+ get {
+ return this.codeField;
+ }
+ set {
+ this.codeField = value;
+ this.RaisePropertyChanged("code");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=1)]
+ public string message {
+ get {
+ return this.messageField;
+ }
+ set {
+ this.messageField = value;
+ this.RaisePropertyChanged("message");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=2)]
+ public object data {
+ get {
+ return this.dataField;
+ }
+ set {
+ this.dataField = value;
+ this.RaisePropertyChanged("data");
+ }
+ }
+
+ public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+
+ protected void RaisePropertyChanged(string propertyName) {
+ System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
+ if ((propertyChanged != null)) {
+ propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ ///
+ [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 : object, System.ComponentModel.INotifyPropertyChanged {
+
+ 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;
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=0)]
+ public string Factory {
+ get {
+ return this.factoryField;
+ }
+ set {
+ this.factoryField = value;
+ this.RaisePropertyChanged("Factory");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=1)]
+ public string Amount {
+ get {
+ return this.amountField;
+ }
+ set {
+ this.amountField = value;
+ this.RaisePropertyChanged("Amount");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=2)]
+ public string No {
+ get {
+ return this.noField;
+ }
+ set {
+ this.noField = value;
+ this.RaisePropertyChanged("No");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=3)]
+ public string RawMaterialDescription {
+ get {
+ return this.rawMaterialDescriptionField;
+ }
+ set {
+ this.rawMaterialDescriptionField = value;
+ this.RaisePropertyChanged("RawMaterialDescription");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=4)]
+ public string EnglishName {
+ get {
+ return this.englishNameField;
+ }
+ set {
+ this.englishNameField = value;
+ this.RaisePropertyChanged("EnglishName");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=5)]
+ public string OtherNames {
+ get {
+ return this.otherNamesField;
+ }
+ set {
+ this.otherNamesField = value;
+ this.RaisePropertyChanged("OtherNames");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=6)]
+ public string BotanicalSpeciesName {
+ get {
+ return this.botanicalSpeciesNameField;
+ }
+ set {
+ this.botanicalSpeciesNameField = value;
+ this.RaisePropertyChanged("BotanicalSpeciesName");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=7)]
+ public string BotanicalFamily {
+ get {
+ return this.botanicalFamilyField;
+ }
+ set {
+ this.botanicalFamilyField = value;
+ this.RaisePropertyChanged("BotanicalFamily");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=8)]
+ public string CAS_No {
+ get {
+ return this.cAS_NoField;
+ }
+ set {
+ this.cAS_NoField = value;
+ this.RaisePropertyChanged("CAS_No");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=9)]
+ public string FL_No {
+ get {
+ return this.fL_NoField;
+ }
+ set {
+ this.fL_NoField = value;
+ this.RaisePropertyChanged("FL_No");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=10)]
+ public string FEMA_No {
+ get {
+ return this.fEMA_NoField;
+ }
+ set {
+ this.fEMA_NoField = value;
+ this.RaisePropertyChanged("FEMA_No");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=11)]
+ public string NAS_No {
+ get {
+ return this.nAS_NoField;
+ }
+ set {
+ this.nAS_NoField = value;
+ this.RaisePropertyChanged("NAS_No");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=12)]
+ public string CoE_No {
+ get {
+ return this.coE_NoField;
+ }
+ set {
+ this.coE_NoField = value;
+ this.RaisePropertyChanged("CoE_No");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=13)]
+ public string EINECS_No {
+ get {
+ return this.eINECS_NoField;
+ }
+ set {
+ this.eINECS_NoField = value;
+ this.RaisePropertyChanged("EINECS_No");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=14)]
+ public string JECFA_No {
+ get {
+ return this.jECFA_NoField;
+ }
+ set {
+ this.jECFA_NoField = value;
+ this.RaisePropertyChanged("JECFA_No");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=15)]
+ public string EU_Additive_No {
+ get {
+ return this.eU_Additive_NoField;
+ }
+ set {
+ this.eU_Additive_NoField = value;
+ this.RaisePropertyChanged("EU_Additive_No");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=16)]
+ public string INS {
+ get {
+ return this.iNSField;
+ }
+ set {
+ this.iNSField = value;
+ this.RaisePropertyChanged("INS");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=17)]
+ public string CNS {
+ get {
+ return this.cNSField;
+ }
+ set {
+ this.cNSField = value;
+ this.RaisePropertyChanged("CNS");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=18)]
+ public string Description {
+ get {
+ return this.descriptionField;
+ }
+ set {
+ this.descriptionField = value;
+ this.RaisePropertyChanged("Description");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=19)]
+ public string EmpiricalFormula {
+ get {
+ return this.empiricalFormulaField;
+ }
+ set {
+ this.empiricalFormulaField = value;
+ this.RaisePropertyChanged("EmpiricalFormula");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=20)]
+ public string MW {
+ get {
+ return this.mwField;
+ }
+ set {
+ this.mwField = value;
+ this.RaisePropertyChanged("MW");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=21)]
+ public string AcidValue {
+ get {
+ return this.acidValueField;
+ }
+ set {
+ this.acidValueField = value;
+ this.RaisePropertyChanged("AcidValue");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=22)]
+ public string AerobicPlateCount {
+ get {
+ return this.aerobicPlateCountField;
+ }
+ set {
+ this.aerobicPlateCountField = value;
+ this.RaisePropertyChanged("AerobicPlateCount");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=23)]
+ public string Aldehyde {
+ get {
+ return this.aldehydeField;
+ }
+ set {
+ this.aldehydeField = value;
+ this.RaisePropertyChanged("Aldehyde");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=24)]
+ public string Appearance {
+ get {
+ return this.appearanceField;
+ }
+ set {
+ this.appearanceField = value;
+ this.RaisePropertyChanged("Appearance");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=25)]
+ public string Ash_total {
+ get {
+ return this.ash_totalField;
+ }
+ set {
+ this.ash_totalField = value;
+ this.RaisePropertyChanged("Ash_total");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=26)]
+ public string Assay {
+ get {
+ return this.assayField;
+ }
+ set {
+ this.assayField = value;
+ this.RaisePropertyChanged("Assay");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=27)]
+ public string BoilingPointOrBoilingRange {
+ get {
+ return this.boilingPointOrBoilingRangeField;
+ }
+ set {
+ this.boilingPointOrBoilingRangeField = value;
+ this.RaisePropertyChanged("BoilingPointOrBoilingRange");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=28)]
+ public string Coliform {
+ get {
+ return this.coliformField;
+ }
+ set {
+ this.coliformField = value;
+ this.RaisePropertyChanged("Coliform");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=29)]
+ public string FlashPoint {
+ get {
+ return this.flashPointField;
+ }
+ set {
+ this.flashPointField = value;
+ this.RaisePropertyChanged("FlashPoint");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=30)]
+ public string HeavyMetals_As {
+ get {
+ return this.heavyMetals_AsField;
+ }
+ set {
+ this.heavyMetals_AsField = value;
+ this.RaisePropertyChanged("HeavyMetals_As");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=31)]
+ public string AsHeavyMetals_asPbhTotal {
+ get {
+ return this.asHeavyMetals_asPbhTotalField;
+ }
+ set {
+ this.asHeavyMetals_asPbhTotalField = value;
+ this.RaisePropertyChanged("AsHeavyMetals_asPbhTotal");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=32)]
+ public string InsolubleMatter {
+ get {
+ return this.insolubleMatterField;
+ }
+ set {
+ this.insolubleMatterField = value;
+ this.RaisePropertyChanged("InsolubleMatter");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=33)]
+ public string LC50 {
+ get {
+ return this.lC50Field;
+ }
+ set {
+ this.lC50Field = value;
+ this.RaisePropertyChanged("LC50");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=34)]
+ public string LogP {
+ get {
+ return this.logPField;
+ }
+ set {
+ this.logPField = value;
+ this.RaisePropertyChanged("LogP");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=35)]
+ public string LossOnDrying {
+ get {
+ return this.lossOnDryingField;
+ }
+ set {
+ this.lossOnDryingField = value;
+ this.RaisePropertyChanged("LossOnDrying");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=36)]
+ public string MeltingPointOrMeltingRange {
+ get {
+ return this.meltingPointOrMeltingRangeField;
+ }
+ set {
+ this.meltingPointOrMeltingRangeField = value;
+ this.RaisePropertyChanged("MeltingPointOrMeltingRange");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=37)]
+ public string Methanol {
+ get {
+ return this.methanolField;
+ }
+ set {
+ this.methanolField = value;
+ this.RaisePropertyChanged("Methanol");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=38)]
+ public string Specific_OpticalRotation {
+ get {
+ return this.specific_OpticalRotationField;
+ }
+ set {
+ this.specific_OpticalRotationField = value;
+ this.RaisePropertyChanged("Specific_OpticalRotation");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=39)]
+ public string RefractiveIndex {
+ get {
+ return this.refractiveIndexField;
+ }
+ set {
+ this.refractiveIndexField = value;
+ this.RaisePropertyChanged("RefractiveIndex");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=40)]
+ public string EvaporationResidue {
+ get {
+ return this.evaporationResidueField;
+ }
+ set {
+ this.evaporationResidueField = value;
+ this.RaisePropertyChanged("EvaporationResidue");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=41)]
+ public string BurningResidue {
+ get {
+ return this.burningResidueField;
+ }
+ set {
+ this.burningResidueField = value;
+ this.RaisePropertyChanged("BurningResidue");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=42)]
+ public string Solubility {
+ get {
+ return this.solubilityField;
+ }
+ set {
+ this.solubilityField = value;
+ this.RaisePropertyChanged("Solubility");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=43)]
+ public string RelativeDensity {
+ get {
+ return this.relativeDensityField;
+ }
+ set {
+ this.relativeDensityField = value;
+ this.RaisePropertyChanged("RelativeDensity");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=44)]
+ public string VapourPressure {
+ get {
+ return this.vapourPressureField;
+ }
+ set {
+ this.vapourPressureField = value;
+ this.RaisePropertyChanged("VapourPressure");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=45)]
+ public string Viscosity {
+ get {
+ return this.viscosityField;
+ }
+ set {
+ this.viscosityField = value;
+ this.RaisePropertyChanged("Viscosity");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=46)]
+ public string Odor {
+ get {
+ return this.odorField;
+ }
+ set {
+ this.odorField = value;
+ this.RaisePropertyChanged("Odor");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=47)]
+ public string Moisture {
+ get {
+ return this.moistureField;
+ }
+ set {
+ this.moistureField = value;
+ this.RaisePropertyChanged("Moisture");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=48)]
+ public string AromaThresholdValues {
+ get {
+ return this.aromaThresholdValuesField;
+ }
+ set {
+ this.aromaThresholdValuesField = value;
+ this.RaisePropertyChanged("AromaThresholdValues");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=49)]
+ public string TasteThresholdValues {
+ get {
+ return this.tasteThresholdValuesField;
+ }
+ set {
+ this.tasteThresholdValuesField = value;
+ this.RaisePropertyChanged("TasteThresholdValues");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=50)]
+ public string FragranceNotes {
+ get {
+ return this.fragranceNotesField;
+ }
+ set {
+ this.fragranceNotesField = value;
+ this.RaisePropertyChanged("FragranceNotes");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=51)]
+ public string NaturalOccurrence {
+ get {
+ return this.naturalOccurrenceField;
+ }
+ set {
+ this.naturalOccurrenceField = value;
+ this.RaisePropertyChanged("NaturalOccurrence");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=52)]
+ public string Synthesis {
+ get {
+ return this.synthesisField;
+ }
+ set {
+ this.synthesisField = value;
+ this.RaisePropertyChanged("Synthesis");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=53)]
+ public string Remarks {
+ get {
+ return this.remarksField;
+ }
+ set {
+ this.remarksField = value;
+ this.RaisePropertyChanged("Remarks");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=54)]
+ public string ReferenceStandard {
+ get {
+ return this.referenceStandardField;
+ }
+ set {
+ this.referenceStandardField = value;
+ this.RaisePropertyChanged("ReferenceStandard");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=55)]
+ public string MDM_code {
+ get {
+ return this.mDM_codeField;
+ }
+ set {
+ this.mDM_codeField = value;
+ this.RaisePropertyChanged("MDM_code");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=56)]
+ public string SAP_Name {
+ get {
+ return this.sAP_NameField;
+ }
+ set {
+ this.sAP_NameField = value;
+ this.RaisePropertyChanged("SAP_Name");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=57)]
+ public string Supplier {
+ get {
+ return this.supplierField;
+ }
+ set {
+ this.supplierField = value;
+ this.RaisePropertyChanged("Supplier");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=58)]
+ public string PurchasePrice {
+ get {
+ return this.purchasePriceField;
+ }
+ set {
+ this.purchasePriceField = value;
+ this.RaisePropertyChanged("PurchasePrice");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=59)]
+ public string Halal {
+ get {
+ return this.halalField;
+ }
+ set {
+ this.halalField = value;
+ this.RaisePropertyChanged("Halal");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=60)]
+ public string Kosher {
+ get {
+ return this.kosherField;
+ }
+ set {
+ this.kosherField = value;
+ this.RaisePropertyChanged("Kosher");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=61)]
+ public string Allergen {
+ get {
+ return this.allergenField;
+ }
+ set {
+ this.allergenField = value;
+ this.RaisePropertyChanged("Allergen");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=62)]
+ public string irradiation {
+ get {
+ return this.irradiationField;
+ }
+ set {
+ this.irradiationField = value;
+ this.RaisePropertyChanged("irradiation");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=63)]
+ public string GeneticallyModified {
+ get {
+ return this.geneticallyModifiedField;
+ }
+ set {
+ this.geneticallyModifiedField = value;
+ this.RaisePropertyChanged("GeneticallyModified");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=64)]
+ public string RMC {
+ get {
+ return this.rMCField;
+ }
+ set {
+ this.rMCField = value;
+ this.RaisePropertyChanged("RMC");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=65)]
+ public string category {
+ get {
+ return this.categoryField;
+ }
+ set {
+ this.categoryField = value;
+ this.RaisePropertyChanged("category");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=66)]
+ public string OldCode {
+ get {
+ return this.oldCodeField;
+ }
+ set {
+ this.oldCodeField = value;
+ this.RaisePropertyChanged("OldCode");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=67)]
+ public string OldCode2 {
+ get {
+ return this.oldCode2Field;
+ }
+ set {
+ this.oldCode2Field = value;
+ this.RaisePropertyChanged("OldCode2");
+ }
+ }
+
+ ///
+ [System.Xml.Serialization.XmlElementAttribute(Order=68)]
+ public string RawMaterialResource {
+ get {
+ return this.rawMaterialResourceField;
+ }
+ set {
+ this.rawMaterialResourceField = value;
+ this.RaisePropertyChanged("RawMaterialResource");
+ }
+ }
+
+ public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+
+ protected void RaisePropertyChanged(string propertyName) {
+ System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
+ if ((propertyChanged != null)) {
+ propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.ServiceModel.MessageContractAttribute(WrapperName="CreateMaterialSpec", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
+ public partial class CreateMaterialSpecRequest {
+
+ [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
+ public FactorySystemApi.Plm_WebSite.MySoapHeader MySoapHeader;
+
+ [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
+ public FactorySystemApi.Plm_WebSite.OAMateral_New oa;
+
+ public CreateMaterialSpecRequest() {
+ }
+
+ public CreateMaterialSpecRequest(FactorySystemApi.Plm_WebSite.MySoapHeader MySoapHeader, FactorySystemApi.Plm_WebSite.OAMateral_New oa) {
+ this.MySoapHeader = MySoapHeader;
+ this.oa = oa;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.ServiceModel.MessageContractAttribute(WrapperName="CreateMaterialSpecResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
+ public partial class CreateMaterialSpecResponse {
+
+ [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
+ public FactorySystemApi.Plm_WebSite.RestResult CreateMaterialSpecResult;
+
+ public CreateMaterialSpecResponse() {
+ }
+
+ public CreateMaterialSpecResponse(FactorySystemApi.Plm_WebSite.RestResult CreateMaterialSpecResult) {
+ this.CreateMaterialSpecResult = CreateMaterialSpecResult;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.ServiceModel.MessageContractAttribute(WrapperName="OAProjectDataToPLM", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
+ public partial class OAProjectDataToPLMRequest {
+
+ [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
+ public FactorySystemApi.Plm_WebSite.MySoapHeader MySoapHeader;
+
+ [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
+ public FactorySystemApi.Plm_WebSite.OAProject oAProject;
+
+ public OAProjectDataToPLMRequest() {
+ }
+
+ public OAProjectDataToPLMRequest(FactorySystemApi.Plm_WebSite.MySoapHeader MySoapHeader, FactorySystemApi.Plm_WebSite.OAProject oAProject) {
+ this.MySoapHeader = MySoapHeader;
+ this.oAProject = oAProject;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.ServiceModel.MessageContractAttribute(WrapperName="OAProjectDataToPLMResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
+ public partial class OAProjectDataToPLMResponse {
+
+ [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
+ public FactorySystemApi.Plm_WebSite.RestResult OAProjectDataToPLMResult;
+
+ public OAProjectDataToPLMResponse() {
+ }
+
+ public OAProjectDataToPLMResponse(FactorySystemApi.Plm_WebSite.RestResult OAProjectDataToPLMResult) {
+ this.OAProjectDataToPLMResult = OAProjectDataToPLMResult;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.ServiceModel.MessageContractAttribute(WrapperName="OAworkflowToPLM", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
+ public partial class OAworkflowToPLMRequest {
+
+ [System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
+ public FactorySystemApi.Plm_WebSite.MySoapHeader MySoapHeader;
+
+ [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
+ public FactorySystemApi.Plm_WebSite.OAWorkFlowInfo oAWorkFlowInfo;
+
+ [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)]
+ public FactorySystemApi.Plm_WebSite.OAWorkFlowInfoDetial[] oAWorkFlowInfoDetial_list;
+
+ public OAworkflowToPLMRequest() {
+ }
+
+ public OAworkflowToPLMRequest(FactorySystemApi.Plm_WebSite.MySoapHeader MySoapHeader, FactorySystemApi.Plm_WebSite.OAWorkFlowInfo oAWorkFlowInfo, FactorySystemApi.Plm_WebSite.OAWorkFlowInfoDetial[] oAWorkFlowInfoDetial_list) {
+ this.MySoapHeader = MySoapHeader;
+ this.oAWorkFlowInfo = oAWorkFlowInfo;
+ this.oAWorkFlowInfoDetial_list = oAWorkFlowInfoDetial_list;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.ServiceModel.MessageContractAttribute(WrapperName="OAworkflowToPLMResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
+ public partial class OAworkflowToPLMResponse {
+
+ [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
+ public FactorySystemApi.Plm_WebSite.RestResult OAworkflowToPLMResult;
+
+ public OAworkflowToPLMResponse() {
+ }
+
+ public OAworkflowToPLMResponse(FactorySystemApi.Plm_WebSite.RestResult OAworkflowToPLMResult) {
+ this.OAworkflowToPLMResult = OAworkflowToPLMResult;
+ }
+ }
+
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ public interface OAServiceSoapChannel : FactorySystemApi.Plm_WebSite.OAServiceSoap, System.ServiceModel.IClientChannel {
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ public partial class OAServiceSoapClient : System.ServiceModel.ClientBase, FactorySystemApi.Plm_WebSite.OAServiceSoap {
+
+ public OAServiceSoapClient() {
+ }
+
+ public OAServiceSoapClient(string endpointConfigurationName) :
+ base(endpointConfigurationName) {
+ }
+
+ public OAServiceSoapClient(string endpointConfigurationName, string remoteAddress) :
+ base(endpointConfigurationName, remoteAddress) {
+ }
+
+ public OAServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
+ base(endpointConfigurationName, remoteAddress) {
+ }
+
+ public OAServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
+ base(binding, remoteAddress) {
+ }
+
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ FactorySystemApi.Plm_WebSite.CreateMaterialSpecResponse FactorySystemApi.Plm_WebSite.OAServiceSoap.CreateMaterialSpec(FactorySystemApi.Plm_WebSite.CreateMaterialSpecRequest request) {
+ return base.Channel.CreateMaterialSpec(request);
+ }
+
+ public FactorySystemApi.Plm_WebSite.RestResult CreateMaterialSpec(FactorySystemApi.Plm_WebSite.MySoapHeader MySoapHeader, FactorySystemApi.Plm_WebSite.OAMateral_New oa) {
+ FactorySystemApi.Plm_WebSite.CreateMaterialSpecRequest inValue = new FactorySystemApi.Plm_WebSite.CreateMaterialSpecRequest();
+ inValue.MySoapHeader = MySoapHeader;
+ inValue.oa = oa;
+ FactorySystemApi.Plm_WebSite.CreateMaterialSpecResponse retVal = ((FactorySystemApi.Plm_WebSite.OAServiceSoap)(this)).CreateMaterialSpec(inValue);
+ return retVal.CreateMaterialSpecResult;
+ }
+
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ System.Threading.Tasks.Task FactorySystemApi.Plm_WebSite.OAServiceSoap.CreateMaterialSpecAsync(FactorySystemApi.Plm_WebSite.CreateMaterialSpecRequest request) {
+ return base.Channel.CreateMaterialSpecAsync(request);
+ }
+
+ public System.Threading.Tasks.Task CreateMaterialSpecAsync(FactorySystemApi.Plm_WebSite.MySoapHeader MySoapHeader, FactorySystemApi.Plm_WebSite.OAMateral_New oa) {
+ FactorySystemApi.Plm_WebSite.CreateMaterialSpecRequest inValue = new FactorySystemApi.Plm_WebSite.CreateMaterialSpecRequest();
+ inValue.MySoapHeader = MySoapHeader;
+ inValue.oa = oa;
+ return ((FactorySystemApi.Plm_WebSite.OAServiceSoap)(this)).CreateMaterialSpecAsync(inValue);
+ }
+
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ FactorySystemApi.Plm_WebSite.OAProjectDataToPLMResponse FactorySystemApi.Plm_WebSite.OAServiceSoap.OAProjectDataToPLM(FactorySystemApi.Plm_WebSite.OAProjectDataToPLMRequest request) {
+ return base.Channel.OAProjectDataToPLM(request);
+ }
+
+ public FactorySystemApi.Plm_WebSite.RestResult OAProjectDataToPLM(FactorySystemApi.Plm_WebSite.MySoapHeader MySoapHeader, FactorySystemApi.Plm_WebSite.OAProject oAProject) {
+ FactorySystemApi.Plm_WebSite.OAProjectDataToPLMRequest inValue = new FactorySystemApi.Plm_WebSite.OAProjectDataToPLMRequest();
+ inValue.MySoapHeader = MySoapHeader;
+ inValue.oAProject = oAProject;
+ FactorySystemApi.Plm_WebSite.OAProjectDataToPLMResponse retVal = ((FactorySystemApi.Plm_WebSite.OAServiceSoap)(this)).OAProjectDataToPLM(inValue);
+ return retVal.OAProjectDataToPLMResult;
+ }
+
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ System.Threading.Tasks.Task FactorySystemApi.Plm_WebSite.OAServiceSoap.OAProjectDataToPLMAsync(FactorySystemApi.Plm_WebSite.OAProjectDataToPLMRequest request) {
+ return base.Channel.OAProjectDataToPLMAsync(request);
+ }
+
+ public System.Threading.Tasks.Task OAProjectDataToPLMAsync(FactorySystemApi.Plm_WebSite.MySoapHeader MySoapHeader, FactorySystemApi.Plm_WebSite.OAProject oAProject) {
+ FactorySystemApi.Plm_WebSite.OAProjectDataToPLMRequest inValue = new FactorySystemApi.Plm_WebSite.OAProjectDataToPLMRequest();
+ inValue.MySoapHeader = MySoapHeader;
+ inValue.oAProject = oAProject;
+ return ((FactorySystemApi.Plm_WebSite.OAServiceSoap)(this)).OAProjectDataToPLMAsync(inValue);
+ }
+
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ FactorySystemApi.Plm_WebSite.OAworkflowToPLMResponse FactorySystemApi.Plm_WebSite.OAServiceSoap.OAworkflowToPLM(FactorySystemApi.Plm_WebSite.OAworkflowToPLMRequest request) {
+ return base.Channel.OAworkflowToPLM(request);
+ }
+
+ public FactorySystemApi.Plm_WebSite.RestResult OAworkflowToPLM(FactorySystemApi.Plm_WebSite.MySoapHeader MySoapHeader, FactorySystemApi.Plm_WebSite.OAWorkFlowInfo oAWorkFlowInfo, FactorySystemApi.Plm_WebSite.OAWorkFlowInfoDetial[] oAWorkFlowInfoDetial_list) {
+ FactorySystemApi.Plm_WebSite.OAworkflowToPLMRequest inValue = new FactorySystemApi.Plm_WebSite.OAworkflowToPLMRequest();
+ inValue.MySoapHeader = MySoapHeader;
+ inValue.oAWorkFlowInfo = oAWorkFlowInfo;
+ inValue.oAWorkFlowInfoDetial_list = oAWorkFlowInfoDetial_list;
+ FactorySystemApi.Plm_WebSite.OAworkflowToPLMResponse retVal = ((FactorySystemApi.Plm_WebSite.OAServiceSoap)(this)).OAworkflowToPLM(inValue);
+ return retVal.OAworkflowToPLMResult;
+ }
+
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ System.Threading.Tasks.Task FactorySystemApi.Plm_WebSite.OAServiceSoap.OAworkflowToPLMAsync(FactorySystemApi.Plm_WebSite.OAworkflowToPLMRequest request) {
+ return base.Channel.OAworkflowToPLMAsync(request);
+ }
+
+ public System.Threading.Tasks.Task OAworkflowToPLMAsync(FactorySystemApi.Plm_WebSite.MySoapHeader MySoapHeader, FactorySystemApi.Plm_WebSite.OAWorkFlowInfo oAWorkFlowInfo, FactorySystemApi.Plm_WebSite.OAWorkFlowInfoDetial[] oAWorkFlowInfoDetial_list) {
+ FactorySystemApi.Plm_WebSite.OAworkflowToPLMRequest inValue = new FactorySystemApi.Plm_WebSite.OAworkflowToPLMRequest();
+ inValue.MySoapHeader = MySoapHeader;
+ inValue.oAWorkFlowInfo = oAWorkFlowInfo;
+ inValue.oAWorkFlowInfoDetial_list = oAWorkFlowInfoDetial_list;
+ return ((FactorySystemApi.Plm_WebSite.OAServiceSoap)(this)).OAworkflowToPLMAsync(inValue);
+ }
+
+ public FactorySystemApi.Plm_WebSite.RestResult GetSpecificationsList(FactorySystemApi.Plm_WebSite.Specifications[] Specificationinfo) {
+ return base.Channel.GetSpecificationsList(Specificationinfo);
+ }
+
+ public System.Threading.Tasks.Task GetSpecificationsListAsync(FactorySystemApi.Plm_WebSite.Specifications[] Specificationinfo) {
+ return base.Channel.GetSpecificationsListAsync(Specificationinfo);
+ }
+
+ public FactorySystemApi.Plm_WebSite.RestResult GetCraftURL(FactorySystemApi.Plm_WebSite.Specifications[] Specificationinfo) {
+ return base.Channel.GetCraftURL(Specificationinfo);
+ }
+
+ public System.Threading.Tasks.Task GetCraftURLAsync(FactorySystemApi.Plm_WebSite.Specifications[] Specificationinfo) {
+ return base.Channel.GetCraftURLAsync(Specificationinfo);
+ }
+ }
+}
diff --git a/FactorySystemApi/Connected Services/Plm_WebSite/Reference.svcmap b/FactorySystemApi/Connected Services/Plm_WebSite/Reference.svcmap
new file mode 100644
index 0000000..6ce4b8d
--- /dev/null
+++ b/FactorySystemApi/Connected Services/Plm_WebSite/Reference.svcmap
@@ -0,0 +1,32 @@
+
+
+
+ false
+ true
+ true
+
+ false
+ false
+ false
+
+
+ true
+ Auto
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/FactorySystemApi/Connected Services/Plm_WebSite/configuration.svcinfo b/FactorySystemApi/Connected Services/Plm_WebSite/configuration.svcinfo
new file mode 100644
index 0000000..4b1a341
--- /dev/null
+++ b/FactorySystemApi/Connected Services/Plm_WebSite/configuration.svcinfo
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/FactorySystemApi/Connected Services/Plm_WebSite/configuration91.svcinfo b/FactorySystemApi/Connected Services/Plm_WebSite/configuration91.svcinfo
new file mode 100644
index 0000000..ec4f977
--- /dev/null
+++ b/FactorySystemApi/Connected Services/Plm_WebSite/configuration91.svcinfo
@@ -0,0 +1,310 @@
+
+
+
+
+
+
+ OAServiceSoap
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ StrongWildcard
+
+
+
+
+
+ 65536
+
+
+
+
+
+
+
+
+ System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ System.Text.UTF8Encoding
+
+
+ Buffered
+
+
+
+
+
+ Text
+
+
+ System.ServiceModel.Configuration.BasicHttpSecurityElement
+
+
+ Transport
+
+
+ System.ServiceModel.Configuration.HttpTransportSecurityElement
+
+
+ None
+
+
+ None
+
+
+ System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement
+
+
+ Never
+
+
+ TransportSelected
+
+
+ (集合)
+
+
+
+
+
+ System.ServiceModel.Configuration.BasicHttpMessageSecurityElement
+
+
+ UserName
+
+
+ Default
+
+
+
+
+
+
+ OAServiceSoap1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ StrongWildcard
+
+
+
+
+
+ 65536
+
+
+
+
+
+
+
+
+ System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ System.Text.UTF8Encoding
+
+
+ Buffered
+
+
+
+
+
+ Text
+
+
+ System.ServiceModel.Configuration.BasicHttpSecurityElement
+
+
+ None
+
+
+ System.ServiceModel.Configuration.HttpTransportSecurityElement
+
+
+ None
+
+
+ None
+
+
+ System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement
+
+
+ Never
+
+
+ TransportSelected
+
+
+ (集合)
+
+
+
+
+
+ System.ServiceModel.Configuration.BasicHttpMessageSecurityElement
+
+
+ UserName
+
+
+ Default
+
+
+
+
+
+
+
+
+ https://plmtest.hbflavor.com/PlmWebService/OAService.asmx
+
+
+
+
+
+ basicHttpBinding
+
+
+ OAServiceSoap
+
+
+ Plm_WebSite.OAServiceSoap
+
+
+ System.ServiceModel.Configuration.AddressHeaderCollectionElement
+
+
+ <Header />
+
+
+ System.ServiceModel.Configuration.IdentityElement
+
+
+ System.ServiceModel.Configuration.UserPrincipalNameElement
+
+
+
+
+
+ System.ServiceModel.Configuration.ServicePrincipalNameElement
+
+
+
+
+
+ System.ServiceModel.Configuration.DnsElement
+
+
+
+
+
+ System.ServiceModel.Configuration.RsaElement
+
+
+
+
+
+ System.ServiceModel.Configuration.CertificateElement
+
+
+
+
+
+ System.ServiceModel.Configuration.CertificateReferenceElement
+
+
+ My
+
+
+ LocalMachine
+
+
+ FindBySubjectDistinguishedName
+
+
+
+
+
+ False
+
+
+ OAServiceSoap
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/FactorySystemApi/Controllers/PlmApiController.cs b/FactorySystemApi/Controllers/PlmApiController.cs
new file mode 100644
index 0000000..9be79f9
--- /dev/null
+++ b/FactorySystemApi/Controllers/PlmApiController.cs
@@ -0,0 +1,106 @@
+using FactorySystemCommon;
+using FactorySystemModel.ResponseModel;
+using System.Collections.Generic;
+using System.Web.Http;
+using FactorySystemApi.Plm_WebSite;
+using FactorySystemBll;
+using FactorySystemModel.SqlSugarModel;
+using Newtonsoft.Json;
+
+namespace FactorySystemApi.Controllers
+{
+ ///
+ /// PLMؽӿ
+ ///
+ [UserLoginFilter]
+ public class PlmApiController : ApiController
+ {
+ ///
+ /// ȡָ
+ ///
+ ///
+ ///
+ [HttpPost]
+ public ApiResult GetPlmWebSite(Dictionary inParam)
+ {
+ ApiResult apiResult = new ApiResult();
+
+ if (inParam["teamId"] != null)
+ {
+ List specifList = new List() { new Specifications() };
+
+ return ExceptionHelper.TryReturnException(() => {
+ int teamId = int.Parse(inParam["teamId"].ToString()); ;
+ TFS_FTeamwork teamwork = BaseBll.GetTempModel(teamId);
+ TFS_Formula formula = BaseBll.GetTempModel(teamwork.FFormulaID);
+
+
+ specifList[0].SP = formula.FPlmCode;
+ specifList[0].SP_Version = formula.FVersionCode;
+
+ OAServiceSoapClient oAService = new OAServiceSoapClient();
+ RestResult restResult = oAService.GetCraftURL(specifList.ToArray());
+
+ if (restResult != null && restResult.data != null)
+ {
+ List> data = JsonConvert.DeserializeObject>>(restResult.data.ToString());
+ if (data != null && data.Count > 0)
+ {
+ apiResult.Data = data[0];
+ }
+ }
+ }, apiResult, Request, specifList);
+ }
+ else
+ {
+ return ExceptionHelper.TryReturnException(() => {
+ apiResult.Data = null;
+ }, apiResult, Request, inParam);
+ }
+ }
+
+ ///
+ /// ȡָӣ·ߣ
+ ///
+ ///
+ ///
+ [HttpPost]
+ public ApiResult GetPlmWebSiteInHalf(Dictionary inParam)
+ {
+ ApiResult apiResult = new ApiResult();
+
+ if (inParam["teamId"] != null)
+ {
+ List specifList = new List() { new Specifications() };
+
+ return ExceptionHelper.TryReturnException(() => {
+ int teamId = int.Parse(inParam["teamId"].ToString()); ;
+ TFS_HalfMaterialFTeamwork teamwork = BaseBll.GetTempModel(teamId);
+ TFS_Formula formula = BaseBll.GetTempModel(teamwork.FFormulaID);
+
+
+ specifList[0].SP = formula.FPlmCode;
+ specifList[0].SP_Version = formula.FVersionCode;
+
+ OAServiceSoapClient oAService = new OAServiceSoapClient();
+ RestResult restResult = oAService.GetCraftURL(specifList.ToArray());
+
+ if (restResult != null && restResult.data != null)
+ {
+ List> data = JsonConvert.DeserializeObject>>(restResult.data.ToString());
+ if (data != null && data.Count > 0)
+ {
+ apiResult.Data = data[0];
+ }
+ }
+ }, apiResult, Request, specifList);
+ }
+ else
+ {
+ return ExceptionHelper.TryReturnException(() => {
+ apiResult.Data = null;
+ }, apiResult, Request, inParam);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/FactorySystemApi/FactorySystemApi.csproj b/FactorySystemApi/FactorySystemApi.csproj
index 7aabac0..ccbce7d 100644
--- a/FactorySystemApi/FactorySystemApi.csproj
+++ b/FactorySystemApi/FactorySystemApi.csproj
@@ -186,6 +186,11 @@
+
+ True
+ True
+ Reference.svcmap
+
True
True
@@ -208,6 +213,7 @@
+
@@ -259,6 +265,25 @@
+
+ Reference.svcmap
+
+
+ Reference.svcmap
+
+
+ Reference.svcmap
+
+
+ Reference.svcmap
+
+
+
+
+
+ WCF Proxy Generator
+ Reference.cs
+
@@ -268,6 +293,7 @@
+
SettingsSingleFileGenerator
Settings.Designer.cs
@@ -412,6 +438,9 @@
+
+
+
10.0
$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
diff --git a/FactorySystemApi/Web.config b/FactorySystemApi/Web.config
index 2d977e7..8980e0b 100644
--- a/FactorySystemApi/Web.config
+++ b/FactorySystemApi/Web.config
@@ -137,22 +137,25 @@
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
@@ -166,6 +169,9 @@
+
\ No newline at end of file