协同路线旧半成品增加工艺路线和生产版本视图

master
Leo 2 years ago
parent ad812716cf
commit dee8295cf2

@ -616,13 +616,19 @@ namespace FactorySystemApi.Controllers
ApiAuthInfo user = Request.Properties["token"] as ApiAuthInfo;
TFS_Formula formula = BaseBll.GetTempModel<TFS_Formula>(teamwork.FFormulaID);
OAService oAService = new OAService();
specifList[0].Code = formula.FTestCode;
specifList[0].Version = formula.FVersionCode;
//specifList[0].Code = formula.FTestCode;
//specifList[0].Version = formula.FVersionCode;
specifList[0].SP = formula.FPlmCode;
specifList[0].SP_Version = formula.FVersionCode;
RestResult restResult = oAService.GetSpecificationsList(specifList.ToArray());
InputSpecifications oaParam = new InputSpecifications();
oaParam.USERNAME = AppSettingsHelper.GetAppSettingVal("Plm_Formula_Username");
oaParam.PASSWORD = AppSettingsHelper.GetAppSettingVal("Plm_Formula_Password"); ;
oaParam.Specifications = specifList.ToArray();
RestResult restResult = oAService.GetSpecificationsList(oaParam);
string bomStr = restResult.data == null ? "[]" : restResult.data.ToString();
ExceptionHelper.AddSystemJournal(Request, specifList[0], restResult,user.FID, "DockGetBomData");
List<BomModel> bomList = JsonConvert.DeserializeObject<List<BomModel>>(bomStr);
@ -691,14 +697,19 @@ namespace FactorySystemApi.Controllers
TFS_Formula formula = BaseBll.GetTempModel<TFS_Formula>(string.Format("FTestCode='{0}'", teamwork.FNewTestCode));
OAService oAService = new OAService();
//specifList[0].Code = teamwork.FPlmCode;
specifList[0].Code = formula.FPlmCode;
specifList[0].Version = formula.FVersionCode;
//specifList[0].Code = formula.FPlmCode;
//specifList[0].Version = formula.FVersionCode;
specifList[0].SP = formula.FPlmCode;
specifList[0].SP_Version = formula.FVersionCode;
RestResult restResult = oAService.GetSpecificationsList(specifList.ToArray());
InputSpecifications oaParam = new InputSpecifications();
oaParam.USERNAME = AppSettingsHelper.GetAppSettingVal("Plm_Formula_Username");
oaParam.PASSWORD = AppSettingsHelper.GetAppSettingVal("Plm_Formula_Password"); ;
oaParam.Specifications = specifList.ToArray();
RestResult restResult = oAService.GetSpecificationsList(oaParam);
string bomStr = restResult.data == null ? "[]" : restResult.data.ToString();
ExceptionHelper.AddSystemJournal(Request, specifList[0], restResult, userId, "DockGetBomData");
List<BomModel> bomList = JsonConvert.DeserializeObject<List<BomModel>>(bomStr);

@ -481,14 +481,20 @@ namespace FactorySystemApi.Controllers
ApiAuthInfo user = Request.Properties["token"] as ApiAuthInfo;
TFS_Formula formula = BaseBll.GetTempModel<TFS_Formula>(teamwork.FFormulaID);
OAService oAService = new OAService();
specifList[0].Code = formula.FTestCode;
specifList[0].Version = formula.FVersionCode;
//specifList[0].Code = formula.FTestCode;
//specifList[0].Version = formula.FVersionCode;
//修改
specifList[0].SP = formula.FPlmCode;
specifList[0].SP_Version = formula.FVersionCode;
RestResult restResult = oAService.GetSpecificationsList(specifList.ToArray());
InputSpecifications oaParam = new InputSpecifications();
oaParam.USERNAME = AppSettingsHelper.GetAppSettingVal("Plm_Formula_Username");
oaParam.PASSWORD = AppSettingsHelper.GetAppSettingVal("Plm_Formula_Password"); ;
oaParam.Specifications = specifList.ToArray();
RestResult restResult = oAService.GetSpecificationsList(oaParam);
string bomStr = restResult.data == null ? "[]" : restResult.data.ToString();
ExceptionHelper.AddSystemJournal(Request, specifList[0], restResult,user.FID, "DockGetBomData");
List<BomModel> bomList = JsonConvert.DeserializeObject<List<BomModel>>(bomStr);
@ -558,14 +564,20 @@ namespace FactorySystemApi.Controllers
OAService oAService = new OAService();
//specifList[0].Code = formula.FTestCode;
specifList[0].Code = formula.FPlmCode;
specifList[0].Version = formula.FVersionCode;
//specifList[0].Code = formula.FPlmCode;
//specifList[0].Version = formula.FVersionCode;
//修改
specifList[0].SP= formula.FPlmCode;
specifList[0].SP_Version= formula.FVersionCode;
RestResult restResult = oAService.GetSpecificationsList(specifList.ToArray());
InputSpecifications oaParam = new InputSpecifications();
oaParam.USERNAME = AppSettingsHelper.GetAppSettingVal("Plm_Formula_Username");
oaParam.PASSWORD = AppSettingsHelper.GetAppSettingVal("Plm_Formula_Password"); ;
oaParam.Specifications = specifList.ToArray();
RestResult restResult = oAService.GetSpecificationsList(oaParam);
string bomStr = restResult.data == null ? "[]" : restResult.data.ToString();
ExceptionHelper.AddSystemJournal(Request, specifList[0], restResult, userId, "DockGetBomData");
List<BomModel> bomList = JsonConvert.DeserializeObject<List<BomModel>>(bomStr);

@ -228,7 +228,7 @@ namespace FactorySystemApi.Controllers
FID = 4,
//FName = "李洪伟",
//FUser = "HB1100283",
FName = "oatest2",
FName = "oatest1",
FUser = "Hb12345678",
FExpireTime = DateTime.Now.AddDays(100).ToString("yyyy-MM-dd HH:mm:ss")
};

@ -423,10 +423,10 @@
<CachedAppSettingsObjectName>Settings</CachedAppSettingsObjectName>
<CachedSettingsPropName>FactorySystemApi_Sap_Material1_si_mm100_mcs_senderService</CachedSettingsPropName>
</WebReferenceUrl>
<WebReferenceUrl Include="https://plm.hbflavor.com/PlmWebService/OAService.asmx">
<WebReferenceUrl Include="https://plmtest.hbflavor.com/PlmWebService/OAService.asmx">
<UrlBehavior>Dynamic</UrlBehavior>
<RelPath>Web References\Plm_Formula\</RelPath>
<UpdateFromURL>https://plm.hbflavor.com/PlmWebService/OAService.asmx</UpdateFromURL>
<UpdateFromURL>https://plmtest.hbflavor.com/PlmWebService/OAService.asmx</UpdateFromURL>
<ServiceLocationURL>
</ServiceLocationURL>
<CachedDynamicPropName>

@ -12,7 +12,7 @@ namespace FactorySystemApi.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.4.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.6.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@ -33,16 +33,6 @@ namespace FactorySystemApi.Properties {
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
[global::System.Configuration.DefaultSettingValueAttribute("https://plm.hbflavor.com/PlmWebService/OAService.asmx")]
public string Plm_Formula {
get {
return ((string)(this["Plm_Formula"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("http://sappoqas.hbglobal.com:50000/XISOAPAdapter/MessageServlet?senderParty=&send" +
@ -77,5 +67,15 @@ namespace FactorySystemApi.Properties {
return ((string)(this["Sap_Group"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
[global::System.Configuration.DefaultSettingValueAttribute("https://plmtest.hbflavor.com/PlmWebService/OAService.asmx")]
public string Plm_Formula {
get {
return ((string)(this["Plm_Formula"]));
}
}
}
}

@ -5,9 +5,6 @@
<Setting Name="WeChatMsg" Type="(Web Service URL)" Scope="Application">
<Value Profile="(Default)">http://dd.hbflavor.com:28888/PlmMsg/SendPLMMsgInterface.asmx</Value>
</Setting>
<Setting Name="Plm_Formula" Type="(Web Service URL)" Scope="Application">
<Value Profile="(Default)">https://plm.hbflavor.com/PlmWebService/OAService.asmx</Value>
</Setting>
<Setting Name="Sap_Material" Type="System.String" Scope="Application">
<Value Profile="(Default)">http://sappoqas.hbglobal.com:50000/XISOAPAdapter/MessageServlet?senderParty=&amp;senderService=ZMCS_FLAVOR&amp;receiverParty=&amp;receiverService=&amp;interface=si_mm100_mcs_sender&amp;interfaceNamespace=http%3A%2F%2Fwww.zmc.com%2Fflavor%2Fmm</Value>
</Setting>
@ -17,5 +14,8 @@
<Setting Name="Sap_Group" Type="(Web Service URL)" Scope="Application">
<Value Profile="(Default)">http://sappoqas.hbglobal.com:50000/XISOAPAdapter/MessageServlet?senderParty=&amp;senderService=ZMCS_FLAVOR&amp;receiverParty=&amp;receiverService=&amp;interface=si_pp071_mcs_sender&amp;interfaceNamespace=http%3A%2F%2Fwww.zmc.com%2Fflavor%2Fpp</Value>
</Setting>
<Setting Name="Plm_Formula" Type="(Web Service URL)" Scope="Application">
<Value Profile="(Default)">https://plmtest.hbflavor.com/PlmWebService/OAService.asmx</Value>
</Setting>
</Settings>
</SettingsFile>

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
<discovery xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.xmlsoap.org/disco/">
<contractRef ref="https://plmtest.hbflavor.com/PlmWebService/OAService.asmx?wsdl" docRef="https://plmtest.hbflavor.com/PlmWebService/OAService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
<soap address="https://plmtest.hbflavor.com/PlmWebService/OAService.asmx" xmlns:q1="http://tempuri.org/" binding="q1:OAServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
<soap address="https://plmtest.hbflavor.com/PlmWebService/OAService.asmx" xmlns:q2="http://tempuri.org/" binding="q2:OAServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:definitions xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:tns="http://tempuri.org/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
<s:element name="CreateMaterialSpec">
@ -98,8 +98,8 @@
</s:complexType>
<s:complexType name="Specifications">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Version" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="SP" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="SP_Version" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexType name="OAProject">
@ -185,10 +185,17 @@
<s:element name="GetSpecificationsList">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Specificationinfo" type="tns:ArrayOfSpecifications" />
<s:element minOccurs="0" maxOccurs="1" name="Specificationinfo" type="tns:InputSpecifications" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="InputSpecifications">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="USERNAME" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="PASSWORD" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Specifications" type="tns:ArrayOfSpecifications" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfSpecifications">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Specifications" nillable="true" type="tns:Specifications" />
@ -201,6 +208,30 @@
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetCraftURL">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Specificationinfo" type="tns:ArrayOfSpecifications" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetCraftURLResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetCraftURLResult" type="tns:RestResult" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="test">
<s:complexType />
</s:element>
<s:element name="testResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="testResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
<wsdl:message name="CreateMaterialSpecSoapIn">
@ -236,6 +267,18 @@
<wsdl:message name="GetSpecificationsListSoapOut">
<wsdl:part name="parameters" element="tns:GetSpecificationsListResponse" />
</wsdl:message>
<wsdl:message name="GetCraftURLSoapIn">
<wsdl:part name="parameters" element="tns:GetCraftURL" />
</wsdl:message>
<wsdl:message name="GetCraftURLSoapOut">
<wsdl:part name="parameters" element="tns:GetCraftURLResponse" />
</wsdl:message>
<wsdl:message name="testSoapIn">
<wsdl:part name="parameters" element="tns:test" />
</wsdl:message>
<wsdl:message name="testSoapOut">
<wsdl:part name="parameters" element="tns:testResponse" />
</wsdl:message>
<wsdl:portType name="OAServiceSoap">
<wsdl:operation name="CreateMaterialSpec">
<wsdl:input message="tns:CreateMaterialSpecSoapIn" />
@ -253,6 +296,14 @@
<wsdl:input message="tns:GetSpecificationsListSoapIn" />
<wsdl:output message="tns:GetSpecificationsListSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetCraftURL">
<wsdl:input message="tns:GetCraftURLSoapIn" />
<wsdl:output message="tns:GetCraftURLSoapOut" />
</wsdl:operation>
<wsdl:operation name="test">
<wsdl:input message="tns:testSoapIn" />
<wsdl:output message="tns:testSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="OAServiceSoap" type="tns:OAServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
@ -295,6 +346,24 @@
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetCraftURL">
<soap:operation soapAction="http://tempuri.org/GetCraftURL" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="test">
<soap:operation soapAction="http://tempuri.org/test" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="OAServiceSoap12" type="tns:OAServiceSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
@ -337,6 +406,24 @@
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetCraftURL">
<soap12:operation soapAction="http://tempuri.org/GetCraftURL" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="test">
<soap12:operation soapAction="http://tempuri.org/test" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="OAService">
<wsdl:port name="OAServiceSoap" binding="tns:OAServiceSoap">

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

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<DiscoveryClientResultsFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<DiscoveryClientResultsFile xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Results>
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="https://plmtest.hbflavor.com/PlmWebService/OAService.asmx?wsdl" filename="OAService.wsdl" />
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="https://plmtest.hbflavor.com/PlmWebService/OAService.asmx?disco" filename="OAService.disco" />

@ -12,11 +12,13 @@
<appSettings>
<add key="ApiAuthSecretKey" value="zhkxfs" />
<!--<add key="ConnectionString" value="server=49.235.68.145,3456;uid=sa;pwd=zhenxuan@2019;database=FactorySystem" />-->
<add key="ConnectionString" value="server=192.168.8.156,12580;uid=tfs;pwd=tfs2022;database=FactorySystem" />
<!--<add key="ConnectionString" value="server=120.55.81.57;uid=sa;pwd=1qaz@WSX;database=FactorySystem" />-->
<!--<add key="ConnectionString" value="server=192.168.8.156,12580;uid=tfs;pwd=tfs2022;database=FactorySystem" />-->
<add key="ConnectionString" value="server=120.55.81.57;uid=sa;pwd=1qaz@WSX;database=FactorySystem" />
<add key="Sap_UserName" value="mcs_con" />
<add key="Sap_Upload_UserName" value="plm_com" />
<add key ="Plm_Formula_Username" value="PFWL"/>
<add key ="Plm_Formula_Password" value="610F64FD-9645-4ABE-AFFC-0A6905D2760F"/>
<add key="SendWeChatMsg" value="1" />
@ -27,8 +29,8 @@
<add key="Cas_ReUrl" value="http://2.0.1.18:3000" />
<!--<add key="Mdm_Token" value="ac9b7db8-9661-461d-b5b2-ed66f33a1d69" />-->
<add key="Mdm_Token" value="f03ef92e-c5ae-414a-bb4c-0a21dfdc9795" />
<add key="Mdm_Url" value="http://121.37.176.178/iuapmdm/cxf/mdmrs/newcenter/newCenterService/insertMd" />
<add key="Mdm_Token" value="a44d2d12-ff95-41db-a7f3-302fc05ab82e" />
<add key="Mdm_Url" value="http://10.10.141.80:8080/iuapmdm/cxf/mdmrs/newcenter/newCenterService/insertMd" />
<add key="Mdm_Tid" value="tenan" />
<!--发送微信消息1是0否-->
@ -120,10 +122,6 @@
<setting name="WeChatMsg" serializeAs="String">
<value>http://dd.hbflavor.com:28888/PlmMsg/SendPLMMsgInterface.asmx</value>
</setting>
<setting name="Plm_Formula" serializeAs="String">
<!--<value>https://plm.hbflavor.com/PlmWebService/OAService.asmx</value>-->
<value>http://10.10.132.12/PlmWebService/OAService.asmx</value>
</setting>
<setting name="Sap_Material" serializeAs="String">
<value>http://sappoqas.hbglobal.com:50000/XISOAPAdapter/MessageServlet?senderParty=&amp;senderService=ZMCS_FLAVOR&amp;receiverParty=&amp;receiverService=&amp;interface=si_mm100_mcs_sender&amp;interfaceNamespace=http%3A%2F%2Fwww.zmc.com%2Fflavor%2Fmm</value>
</setting>
@ -133,6 +131,9 @@
<setting name="Sap_Group" serializeAs="String">
<value>http://sappoqas.hbglobal.com:50000/XISOAPAdapter/MessageServlet?senderParty=&amp;senderService=ZMCS_FLAVOR&amp;receiverParty=&amp;receiverService=&amp;interface=si_pp071_mcs_sender&amp;interfaceNamespace=http%3A%2F%2Fwww.zmc.com%2Fflavor%2Fpp</value>
</setting>
<setting name="Plm_Formula" serializeAs="String">
<value>https://plmtest.hbflavor.com/PlmWebService/OAService.asmx</value>
</setting>
</FactorySystemApi.Properties.Settings>
</applicationSettings>
<system.serviceModel>

@ -542,6 +542,8 @@ namespace FactorySystemBll
}
else
{
proSql += string.Format("update TFS_FTeamwork set FViewType=FViewType+',3,4' where FID={0};", teamInfo.FID);
BaseBll.CreateTaskData(teamInfo.FID, userId, "8");
proSql += BaseBll.GetProcessSql(teamInfo.FID, (int)Constant.ProcessType., "F2", 2);
proSql += BaseBll.GetProcessSql(teamInfo.FID, (int)Constant.ProcessType., "F4", 2);
proSql += BaseBll.GetProcessSql(teamInfo.FID, (int)Constant.ProcessType., "F4", 2);

Loading…
Cancel
Save